iOS: Open Source VoIP/SIP Objective-C Code

IphoneObjective COpen SourceVoipSip

Iphone Problem Overview


I have been tasked with investigating the feasibility of writing an iPhone App to access our internal VoIP/SIP systems.

I've never coded anything close to VoIP before. Are there any open source VoIP/SIP libraries or examples in C or Objective-C?

An iOS App that I can skin and add our required features to (mainly UI related) would be the holy grail here.

Iphone Solutions


Solution 1 - Iphone

You may take a look at siphon (http://code.google.com/p/siphon/).

From their homepage:

> Home of the World's first free > SIP/VoIP application for iPhone and > iPod Touch 1 and 2. > > Siphon SIP/VoIP project is the first > in his category that works on iPhone > and iPod Touch 2 with headset for all > SIP providers. It is a native > application approved running on 2.X > using internal micro/speaker and > headset. > > The Application supports the SIP > standard, preserving compatibility > with hundreds of SIP providers and > offers a GUI which preserves the apple > design of native iPhone applications.

Solution 2 - Iphone

Although it's rather old thread, for reference I add here also pjsip: http://www.pjsip.org that has a quite mature iOS port nevertheless it is written in C and its API is also in C.

UPDATE as of 06/2021: please note that this answer was originally written 9 years ago. I completely off from VoIP development now and can't take any responsibility wether pjsip is still working on iOS or swift.

Solution 3 - Iphone


PORT SIP

If you are a new comer on VOIP i would suggest using simple sdk's like PORTSIP
It is free download.you can check the app and make calls and also play around with the call.It is payable only if you want to use it for business.PORTSIP sdk is very easy compared to other sdk's or open source projects.

-ves Not open source,offers less flexibility


LINPHONE

After you get hold of this you go for the open source projects Linphonen/PJSIP etc. Linphone offers high quality sound but is very complicated to integrate and very less documentation is available.you will have to build the project first.http://shallwelearn.com/blog/build-linphone-for-iphone-and-ipad/ (for IOS)

-ve s Very poor documentation


-PJSIP

Your best option is PJSIP which is very good with documentation and offers everything.Because you get code from scratch you can do anything with the code. I highly recommend PJSIP.But it is difficult to directly go and devolep in PJSIP ,what i would recommend is do sample stuff on simple projects like portsip and go for PJSIP

Solution 4 - Iphone

Also there's Linphone for iPhone: http://www.linphone.org/eng/linphone/news/linphone-for-iphone.html

> It supports G711, speex narrowband and wideband and iLBC codecs. Configured with your favourite SIP gateway it will allow you to run calls to PSTN numbers from your mobile using 3G or wifi

Solution 5 - Iphone

http://www.pjsip.org is not the most perfect. Video is available on PJSIP version 2.0 and later. Only desktop platforms are supported, mobile devices such as iOS are not yet supported. This document describes how to use the video feature with PJSIP.

Solution 6 - Iphone

Solution 7 - Iphone

I use siphon, try this:

os-mac  
ide-X

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionRichard StellingView Question on Stackoverflow
Solution 1 - IphonepgbView Answer on Stackoverflow
Solution 2 - IphoneMrTJView Answer on Stackoverflow
Solution 3 - IphoneSuraj K ThomasView Answer on Stackoverflow
Solution 4 - IphoneSimon WoodsideView Answer on Stackoverflow
Solution 5 - IphoneyijiankakaView Answer on Stackoverflow
Solution 6 - IphoneArpan DixitView Answer on Stackoverflow
Solution 7 - IphonepradipskytelView Answer on Stackoverflow