...
Code Block |
---|
|
cd extras
mvn install -P websockerwebsocket
|
The compiled module has then to be installed in the cipango distribution as follows:
Code Block |
---|
|
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 |
---|
|
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. |