Implement SIP Functions in IOS5

I want to create an iPhone app that has the ability to make SIP (VoIP) calls, but at the moment I have no idea how to get started.

Does anyone have any information on this topic, or perhaps a demo project that I can use to implement SIP functions?

Thanks in advance!

+6
source share
3 answers

You have a long and interesting way ahead. :-).

  • You will need to select the SIP library to build the application on top of. There are many open source open source SIP stacks, and some of them even have xcode projects for Mac OS and iOS. You can watch ReSIPRocate , PJSip , SIP SIP , or oSIP / exoSIP .

  • You need to build logic around this sip stack, which will allow you to manage broadcast sessions and process all possible call scenarios that you want to support, configure and manage the audio channels for these calls, etc. Some of the above SIP stacks have more functionality than others. There are also many companies selling iOS toolkits built on top of these open source SIP stacks to make your work easier.

  • You need to integrate this SIP stack with iOS. This means connecting and managing your iOS application to your (likely) C-based CIP stack. Apple offers a very short set of proposals for developing a VoIP application in its documentation for iOS developers for developers ( Advanced App Tricks ), which contains recommendations for creating a background and audio channels.

  • Testing using a SIP server and other SIP clients. Create an Asterisk / Freeswitch window and register SIP clients for it, including the iOS SIP client client and other desktop-based SIP phones (XLite is a good option to use). Try all the call scripts you want to support.

As for daemons, there is an open source iPhone app called PJSIP-based siphone, which has a free download source: http://code.google.com/p/siphon/

I would also look at some of the SIP applications that are currently in the app store. These include Bria, Acrobits, Fring, Truphone, iSIP, etc.

+14
source

I know this a little late, but for future reference; An alternative SIP stack with which we had good experience is the Linphone project .

As is the case with some of the stacks that were mentioned earlier, this stack is very suitable if you plan to code other OSs (for example, Android).

+4
source

Check out this link below. You will get the source code from there and can build for both the device and the simulator.

https://github.com/radif/SIPHON-SIP-Client-that-actually-compiles

+3
source

Source: https://habr.com/ru/post/920314/


All Articles