1 Reply Latest reply on Jun 22, 2011 9:45 AM by Kai-Oracle

    Register the SIP client using X-LITE soft phone with OCCAS

      I am trying to register SIP client using X-lite softphone with OCCAS server but the request get time out error on X-Lite , I handle the request at the OCCAS server with file as shown below

      package check;

      import java.io.IOException;
      import javax.servlet.ServletConfig;
      import javax.servlet.ServletContext;
      import javax.servlet.ServletException;
      import javax.servlet.sip.SipServlet;
      import javax.servlet.sip.SipServletRequest;
      import javax.servlet.sip.SipServletResponse;

      * SipServlet implementation class NewSipServlet1
      public class NewSipServlet1 extends SipServlet {

      private static final long serialVersionUID = 3978425801979081269L;

      //Reference to context - The ctx Map is used as a central storage for this app
      ServletContext ctx = null;

      * Demonstrates extension with a new "REPUBLISH" method
      protected void doRequest(SipServletRequest req) throws ServletException, IOException {
      if( req.getMethod().equals("REGISTER") ) {
      } else {

      protected void doRegister(SipServletRequest req) throws ServletException, IOException {
      // TODO Auto-generated method stub
      System.out.println("You are ballleeee welcome");
      SipServletResponse suhaib =req.createResponse(SipServletResponse.SC_OK);

      * Implement the REPUBLISH extension here
      protected void doRepublish(SipServletRequest req) throws ServletException, IOException {
      // TODO Auto-generated method stub


      When i deployed the same file in sailfin server the X-Lite client get regitered but when deployed this file in OCCAS it gives ERROR on X_LITE as "Request time out"

      I use the port no:5060 when using with both servers to connect with X-LITE
        • 1. Re: Register the SIP client using X-LITE soft phone with OCCAS

          Registering works fine for me. I just tried out the findme example included into the installation.

          So it would be interesting how the register message looks like and to which port it is send.

          Also, you can enable SIP message logging via the WLS Admin Console at the SIP tree so that the SIP messages are directly written to the serverName.log file. This should show whether the message is received by OCCAS 5.0.

          Otherwise some network traces might give some more information.

          Also, you can ask the same question on the support community forum for that product as well because there might be more people reading it:

          Best regards,