问题
I'm trying to learn to develop SIP client for Windows Phone 8.1 (following this example).
The example mentions to call:
Windows.Phone.Networking.Voip.VoipCallCoordinator.RequestNewOutgoingCall()
to perform outgoing call. However, from the documentation, RequestNewOutgoingCall is to "Notifies the system of a new outgoing call." Not to connect to the actual SIP server.
Anyone knows how to connect to the desired SIP server? Thanks.
回答1:
Microsoft does not provide ready solutions for SIP call. You must use one of the existing third-party components. Existing SIP frameworks have rather poor version for Widows Phone:
PJSIP - library does not use background agent that makes it impossible to use it in an existing application.
Doubango - code rather poorly supported, so the latest versions (during last 6 months) contain errors, which not allow using this framework. Not implemented some of popular components - for example: Acoustic Echo Canceller.
We use custom Doubango library.
回答2:
You must use SIP native library, eg PJSIP
来源:https://stackoverflow.com/questions/23908847/perform-sip-call-from-windows-phone-8-1