Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
bash
bash
cd extras
mvn install -P websockerwebsocket

The compiled module has then to be installed in the cipango distribution as follows:

Code Block
bash
bash
cp cipango-websocket/target/cipango-websocket-2.1-SNAPSHOT.jar ../cipango-distribution/target/distribution/lib/ext/
cp cipango-websocket/src/main/config/etc/cipango-websocket.xml ../cipango-distribution/target/distribution/etc/

To use WebSockets transport, your SIP Application must include the file test-cipango-websocket/src/main/webapp/WEB-INF/jetty-web.xml in its WEB-INF directory and cipango must be started as below:

Code Block
bash
bash

java -Djetty.host=your_host_name --ini=start-cipango.ini etc/cipango-websocket.xml
Note

The host name (jetty.host property in the start command line above) of the HTTP connector must be set since it is necessary to the SIP WebSockets connector.