DeveloperQuickstart

From reSIProcate
Jump to: navigation, search

Using reSIProcate as a library[edit]

  • On Linux, the quickest way to start may be using the packages on Debian, Ubuntu or Fedora
    • The dev/devel packages will install all the necessary headers for you.
  • If you need the latest code, if you are working on a platform without packages like Windows, see the instructions at the bottom

Customizing the repro SIP proxy[edit]

  • You may be able to make your changes in a plugin using C or Python
  • If you need the latest code or you want to make changes that can't be implemented as part of a plugin, see the instructions underneath

Build from source tarball[edit]

$ wget http://www.resiprocate.org/files/pub/reSIProcate/releases/resiprocate-${VERSION}.tar.gz
$ tar xzf resiprocate-${VERSION}.tar.gz
$ cd resiprocate-${VERSION}
$ ./configure
$ make
$ make check

For a more complete build, instead of the above configure command you can try:

$ ./configure --enable-ipv6 --with-ssl --with-geoip --with-tfm --with-repro --with-mysql --with-popt CXXFLAGS="-I`pwd`/contrib/cajun/include"

Building code from the repository[edit]

  • Note that working with the repository, you may need to run the autoreconf tool. That is not necessary when working with a release tarball.

Linux / command line users[edit]

For a basic build, you can try

$ git clone https://github.com/resiprocate/resiprocate
$ cd resiprocate
$ autoreconf -fi
$ ./configure
$ make -j12
$ make check

For a more complete build, instead of the above configure command you can try:

$ ./configure --enable-ipv6 --with-ssl --with-geoip --with-tfm --with-repro --with-mysql --with-popt CXXFLAGS="-I`pwd`/contrib/cajun/include"

Windows users[edit]

Becoming a contributor[edit]

Did you find a bug and would like to help fix it? See our guide to Contributing, everybody is welcome to participate.