This discussion is archived
2 Replies Latest reply: May 11, 2011 11:05 AM by 861243 RSS

SIP phone connects with OCCAS but not with OCSG.

819297 Newbie
Currently Being Moderated
Dear team,

The SIP phone I have installed (counter Path Xlite) connects to the OCCAS server but not the OCSG.Both the servers are having "findme" application (example application given in the OCCAS server) .I need the SIP to connect to OCSG for messaging and Call purpose.

Below is the logs of the SIP phone.

225DFB8" |
[10-11-27]14:57:04.296 | Debug | Resip | "RESIP:DUM:RegistrationCreator::RegistrationCreator: 1225DFB8" |
[10-11-27]14:57:04.296 | Debug | Resip | "RESIP:DUM: ************* Created DialogSet(UAC) -- MWI1NGI4MzNiZmUzMDJlOGJkNTk0NzM5OWNjNDdkODg.-3c201656*************" |
[10-11-27]14:57:04.296 | Debug | Resip | "RESIP:DUM:SEND:


REGISTER sip:127.0.0.1 SIP/2.0
Via: SIP/2.0/TCP 127.0.0.1:23450;branch=z9hG4bK-d8754z-3bb9687c83f24d77-1---d8754z-;rport
Max-Forwards: 70
Contact: <sip:xlite@127.0.0.1:23450;rinstance=5239f94572e9d04c;transport=TCP>
To: ""xlite""<sip:xlite@127.0.0.1>
From: ""xlite""<sip:xlite@127.0.0.1>;tag=3c201656
Call-ID: MWI1NGI4MzNiZmUzMDJlOGJkNTk0NzM5OWNjNDdkODg.
CSeq: 1 REGISTER
Expires: 3600
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
User-Agent: X-Lite 4 release 4.0 stamp 58832
Content-Length: 0

" |
[10-11-27]14:57:04.298 | Debug | Resip | "RESIP:TRANSPORT:Adding message to tx buffer to: [ V4 127.0.0.1:5060 TCP target domain=127.0.0.1 mFlowKey=0 ]" |
[10-11-27]14:57:04.298 | Debug | Resip | "RESIP:TRANSPORT:Processing write for [ V4 127.0.0.1:5060 TCP target domain=127.0.0.1 mFlowKey=0 ]" |
[10-11-27]14:57:04.298 | Debug | Resip | "RESIP:TRANSPORT:Could not find a connection for [ V4 127.0.0.1:5060 TCP target domain=127.0.0.1 mFlowKey=0 ]" |
[10-11-27]14:57:04.298 | Debug | Resip | "RESIP:TRANSPORT:Creating fd=2140 V4/TCP" |
[10-11-27]14:57:04.298 | Debug | Resip | "RESIP:TRANSPORT:Opening new connection to [ V4 127.0.0.1:5060 TCP target domain=127.0.0.1 mFlowKey=0 ]" |
[10-11-27]14:57:04.299 | Debug | Resip | "RESIP:TRANSPORT:ConnectionBase::ConnectionBase, who: [ V4 127.0.0.1:5060 TCP target domain=127.0.0.1 mFlowKey=0 ] 122667B0" |
[10-11-27]14:57:04.299 | Debug | Resip | "RESIP:TRANSPORT:No compression library available: 122667B0" |
[10-11-27]14:57:04.299 | Debug | Resip | "RESIP:TRANSPORT:Creating TCP connection [ V4 127.0.0.1:5060 TCP target domain=127.0.0.1 mFlowKey=0 ] on 2140" |
[10-11-27]14:57:04.299 | Debug | Resip | "RESIP:TRANSPORT:Writing REGISTER sip:127.0.0.1 SIP/2.0
Via: SIP/2.0/TCP 127.0.0.1:23450;branch=z9hG4bK-d8754z-3bb9687c83f24d77-1---d8754z-;rport
Max-Forwards: 70
Contact: <sip:xlite@127.0.0.1:23450;rinstance=5239f94572e9d04c;transport=TCP>
To: ""xlite""<sip:xlite@127.0.0.1>
From: ""xlite""<sip:xlite@127.0.0.1>;tag=3c201656
Call-ID: MWI1NGI4MzNiZmUzMDJlOGJkNTk0NzM5OWNjNDdkODg.
CSeq: 1 REGISTER
Expires: 3600
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
User-Agent: X-Lite 4 release 4.0 stamp 58832
Content-Length: 0

