tags:

views:

270

answers:

6

Is there any widespread library's/API's that allow you to work with VoIP ? I mean like a VoIP version of sockets or something..

+1  A: 

This seems to be what you're looking for.

http://www.voip-info.org/wiki/view/oSIP+Library

John T
Do you have personal experience with this library?
dax
+1  A: 

Lots. The Java Media stuff works well too, assuming you're using Java.

Charlie Martin
The title would suggest he is using C.
Andrew
It does, but that doesn't mean it's the best choice. Or for that matter, that I caught what he meant at the time.
Charlie Martin
A: 

If you want to use SIP, I recommend eXosip ,GPL. This is a new library based on oSIP. It contains a high layer easier to use for implementing SIP End point.

Or you can use PJSIP

EG
A: 

If you need a high level interface, like sockets for network where you are not concerned about routing, addressing, reliability, etc. then I would recommend to stay far away from SIP libraries. The best way to gain an abstracted interface for voip is to install a PBX like FreeSwitch, Yate, or Asterisk and interface with that.

You will have a lot less problems with that than with oSIP and similar. If you're not familiar with SIP internals, then... it's a world of pain - don't go there.

viraptor
A: 

A list of SIP libraries is available from http://www.pernau.at/kd/voip/bookmarks-sip-stacks.html. Popular Windows SIP stacks in alphabetical order are:

antisip has a couple, amsip/eXosip2, works on Linux/Windows, GPL/commercial variants.

pjsip, works on Linux/Windows, GPL with commercial licensing available.

resiprocate, works on Linux/Windows, BSD-esque license.

Sofia-SIP, the only one I have experience with. It's a LGPL library by Nokia that's being used by Freeswitch and GNOME. Works on Linux/Windows.

It's C++, but Windows also has a SIP stack built-in for XP, Windows RTC API The author complained it had some incompatibility issues with other SIP stacks.

A: 

sipXTapi is a good choice too.

Gilson