spectrum2/3rdparty/cpprestsdk/libs/websocketpp/examples/sip_client
2015-11-19 15:19:14 +01:00
..
CMakeLists.txt Remove O2, add cpprestsdk 2015-11-19 15:19:14 +01:00
README.txt Remove O2, add cpprestsdk 2015-11-19 15:19:14 +01:00
SConscript Remove O2, add cpprestsdk 2015-11-19 15:19:14 +01:00
sip_client.cpp Remove O2, add cpprestsdk 2015-11-19 15:19:14 +01:00


Checkout the project from git

At the top level, run cmake:

  cmake -G 'Unix Makefiles' \
     -D BUILD_EXAMPLES=ON \
     -D WEBSOCKETPP_ROOT=/tmp/cm1 \
     -D ENABLE_CPP11=OFF .

and then make the example:

  make -C examples/sip_client

Now run it:

  bin/sip_client ws://ws-server:80

It has been tested against the repro SIP proxy from reSIProcate

  http://www.resiprocate.org/WebRTC_and_SIP_Over_WebSockets