我需要使用仅支持音频的 WPF 接口用 C# 编写 VoIP/SIP 软电话。
我需要进行呼叫转接、呼叫会议以及将对话录制成 mp3。
我查看过 ABTO LLC 的 VoIP SDK,但应用程序启动时速度很慢(启动应用程序需要 30 秒,我认为这与加载此 sdk 的 activex 部分有关)。
我也研究过 SIP.Net,但它仅适用于 SIP,不包含用于语音数据传输的组件。
我从零到完全运行应用程序的时间非常有限,只有两个月。
我可以使用什么 SDK 来完成此任务?
必须支持 Windows 7。
I need to write VoIP/SIP Soft Phone in C# using WPF interface with Audio support only.
I need to have call transfer, call conference, and recording of conversations in mp3.
I've looked at VoIP SDK from ABTO LLC, but it is slow at application startup (30 seconds to start application, I think it's related to loading activex part of this sdk).
I've also looked at SIP.Net, but it's only for SIP and doesn't contain components for voice data transfer.
I have very limited time only 2 months from zero to fully working app.
What SDK can I use to accomplish this task?
Windows 7 must be supported.
发布评论
评论(3)
我们使用 SipekSDK 完成了这项工作。它是在著名的 pjSIP 开源 SIPClient 项目之上编写的。它执行您在问题中提到的所有操作。
https://sites.google.com/site/sipekvoip/
We have done this using SipekSDK. It's written on top of famous pjSIP open source SIPClient project. It does all the operations you have mentioned in the question.
https://sites.google.com/site/sipekvoip/
您要使用什么 SIP 服务器?如果不是星号,您可以查看微软的 Lync 此处。
您可以下载 Lync SDK 并开始探索。不仅仅是音频通话,Microsoft Lync 还具有视频通话、聊天、在线状态、会议等功能......当然还有通过 VoIP 提供商连接到固定电话/PSTN
另一篇有趣的文章解释了用于统一通信的不同 SDK 可以找到此处
编辑:如果是用于 Asterisk,Sipek 是唯一可用的免费开源软件,但我们在客户端系统中安装时遇到了很多问题,例如
支持
其他 voip 应用程序(例如 qutecom)运行在
5060,那么 Sipek 就不会作为
端口已被使用。
What is the Sip server you are going to use ? If its not asterisk, you can have a look of microsoft's Lync here.
You can download the Lync SDK and start exploring. Not just the audio call, Microsoft Lync has features like video call, chat, presence, conference etc.... and ofcourse connectivity to landline/pstn through voip providers
Another interesting article explaining the different SDKs for unified communications can be found here
Edit: If its for Asterisk, Sipek is the only available free opensource but we had lot of problems in installing in clients system like
support
other voip app like qutecom runs on
5060, then Sipek wont run as the
port is being used already.
我一直在努力解决这个问题,最终遇到了 ABTO LLC。
他们有一个可用的 SDK,支持 Win 7、Win XP,并且可以在 WPF 中使用。
我们确实要求他们为我们构建一个单独的 SDK 示例,因为我们使用 ClickOnce 进行部署,因此注册外部库是不可能的,但他们慷慨地做到了,我认为已经集成到他们的 SDK 中,如果没有,请他们提供给你。
我们正在使用 FreeSwitch SIP 服务器与 ABTO 的库相结合,它的工作就像做梦一样。我们正在做 VoIP、视频和会议,没有遇到任何问题。
我添加了 VoIP 功能的应用程序是 WPF 4 应用程序。
I struggled with this exact issue and eventually came across ABTO LLC.
They have an SDK available that supports Win 7, Win XP and can be used in WPF.
We did ask them though to build a separate SDK example for us as we are using ClickOnce for our deployments and so registering external libraries is impossible, but they graciously did it and i think have integrated into their SDK, if not then ask them to give it to you.
We are using a FreeSwitch SIP Server combined with ABTO's library and it is working like a dream. We are doing VoIP, Video and Conferencing and have had no issues at all.
The application I added the VoIP functionality to is a WPF 4 app.