...
- Cipango should be start with configuration
etc/cipango-websocket.xml
. This can be done by adding the following two lines instart.d/100-sip.ini
No Format OPTIONS=websocket etc/cipango-websocket.xml
- your SIP Application should add in
WEB-INF/web.xml
the servletorg.cipango.websocket.SipWebsocketServlet
.Code Block xml xml title web.xmlxml <?xml version="1.0" encoding="ISO-8859-1"?> <web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5"> <servlet> <servlet-name>SipWebsocketServlet</servlet-name> <servlet-class>org.cipango.websocket.SipWebsocketServlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>SipWebsocketServlet</servlet-name> <url-pattern>/*</url-pattern> </servlet-mapping> </web-app>
...