0

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.

kasyauqi
  • 635
  • 1
  • 6
  • 17

2 Answers2

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.

  • Thanks a lot for the answer Alexei. I managed to create a simple app that perform outgoing call with PJSIP in windows 8 (thanks to your suggestion in previous answer). It worked fine and I'm planning to dive in further into PJSIP to create full-fledged app. But, now that you mention PJSIP doesn't use background agent, how does this will affect the SIP app? You mention that it is impossible to use in existing application but the simple app I created can work. Where do I miss? – kasyauqi Jul 01 '14 at 02:01
  • In an app for Windows Phone (not Windows 8) without background agent you can not: talk in a closed app, receive incoming calls, use the earpiece. – Alexei Gorbatyy Jul 01 '14 at 04:48
  • Hi Alexei. Could you please let me know how pjsip should use the background agents? – Houston Jul 31 '14 at 15:54
  • I tried to integrate in PJSIP into chatterbox, but so far no positive results achieved. – Alexei Gorbatyy Aug 04 '14 at 06:51
0

You must use SIP native library, eg PJSIP

  • 1
    This answer is too short to be useful. You should at least include a link to the library, or comment why this would solve the problem: the OP asks why a particular method connects to the actual SIP server; how is this related to non-native libraries? – logc Jun 05 '14 at 08:11