Skip to content

DeveloperQuickstart

Scott Godin edited this page Jan 29, 2021 · 3 revisions

Table of Contents

Using reSIProcate as a library

  • 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

  • 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

 $ 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

  • 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

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

Becoming a contributor

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

Clone this wiki locally