" |
[10-11-27]14:57:04.305 | Debug | Resip | "RESIP:TRANSPORT:Creating buffer for CONN_BASE: 122667B0 [ V4 127.0.0.1:5060 TCP target domain=127.0.0.1 mFlowKey=2140 ]" |
[10-11-27]14:57:04.305 | Debug | Resip | "RESIP:TRANSPORT:In State: NewMessage" |
[10-11-27]14:57:04.305 | Debug | Resip | "RESIP:TRANSPORT:ConnectionBase::process setting source [ V4 127.0.0.1:5060 TCP target domain=127.0.0.1 mFlowKey=2140 ]" |
[10-11-27]14:57:04.306 | Debug | Resip | "RESIP:TRANSPORT:incoming from: [ V4 127.0.0.1:5060 TCP target domain=127.0.0.1 mFlowKey=2140 ]" |
[10-11-27]14:57:04.306 | Debug | Resip | "RESIP:TRANSPORT:##Connection: CONN_BASE: 122667B0 [ V4 127.0.0.1:5060 TCP target domain=127.0.0.1 mFlowKey=2140 ] received: SIP/2.0 500 Request not handled by app
Via: SIP/2.0/TCP 127.0.0.1:23450;branch=z9hG4bK-d8754z-3bb9687c83f24d77-1---d8754z-;rport
To: xlite <sip:xlite@127.0.0.1>;tag=839e14a8
From: xlite <sip:xlite@127.0.0.1>;tag=3c201656
Call-ID: MWI1NGI4MzNiZmUzMDJlOGJkNTk0NzM5OWNjNDdkODg.
CSeq: 1 REGISTER
Content-Length: 0

" |
[10-11-27]14:57:04.306 | Debug | Resip | "RESIP:TRANSPORT:ConnectionManager::process() read=319" |
[10-11-27]14:57:04.306 | Debug | Resip | "RESIP:DNS:Remove vip 127.0.0.1(1)" |
[10-11-27]14:57:04.306 | Debug | Resip | "RESIP:TRANSACTION:Send to TU: TU: DialogUsageManager size=0

SIP/2.0 500 Request not handled by app
Via: SIP/2.0/TCP 127.0.0.1:23450;branch=z9hG4bK-d8754z-3bb9687c83f24d77-1---d8754z-;rport
To: ""xlite""<sip:xlite@127.0.0.1>;tag=839e14a8
From: ""xlite""<sip:xlite@127.0.0.1>;tag=3c201656
Call-ID: MWI1NGI4MzNiZmUzMDJlOGJkNTk0NzM5OWNjNDdkODg.
CSeq: 1 REGISTER
Content-Length: 0

" |
[10-11-27]14:57:04.306 | Info | Resip | "RESIP:DUM:Got: SipResp: 500 tid=3bb9687c83f24d77 cseq=REGISTER / 1 from(wire)" |
[10-11-27]14:57:04.306 | Debug | Resip | "RESIP:DUM:DialogUsageManager::processResponse:

