Customized sip server to be used with doubang's idoubs - ios

I wish to use a VOIP SIP service for video and audio calls. After researching this I found out that doubang is a flexible framework for voip client.
I want to build an app which requires to connect to a customized SIP server for the communication (registration will be the process where user will be provided with an unique identifier with which user can communicate with others through the sip server). My question is can doubang's idoubs voip client communicate with other users using my sip server or it will use its own resource for that.
I am in need of all features like voice call, video call, Instant Messaging, SMS.
Is there any other framework which satisfies my needs?

You could consider linphone a multi-platform opens-source SIP client that is available on iOS among others.

Kamailio (http://www.kamailio.org/w/)... tried and tested ...

Related

Socket.io vs xmpp for a mobile chat app

I have to build a realtime chat app in iOS, which can later also have voice and video calling. I want to use a scalable and light weight solution integrated with the backend, making sure that the solution also supports calling in the future.
I'm not too sure if socket.io supports voice and video calls; Should I use that or xmpp? Or any other similar solution?
As it was written above socket.io is a chat server implementation using Websockets, while XMPP is a protocol.
I'd recommend using an XMPP chat server in this case.
For audio/video calls implementation you will need to implement signaling via XMPP to establish connection between the devices before the call.
Also for audio/video chat implementation you will need STUN/TURN/ICE server and you will need to add client-side implementation for passing media streams from peer-to-peer if you choose WebRTC peer-to-peer option.
There is an easier way as well. You can use a ready XMPP based server and SDK to build your app. For example, ConnectyCube provides such service.
They have a ready backend and SDKs you can use for building chat and audio/video chat apps. Also they already have a TURN server, so you do not need to worry about this part too.

Integrating PubNub WebRTC SDK for iOS

I Am stuck with integrating the PubNub WebRTC SDK for iOS application.
Its a JavaScript SDK. How To integrate this with my iOS app.
Thanks in advance.....
This does not directly answer the Objective-C implementation, but it might help with understanding the overall solution and the role that PubNub plays.
Why PubNub? - Signaling
WebRTC is not a standalone API, it needs a signaling service to coordinate communication. Metadata needs to be sent between callers before a connection can be established. This metadata includes information such as:
Session control messages to open and close connections
Error messages
Codecs/Codec settings, bandwidth and media types
Keys to establish a secure connection
Network data such as host IP and port
Once signaling has taken place, video/audio/data is streamed directly between clients, using WebRTC’s PeerConnection API. This peer-to-peer direct connection allows you to stream high-bandwidth robust data, such as video. HTML5Rocks provides a great guide on all things WebRTC (no need to read as it is summarize below).
PubNub makes this signaling incredibly simple, and in addition, gives you the power to do so much more with your WebRTC applications.
What PubNub is Not
PubNub is not a server for WebRTC. A signaling service specifies ICE servers that the video chat can stream over. Public STUN servers provided by google can be used, but they are not very reliable. STUN or TURN servers are required to circumnavigate a firewall, else chat will fail. Many services provide the “total package” of signaling and server in one, that is not PN. Our audience are the people who want to build their own, more custom service.
XirSys
XirSys already have a WebRTC-PubNub demo using rails on their GitHub. They host STUN and TURN servers catering to the needs of WebRTC.
Open Source
There are a few open source STUN and TURN server projects that can be downloaded and hosted with ease:
Amazon AWS VM: Pre-made ready to deploy
RFC5766 TURN: Google Code, TURN server
One-to-many: Instructions on MCU for 1-to-many media servers. Necessary for large group chats and streams with hundreds+ users.
So as you can see, we do not provide audio/video streaming services but if you are building this solution, PubNub is a necessary piece to tie it all together with the signal protocol.
AndroidRTC
And here is an PubNub AndroidRTC example by our interns.

is it possible communication between two clients of sip voip server withoust dialing phone number?

I want to develop sip voip application. I want to communicate between two users of sip voip server but not communication between our phone contact users. I have seen many example like siphon, linphone, idoubs but it is not direct communication between logged users of sip voip.
I don't want to dial and sms to our phone contact users. I want to only communication between sip user to user.
so, please give any suggestion or source code which is apply in my app.
Thank You...
Yes, you can create button on your softphone which will call pre-defined number.
You also can create users list and call from that list.
Or you can get any softphone with sip&jabber support and use that.

Asterisk registration programmatically

I am trying to implement Asterisk server for VOIP in an iPhone application.
I am able to register the user through manually, but I wanted to do the same thing programmatically. I am not sure but there might be some idea like sending through an HTTP request.
If you have any idea or pointer please share with me.
Thanks
I think the thing that you are looking for is called SIP client. You install the client on the iPhone and it will register to your SIP server (let it be Asterix or anything else). Then you can make VoIP calls between the clients registered contemporary, send instant messages, exchange files or even implement some custom protocol over SIP to exchange other type of data.
There are a lot of SIP client applications for iPhone, and even a couple of SIP stacks that is a framework that allows you to build your own SIP client application through its API calls, so you will have full control on everything. One of the most mature of these with iPhone support is pjsip. Check out their web site to see whether this is what you are looking for.
it is hard because is necessary modify the dial plan in order to add a sip account. but you can program a web service that read a text file with the extensions from your mobile.
it is nto fully clear from your desription what exactly you want, but probably this one will help
http://www.voip-info.org/wiki/view/Asterisk+auto-dial+out

Using OpenSIPS between iPods?

I'd like to work on a SIP project for mobile devices. I've seen links to Siphon, Sipdroid and OpenSIPS.
Does OpenSIPS allow for me to make phone calls between two iOS devices in a local network?
In other words, I'm trying to do an app for a VOIP company. I'd like to set up my own SIP server and then use theirs later. Is there any reason that it would not work?
OpenSIPS is a SIP server application that includes a variety of components that are often needed for a SIP infrastructure such as Registrar, Proxy, Presence Agent etc. What OpenSIPS is not is a SIP user agent (or at least not one that's designed to work with a person as the end user). That means it's not built to make or receive calls.
If you are planning on using OpenSIPS as the SIP Proxy on your network combined with a different piece of software, such as Sipdroid, acting as the user agent on your mobile devices then the answer to your question is yes. You will be able to configure OpenSIPS to allow calls between devices on the same local network.

Resources