C++ implementation of SIP, ICE, TURN and related protocols
Switch branches/tags
versionTempRelease sipimp_0_3_1_rc1 sat_night_special resiprocate_2003_9_13_late_late_late resiprocate-20030909-0 resiprocate-1.12.0_beta1 resiprocate-1.12.0_alpha1 resiprocate-1.11.0_beta5 resiprocate-1.11.0_beta4 resiprocate-1.11.0_beta3 resiprocate-1.11.0_beta2 resiprocate-1.11.0_beta1 resiprocate-1.11.0_alpha11 resiprocate-1.11.0_alpha10 resiprocate-1.11.0_alpha9 resiprocate-1.11.0_alpha8 resiprocate-1.11.0_alpha7 resiprocate-1.11.0_alpha6 resiprocate-1.11.0_alpha5 resiprocate-1.11.0_alpha4 resiprocate-1.11.0_alpha3 resiprocate-1.11.0_alpha2 resiprocate-1.11.0_alpha1 resiprocate-1.10.2 resiprocate-1.10.1 resiprocate-1.10.0 resiprocate-1.10.0_beta2 resiprocate-1.10.0_beta1 resiprocate-1.10.0_alpha4 resiprocate-1.10.0_alpha3 resiprocate-1.10.0_alpha2 resiprocate-1.10.0_alpha1 resiprocate-1.9.11 resiprocate-1.9.10 resiprocate-1.9.9 resiprocate-1.9.8 resiprocate-1.9.7 resiprocate-1.9.6 resiprocate-1.9.5 resiprocate-1.9.4 resiprocate-1.9.3 resiprocate-1.9.2 resiprocate-1.9.1 resiprocate-1.9.0 resiprocate-1.8.14 resiprocate-1.8.13 resiprocate-1.8.12 resiprocate-1.8.11 resiprocate-1.8.10 resiprocate-1.8.9 resiprocate-1.8.8 resiprocate-1.8.7 resiprocate-1.8.6 resiprocate-1.8.5 resiprocate-1.8.4 resiprocate-1.8.3 resiprocate-1.8.2 resiprocate-1.8.1 resiprocate-1.8.0 resiprocate-1.7.1 resiprocate-1.7 resiprocate-1.6 resiprocate-1.5 resiprocate-1.5-RC1 resiprocate-1.4.1 resiprocate-1.4 resiprocate-1.4-RC1 resiprocate-1.3.4 resiprocate-1.3.3 resiprocate-1.3.2 resiprocate-1.3.1 resiprocate-1.3 resiprocate-1.3-RC1 resiprocate-1.2.3 resiprocate-1.2.2 resiprocate-1.2.1 resiprocate-1.2 resiprocate-1.2-RC1 resiprocate-1.1 resiprocate-1.1-RC3 resiprocate-1.1-RC2 resiprocate-1.1-RC1 resiprocate-1.0.3 resiprocate-1.0.2 resiprocate-1.0.1 resiprocate-1.0 resiprocate-1.0-RC4 resiprocate-1.0-RC3 resiprocate-1.0-RC2 resiprocate-1.0-RC1 resiprocate-0-4-0 resiprocate-0-3-1 resiprocate-0-3-0 resiprocate-200307031400 repro-capuchin-rc1 reTurn-behave-turn-05@7752 reTurn-behave-turn-05 r-sip2-psuedo-stable noise2 jasomi-20031107-1
Nothing to show
Clone or download
Permalink
Failed to load latest commit information.
apps apps/reConServer: lookup users in SQL with SOCI Sep 21, 2018
build apps/reConServer: lookup users in SQL with SOCI Sep 21, 2018
contrib -update ASIO from version 1.10.6 to 1.12.1 Sep 18, 2018
debian debian: Sync back from 1:1.11.0~beta5-1 Nov 4, 2017
deprecated rutil: rename Assert.h to ResipAssert.h Jul 10, 2015
emacs Useful hxx/cxx switcher. Mar 25, 2009
m4 -added --with-popt to configure so that test projects can be build ea… Apr 25, 2012
p2p gitignore: add per-directory gitignore files for each directory with … Jan 15, 2018
reTurn -updated VS2017 solutions and projects to be able to link to OpenSSL … Sep 19, 2018
reflow -modified some include file ordering to avoid getting linkage signatu… Sep 18, 2018
repro repro: SQL schema: rename tlsPeerAuthorization to tlsPeerIdentity Sep 24, 2018
resip Don't call checkParsed from DialogInfoContents::Dialog::getDialogElem… Sep 21, 2018
rutil rutil: add AsyncBool Sep 20, 2018
tfm -updated VS2017 solutions and projects to be able to link to OpenSSL … Sep 19, 2018
.appveyor.yml Add AppVeyor file Nov 10, 2017
.gitignore gitignore: add per-directory gitignore files for each directory with … Jan 15, 2018
.travis.yml travis-ci: add libsoci-dev Sep 22, 2018
AUTHORS Tweak AUTHORS Feb 15, 2015
COPYING Add COPYING and AUTHORS files May 16, 2012
INSTALL -some corrections for recent changes May 2, 2012
Makefile.am build: put reflow and recon ahead of apps Oct 13, 2015
README Merge from master after gperf-fixes Sep 23, 2014
RELEASE-PROCESS.txt doc: release process: update for Git May 18, 2015
VisualStudioReadme.htm -added Visual Studio 2017 solution and project files Jul 12, 2018
acinclude.m4 autotools: add check for clock_gettime Apr 23, 2012
ax_resip.m4 -improved and added Darwin support - thanks to Volodymyr Tarasenko Dec 29, 2009
buginfo.pl Don't bother with ReleaseNotes.txt if not present Nov 30, 2008
configure.ac release: Update for 1.12.0~beta1 Sep 22, 2018
eclipse-ellemtel-code-style.xml eclipse: Add Ellemtel code style definition Feb 18, 2013
reSIProcate_12_0.sln -added VS2013 solution and project files for main resiprocate solution Apr 3, 2015
reSIProcate_14_0.sln -fix up VS2015 solutions to open correct Visual studio Apr 6, 2016
reSIProcate_15_0.sln -added Visual Studio 2017 solution and project files Jul 12, 2018
resiprocate.spec.in rpm: update email address in spec file Sep 18, 2015
svn-authors.ldif svn2git: add copy of LDIF data Nov 19, 2012
svn-authors.txt svn-authors: add dtacalau mapping Jan 16, 2014

