Skip to content

Building recon

Scott Godin edited this page Jan 8, 2025 · 6 revisions

Table of Contents

Setting up the build environment




Building recon on Windows

  • Open the generated resiprocate.sln Visual Studio solution file.
  • Build solution.

Running testUA on Windows

By default you will be able to run testUA from the VS debugger, but if you decide to run testUA.exe on another machine you will need the following:

  • codec_*.dll from sipXtapi/sipXmediaLib/bin directory
  • ca.pem file in working directory - contains acceptable root certificate authority (CA) certificates for TURN over TLS
  • A copy of the OpenSSL DLLs
  • Appropriate C-runtime libraries present on the destination system

Building sipXtapi on Generic Linux

Note: The CMake build for linux currently uses a pre-build sipXtapi package. However if you need the latest sipXtapi code, you will need to build it manually with the instructions below. TODO - we need to provide instructions on how to use CMake to link with manually built sipXtapi.

  • Go to sipXtapi root
  • To build sipXportLib:
    cd sipXtapi/sipXportLib
    autoreconf -fi
    ./configure --prefix=/tmp/stage
    make
  • To build sipXsdpLib:
    cd sipXtapi/sipXsdpLib
    autoreconf -fi
    ./configure --prefix=/tmp/stage
    make
  • To build sipXmediaLib:
    cd sipXtapi/sipXmediaLib
    autoreconf -fi
    ./configure --prefix=/tmp/stage --enable-local-audio --disable-stream-player
    make
  • To build sipXmediaAdapterLib:
    cd sipXtapi/sipXmediaAdapterLib
    autoreconf -fi
    ./configure --prefix=/tmp/stage --enable-topology-graph --disable-stream-player
    make

Running testUA on Generic Linux

  • Go to resip/resip/recon/test
  • To run testUA ensure the codec plugins are in the same directory as the executable:
    cp ../../../../sipXtapi/sipXmediaLib/bin/*.so ./
  • ca.pem file in working directory - contains acceptable root certificate authority (CA) certificates for TURN over TLS
  • ./testUA
Clone this wiki locally