SipResp: 500 tid=3bb9687c83f24d77 cseq=REGISTER / 1 from(wire)" |
[10-11-27]14:57:04.306 | Debug | Resip | "RESIP:DUM:DialogId::DialogId: MWI1NGI4MzNiZmUzMDJlOGJkNTk0NzM5OWNjNDdkODg.-3c201656-839e14a8" |
[10-11-27]14:57:04.306 | Debug | Resip | "RESIP:DUM:First keep alive for: [ V4 127.0.0.1:5060 TCP target domain=127.0.0.1 mFlowKey=2140 ]" |
[10-11-27]14:57:04.306 | Debug | Resip | "RESIP:DUM:Keepalive interval 30 seconds" |
[10-11-27]14:57:04.306 | Debug | Resip | "RESIP:DUM:Keepalive id 0" |
[10-11-27]14:57:04.306 | Debug | Resip | "RESIP:TRANSACTION:Adding application timer: [ V4 127.0.0.1:5060 TCP target domain=127.0.0.1 mFlowKey=2140 ](0)" |
[10-11-27]14:57:04.306 | Debug | CCM | "SipResp: 500 tid=3bb9687c83f24d77 cseq=REGISTER / 1 from(wire)[URI:xlite@127.0.0.1]" | sua::CSIPRegistration::onFailure
[10-11-27]14:57:04.306 | Debug | CCM | "SipResp: 500 tid=3bb9687c83f24d77 cseq=REGISTER / 1 from(wire) [URI:xlite@127.0.0.1]" | sua::CTransportMonitorUsingRegistration::OnSIPRegistrationFailure
[10-11-27]14:57:04.306 | Debug | Resip | "RESIP:DUM:ClientRegistration::~ClientRegistration" |
[10-11-27]14:57:04.306 | Debug | Resip | "RESIP:DUM:Association removed for [ V4 127.0.0.1:5060 TCP target domain=127.0.0.1 mFlowKey=2140 ]" |
[10-11-27]14:57:04.307 | Debug | Resip | "RESIP:DUM:Keepalive 0 removed" |
[10-11-27]14:57:04.307 | Debug | Resip | "RESIP:DUM:No more association for [ V4 127.0.0.1:5060 TCP target domain=127.0.0.1 mFlowKey=2140 ]" |
[10-11-27]14:57:04.307 | Debug | Resip | "RESIP:DUM: ********** DialogSet::~DialogSet: MWI1NGI4MzNiZmUzMDJlOGJkNTk0NzM5OWNjNDdkODg.-3c201656*************" |
[10-11-27]14:57:04.307 | Debug | CCM | "[URI:xlite@127.0.0.1]" | sua::CSIPRegistration::OnAppDialogSetDestroy
[10-11-27]14:57:04.307 | Debug | CCM | "[URI:xlite@127.0.0.1]" | sua::CSIPRegistration::InternalShutdown
[10-11-27]14:57:04.307 | Debug | CCM | "Will attempt to re-REGISTER in 20 sec.[URI:xlite@127.0.0.1]" | sua::CSIPRegistrationWatcher::OnSIPRegistrationDestroyed
[10-11-27]14:57:04.307 | Debug | AbstractPhone | "[xlite@127.0.0.1]::OnSIPRegistrationAttemptFailed" | AbPhone::CAccount::CCCMSink::OnSIPRegistrationAttemptFailed
[10-11-27]14:57:04.307 | Info | AbstractPhone | "Checking if auto-configed devices need to be changed" | AbPhone::CAbstractPhone::ChangeDevicesIfNeeded
[10-11-27]14:57:04.457 | Debug | AbstractPhone | "OnSettingsChange" | AbPhone::CAbstractPhone::CMyEventSink::OnSettingsChange
[10-11-27]14:57:04.509 | Debug | CCM | "" | cpsi::AccountSipExtensionImpl::OnSIPAccessReady
[10-11-27]14:57:04.522 | Warning | AbstractPhone | "SIP registration failed; reason: 'SipError'; SIP error-code: 500; error-phrase: 'Request not handled by app'" | cpsi::AccountImpl::OnRegistrationStatusChanged
[10-11-27]14:57:04.565 | Debug | AbstractPhone | "CVideoSystem::SetCamera [from: (id=)(name=)][to: (id=)(name=][m_bStartVideo:F][m_bVideoSourceStarted:F" | AbPhone::CCameraDevice::SetCamera
[10-11-27]14:57:04.565 | Debug | AbstractPhone | "No camera available" | AbPhone::CVideoSystem::ApplySettings
[10-11-27]14:57:25.308 | Debug | CCM | "Re-trying to REGISTER[URI:xlite@127.0.0.1]" | sua::CSIPRegistrationWatcher::OnTimer
[10-11-27]14:57:25.308 | Debug | CCM | "[URI:xlite@127.0.0.1]" | sua::CSIPRegistration::Start
[10-11-27]14:57:25.308 | Debug | Resip | "RESIP:DUM:BaseCreator::makeInitialRequest:

12295908" |
[10-11-27]14:57:25.308 | Debug | Resip | "RESIP:DUM:RegistrationCreator::RegistrationCreator: 12295908" |
[10-11-27]14:57:25.308 | Debug | Resip | "RESIP:DUM: ************* Created DialogSet(UAC) -- ZmFlNmMxYzFjMWFmM2IzYTM2YzA0YTMyODk1MTlkMzc.-32eea710*************" |
[10-11-27]14:57:25.308 | Debug | Resip | "RESIP:DUM:SEND:
  • 1. Re: SIP phone connects with OCCAS but not with OCSG.
    kai - oracle Explorer
    Currently Being Moderated
    - On which OCSG version are you?
    - What is the deployment state of the 'findme' application? Maybe you forget to activate it for traffic.

    /Kai
  • 2. Re: SIP phone connects with OCCAS but not with OCSG.
    861243 Newbie
    Currently Being Moderated
    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
    */
    @javax.servlet.sip.annotation.SipServlet
    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
    */
    @Override
    protected void doRequest(SipServletRequest req) throws ServletException, IOException {
    if( req.getMethod().equals("REGISTER") ) {
    doRegister(req);
    } else {
    super.doRequest(req);
    }
    }

    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);
         suhaib.send();}


    /*
    * 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

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points