Skip to content

Gui13/belle-sip

Repository files navigation

Overview
********

Belle-sip is a SIP (RFC3261) implementation written in C, with an object oriented API.
Please check "NEWS" file for an overview of current features.
Copyright 2012-2014, Belledonne Communications SARL <contact@belledonne-communications.com>, all rights reserved.

Belle-sip is distributed to everyone under the GNU GPLv2 (see COPYING file for details).
Incorporating belle-sip within a closed source project is not possible under the GPL.
Commercial licensing can be purchased for that purpose from Belledonne Communications (http://www.belledonne-communications.com).

Dependencies
************
*libtool
*intltool
*pkg-config
*libantlr3c-3.2 or 3.4
*antlr3-3.2 or 3.4
*C++ compiler (for instance g++ or clang++)
Newer versions won't compile.

Optional:
*CUinit-2.x
*polarssl>=1.2

Here is the command line to get these dependencies installed for Ubuntu && Debian:
	# apt-get install libtool intltool pkg-config libantlr3c-dev antlr3 g++ make 

	+ for optional library
	# apt-get install libcunit1-dev libpolarssl-dev


On windows you have to edit /usr/local/include/antl3defs.h
replace:
#include <winsock.h>
by:
#include <winsock2.h>

Or get the source code from linphone's git (linphone branch):
git clone -b linphone git://git.linphone.org/antlr3.git
git clone -b linphone git://git.linphone.org/cunit.git

* Building polarssl
Polarssl build system is Make (or Cmake). To build the shared library version, use "make SHARED=1 DEBUG=1", followed by "make install".
We maintain a branch of polarssl with automake/autoconf/libtool support at git://git.linphone.org/polarssl.git -b linphone

Prequisites
***********
You must jave 'java' in your PATH.


Build with mingw
****************
* Compile and install libantlr3c, CUnit with ./configure && make && make install
* Compile belle-sip.

Build with Visual Studio
************************
The procedure is tested for Visual Studio Express 2012.

* get antlr3 from linphone's git server (see above). This version contains up to date visual studio project and solution files.
* get CUnit from linphone's git server (see above). This version contains up to date visual studio project and solution files.
* put belle-sip next to antlr3 and to cunit (in the same directory).
* open belle-sip/build/windows/belle-sip-tester/belle-sip-tester.sln or belle-sip/build/windows/belle-sip/belle-sip.sln
* Build the solution (antlr3 and cunit are built automatically)



About

Unofficial/unsupported Belle-sip mirror, for the real one see www.linphone.org.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages