I'm using 1.12.8 release and found that the stack abort when receiving
re-INVITE before receiving ACK:


recv 915 bytes from udp/[10.27.202.157]:5060 at 16:12:56.301398:
 
------------------------------------------------------------------------
   INVITE sip:[EMAIL PROTECTED]:5060 SIP/2.0
   Via: SIP/2.0/UDP 10.27.202.157:5060;branch=z9hG4bK09Bb353040e3493998f
   From: "Unavailable"
<sip:[EMAIL PROTECTED]:5060;otg=IMXTOGSX>;tag=gK09
103d5d
   To: <sip:[EMAIL PROTECTED]:5060>
   Call-ID: [EMAIL PROTECTED]
   CSeq: 29945 INVITE
   Max-Forwards: 69
   Allow:
INVITE,ACK,CANCEL,BYE,REGISTER,REFER,INFO,SUBSCRIBE,NOTIFY,PRACK,UPDAT
E,OPTIONS,MESSAGE,PUBLISH
   Accept: application/sdp, application/isup, application/dtmf,
application/dtmf
-relay,  multipart/mixed
   Contact: "Unavailable" <sip:[EMAIL PROTECTED]:5060>
   Supported: 100rel
   Content-Length:  204
   Content-Disposition: session; handling=optional
   Content-Type: application/sdp

   v=0
   o=Sonus_UAC 1426 13691 IN IP4 10.27.202.157
   s=SIP Media Capabilities
   c=IN IP4 10.27.202.153
   t=0 0
   m=audio 7450 RTP/AVP 0 8
   a=rtpmap:0 PCMU/8000
   a=rtpmap:8 PCMA/8000
   a=sendonly
   a=maxptime:20
 
------------------------------------------------------------------------
send 327 bytes to udp/[10.27.202.157]:5060 at 16:12:56.301881:
 
------------------------------------------------------------------------
   SIP/2.0 100 Trying
   Via: SIP/2.0/UDP 10.27.202.157:5060;branch=z9hG4bK09Bb353040e3493998f
   From: "Unavailable"
<sip:[EMAIL PROTECTED]:5060;otg=IMXTOGSX>;tag=gK09
103d5d
   To: <sip:[EMAIL PROTECTED]:5060>
   Call-ID: [EMAIL PROTECTED]
   CSeq: 29945 INVITE
   User-Agent: sofia-sip/1.12.8
   Content-Length: 0

 
------------------------------------------------------------------------
sip:[EMAIL PROTECTED]:50
60;otg=IMXTOGSX join conference. chan=4 conf=4070564
send 774 bytes to udp/[10.27.202.157]:5060 at 16:12:56.303553:
 
------------------------------------------------------------------------
   SIP/2.0 200 OK
   Via: SIP/2.0/UDP 10.27.202.157:5060;branch=z9hG4bK09Bb353040e3493998f
   From: "Unavailable"
<sip:[EMAIL PROTECTED]:5060;otg=IMXTOGSX>;tag=gK09
103d5d
   To: <sip:[EMAIL PROTECTED]:5060>;tag=96aKvp95raZmF
   Call-ID: [EMAIL PROTECTED]
   CSeq: 29945 INVITE
   Contact: <sip:10.27.194.101>
   User-Agent: sofia-sip/1.12.8
   Accept: application/sdp
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE,
NOTIFY,
REFER, UPDATE
   Supported: timer, 100rel
   Min-SE: 120
   Content-Type: application/sdp
   Content-Disposition: session
   Content-Length: 184

   v=0
   o=- 853310414809086757 8932726028915210945 IN IP4 10.27.194.101
   s=west
   c=IN IP4 10.27.194.101
   t=0 0
   m=audio 24156 RTP/AVP 0
   a=rtpmap:0 PCMU/8000
   a=recvonly
   a=setup:active
 
------------------------------------------------------------------------
 
------------------------------------------------------------------------
recv 901 bytes from udp/[10.27.202.157]:5060 at 16:12:56.728818:
 
------------------------------------------------------------------------
   INVITE sip:10.27.194.101:5060 SIP/2.0
   Via: SIP/2.0/UDP 10.27.202.157:5060;branch=z9hG4bK09Bb35b1344b1b4ff35
   From: "Unavailable"
<sip:[EMAIL PROTECTED]:5060;otg=IMXTOGSX>;tag=gK09
103d5d
   To: <sip:[EMAIL PROTECTED]:5060>;tag=96aKvp95raZmF
   Call-ID: [EMAIL PROTECTED]
   CSeq: 29946 INVITE
   Max-Forwards: 70
   Allow:
INVITE,ACK,CANCEL,BYE,REGISTER,REFER,INFO,SUBSCRIBE,NOTIFY,PRACK,UPDAT
E,OPTIONS,MESSAGE,PUBLISH
   Accept: application/sdp, application/isup, application/dtmf,
application/dtmf
-relay,  multipart/mixed
   Contact: "Unavailable" <sip:[EMAIL PROTECTED]:5060>
   Supported: 100rel
   Content-Length:  180
   Content-Disposition: session; handling=optional
   Content-Type: application/sdp

   v=0
   o=Sonus_UAC 1426 13692 IN IP4 10.27.202.157
   s=SIP Media Capabilities
   c=IN IP4 10.27.202.153
   t=0 0
   m=audio 7450 RTP/AVP 0
   a=rtpmap:0 PCMU/8000
   a=sendrecv
   a=maxptime:20
 
------------------------------------------------------------------------
wicconfd: nua_session.c:1975: nua_invite_server_preprocess: Assertion
`ss->ss_st
ate >= nua_callstate_ready || ss->ss_state == nua_callstate_init'
failed.
Aborted
[EMAIL PROTECTED] bin]$


The stack should never abort when receiving none confirm message but
just log it.



Charles Lu



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to