×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Dec 2006
    Posts
    59

    incoming sip 180 ringing problem

    Hi everybody,

    My SIP application uses a CSIPRegistrationBinding object for registration and this object is then passed to the constructor of CSIPInviteDialogAssoc.

    Registration and sending the INVITE request works perfectly fine, but the callback function IncomingResponse( SIPClientTransaction& aTransaction, CSIPDialogAssocBase& aDialogAssoc ) is called only for the 100 Trying response (two times, after initial INVITE and after second INVITE with credentials). When the 180 Ringing response arrives then, the application just exits.

    To me this looks like a problem with CSIPInviteDialogAssoc or CSIPClientTransaction, but as sending INVITEs and receiving the 100 response works, I really wonder what's wrong here. Please help me out!

    Here's the call flow (if you need to see parts of the code just ask):

    Code:
    Request-Line: INVITE sip:974260@technikum.at SIP/2.0
    Route: <sip:sip.kapsch.net:5082;transport=UDP;lr>
    Via: SIP/2.0/UDP 192.168.1.4:5060;branch=z9hG4bKahkdo340odhc79p5db2ubna
    From: <sip:974261@technikum.at>;tag=vicdo32sb1hc762hdb2h
    To: <sip:974260@technikum.at>
    Contact: <sip:974261@192.168.1.4>
    Accept-Contact: *;+fmcsapplication
    CSeq: 1415 INVITE
    Call-ID: b8zs33iRoIfx3mH5gWwrrlb9agExZf
    Supported: sec-agree
    Max-Forwards: 70
    Content-Type: application/sdp
    Content-Length: 149
    
    -------------------------------------------------------------
    
    Status-Line: SIP/2.0 100 Trying
    To: <sip:974260@technikum.at>
    From: <sip:974261@technikum.at>;tag=vicdo32sb1hc762hdb2h
    Via: SIP/2.0/UDP 192.168.1.4:5060;branch=z9hG4bKahkdo340odhc79p5db2ubna
    Call-ID: b8zs33iRoIfx3mH5gWwrrlb9agExZf
    CSeq: 1415 INVITE
    Server: DITC-PeerPoint C100/3-05-26-GA7p1
    Content-Length: 0
    
    -------------------------------------------------------------
    
    Status-Line: SIP/2.0 407 Proxy Authentication Required
    To: <sip:974260@technikum.at>;tag=301eb861
    From: <sip:974261@technikum.at>;tag=vicdo32sb1hc762hdb2h
    Via: SIP/2.0/UDP 192.168.1.4:5060;branch=z9hG4bKahkdo340odhc79p5db2ubna
    Call-ID: b8zs33iRoIfx3mH5gWwrrlb9agExZf
    CSeq: 1415 INVITE
    Max-Forwards: 68
    Proxy-Authenticate: Digest realm="technikum.at",nonce="016d3c9a367cded1c61365b3759a4757",opaque="c11959af067f248e9fe7b486a79f6d51",algorithm=MD5,qop="auth"
    Supported: sec-agree
    Content-Length: 0
    History-Info: <sip:974260@technikum.at>;index=1
    Accept-Contact: *;+fmcsapplication
    
    -------------------------------------------------------------
    
    Request-Line: ACK sip:974260@technikum.at SIP/2.0
    Via: SIP/2.0/UDP 192.168.1.4:5060;branch=z9hG4bKahkdo340odhc79p5db2ubna
    Route: <sip:sip.kapsch.net:5082;transport=UDP;lr>
    From: <sip:974261@technikum.at>;tag=vicdo32sb1hc762hdb2h
    To: <sip:974260@technikum.at>;tag=301eb861
    Call-ID: b8zs33iRoIfx3mH5gWwrrlb9agExZf
    CSeq: 1415 ACK
    Supported: sec-agree
    Max-Forwards: 70
    Content-Length: 0
    
    -------------------------------------------------------------
    
    Request-Line: INVITE sip:974260@technikum.at SIP/2.0
    Route: <sip:sip.kapsch.net:5082;transport=UDP;lr>
    Via: SIP/2.0/UDP 192.168.1.4:5060;branch=z9hG4bKn5fot8ubpjime8aarg6egbj
    From: <sip:974261@technikum.at>;tag=vicdo32sb1hc762hdb2h
    To: <sip:974260@technikum.at>
    Contact: <sip:974261@192.168.1.4>
    Accept-Contact: *;+fmcsapplication
    CSeq: 1416 INVITE
    Call-ID: b8zs33iRoIfx3mH5gWwrrlb9agExZf
    Supported: sec-agree
    Max-Forwards: 70
    Proxy-Authorization: Digest qop=auth,realm="technikum.at",nonce="016d3c9a367cded1c61365b3759a4757",opaque="c11959af067f248e9fe7b486a79f6d51",algorithm=MD5,username="974261",cnonce="a925094e8224c5ff1ab97b3481d97be4",nc=00000001,uri="sip:974
    Content-Type: application/sdp
    Content-Length: 149
    
    -------------------------------------------------------------
    
    Status-Line: SIP/2.0 100 Trying
    To: <sip:974260@technikum.at>
    From: <sip:974261@technikum.at>;tag=vicdo32sb1hc762hdb2h
    Via: SIP/2.0/UDP 192.168.1.4:5060;branch=z9hG4bKn5fot8ubpjime8aarg6egbj
    Call-ID: b8zs33iRoIfx3mH5gWwrrlb9agExZf
    CSeq: 1416 INVITE
    Server: DITC-PeerPoint C100/3-05-26-GA7p1
    Content-Length: 0
    
    -------------------------------------------------------------
    
    Status-Line: SIP/2.0 180 Ringing
    To: <sip:974260@technikum.at>;tag=e11b9b57
    From: "Stefan Schmidt"<sip:974261@technikum.at>;tag=vicdo32sb1hc762hdb2h
    Via: SIP/2.0/UDP 192.168.1.4:5060;branch=z9hG4bKn5fot8ubpjime8aarg6egbj
    Call-ID: b8zs33iRoIfx3mH5gWwrrlb9agExZf
    CSeq: 1416 INVITE
    Contact: <sip:FTHxt5KxxqVXgKa1cdxUu8CK80AT_KXklblXpz60eHpJXbR3v_k3Fqk4YPME37lfMqpuKp0KfJsubvf@193.154.103.162:5082>
    Content-Length: 0

  2. #2
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Re: incoming sip 180 ringing problem

    Quote Originally Posted by bifihi View Post
    ... the application just exits. ...
    I'm ready to bet that the Exit method of the application is not being invoked so the "exit" must be a panic. What is the panic reason and code and what is the code line where it occurs?
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

Similar Threads

  1. SDP Codec API problem for SIP Invite
    By vidhu.0007 in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2008-11-12, 13:07
  2. problem with PRACK with SIP port != 5060
    By rtakkinen in forum VoIP
    Replies: 2
    Last Post: 2008-10-16, 14:03
  3. Ringing problem with Nokia N70
    By DVogdos in forum Audio
    Replies: 2
    Last Post: 2007-06-26, 20:49
  4. SIP Resolver Plugin Problem
    By bifihi in forum VoIP
    Replies: 2
    Last Post: 2007-06-08, 13:26
  5. SIP capabilities problem
    By ademar123 in forum Symbian
    Replies: 0
    Last Post: 2005-05-11, 15:32

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×