README

-----------------------------------------------------------

IMPORTANT

 - the notes below relate to the legacy build
   system from reSIProcate <= 1.7.x

 - now, with reSIProcate 1.8.x and beyond,
   please see:

    http://www.resiprocate.org/AutotoolsBuild

   and

    http://www.resiprocate.org/Configuration_Options


-----------------------------------------------------------

Notes for the legacy build system:


The legacy reSIProcate build system is derived from
the VOCAL build system (http://www.vovida.org). 

Adding New Files to a module
----------------------------

Example: Adding a new file Foo.cxx to the stack

1) Edit resip/stack/Makefile
2) Add Foo.cxx to the SRC list

Example: Adding a new file Bar.cxx to rutil
1) Edit rutil/Makefile
2) Add Bar.cxx to the SRC list

Notes: 
- All files noted in SRC list will be added to the target library
- Adding a new header file does not need to be noted in the Makefile
- To add something to the compile line add to CXXFLAGS. 
e.g. CXXFLAGS += -DMYSPECIALDEFINE
- To add something to the link line add to LDFLAGS and/or LDLIBS
e.g. LDFLAGS += -L/usr/local/myspeciallibdir
e.g. LDLIBS += -lmyspeciallib

Creating an application based on the stack: 

Option 1:  (Using the resip build system)
For example applications using the resip build system look at resip/stack/test or at repro.

###########################################################################################
# Create a Makefile in the directory with the units with the following template
# This should be the path to the build directory of resip (in the sip subdirectory)
BUILD = ../../build   

# Includes macros
include $(BUILD)/Makefile.pre

# Add any options that need to be passed to the C++ compiler here
#CXXFLAGS += -DMYSPECIALDEFINE

# Add any options that need to be passed to the C compiler here
#CFLAGS += -DMYOTHERDEFINE

# Add any options that need to be passed to the linker here
#LDFLAGS += -L/usr/local/mydir

# Add any libraries that need to be passed to the linker here
#LDLIBS += -lmylib

# All of these packages are prerequisites for resiprocate
PACKAGES += RESIP RUTIL OPENSSL ARES PTHREAD

# Add an entry to TESTPROGRAMS for each target that has a main in it
# On linux this will generate an executable in bin.debug.Linux.i686/main
TESTPROGRAMS += main.cxx

# Add each of the C++ or C files that other than the main
# Each main target (from TESTPROGRAMS) will be linked with all of the files in SRC
SRC = 		TestSupport.cxx

# Includes macros
include $(BUILD)/Makefile.post
###########################################################################################

Option 2: (Using a third party build system)

Prerequisites: 
- Install ares library from contrib/ares 
  - cd contrib/ares
  - ./configure
  - make
  - make install

Pass the following flags to C++ compiler: 
Assumptions: 
- have pthreads
- have openssl installed
- have ares installed
- resiprocate library is built and installed

# Linux Example
CXXFLAGS += -Wall -fPIC -Wno-deprecated -march=i686 \
            -D_REENTRANT -DUSE_SSL -DNEW_MSG_HEADER_SCANNER -DUSE_IPV6 -DUSE_ARES \
            -I/usr/kerberos/include -I$(RESIP_DIR)/lib.debug.Linux.i686 
LDFLAGS += -L$(RESIP_DIR)/lib.debug.Linux.i686 
LDLIBS += -lresip -lrutil -lssl -lcrypto -lares -lpthread