Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

  1. Cipango should be start with configuration etc/cipango-websocket.xml. This can be done by adding the following two lines in start.d/100-sip.ini
    No Format
    OPTIONS=websocket
    etc/cipango-websocket.xml
    
  2. your SIP Application should add in WEB-INF/web.xml the servlet org.cipango.websocket.SipWebsocketServlet.
    Code Block
    xml
    xml
    titleweb.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>
    

...