SipXdebian

From SipXtapi

Jump to: navigation, search

Ubuntu/Debian Install Dependencies

Development setup for sipX on Linux


 apt-get install g++ subversion git gdb make libpcre3-dev autoconf automake libtool pkg-config valgrind libasound2-dev alsa-utils libssl-dev patch libspeex-dev libspandsp-dev bc

If you want to use codecs from FFMPEG like AAC (IPR Licencing may be required):

 apt-get install yasm

Create and set ownership of sipx install dir This is useful to avoid have to sudo on the make installs

 mkdir /usr/local/sipx

Replace dpetrie with your user id in the command below:

 chown dpetrie.dpetrie /usr/local/sipx

Check out sipX

 mkdir ~/dev
 cd ~/dev
 svn checkout https://sipxsvn.sipez.com/rep/sipX/main sipX

Create configure scripts: (Patching of the configure script is required for autoconf version >=2.69)

 cd sipX
 for dir in sipXportLib sipXsdpLib sipXtackLib sipXmediaLib sipXmediaAdapterLib sipXcallLib
 do
   cd $dir
   autoreconf -if
   patch configure < ../configure.patch
   cd ..
 done

Configure build options

 cd sipXportLib
 ./configure --without-openssl --without-cppunit
 cd ../sipXsdpLib
 ./configure --without-openssl --without-cppunit
 cd ../sipXtackLib
 ./configure --without-openssl --disable-sipviewer
 cd ../sipXmediaLib
 ./configure --without-openssl --disable-stream-player --enable-contrib-speex --enable-speex-dsp --enable-codec-speex --enable-codec-amr --enable-codec-amrwb --enable-codec-g726 --enable-codec-ilbc --enable-codec-gsm --enable-codec-opus --enable-codec-g722 --enable-local-audio
 cd ../sipXmediaAdapterLib
 ./configure --without-openssl --enable-contrib-speex --enable-speex-dsp --enable-codec-speex --enable-topology-graph --disable-stream-player --enable-alsa-audio
 cd ../sipXcallLib
 ./configure --without-openssl --enable-placecall --enable-receivecall 

Make

 for dir in sipXportLib sipXsdpLib sipXtackLib sipXmediaLib sipXmediaAdapterLib sipXcallLib
 do
   cd $dir
   make tests
   cd ..
 done
Personal tools