[reSIProcate] how resip process CANCEL after send 200 OK before get ACK?

Byron Campen bcampen at estacado.net
Tue Sep 19 08:16:03 CDT 2006


	When a server receives a CANCEL after the 200 is sent, it should  
generate a 200/CANCEL, but take no special action regarding the the  
original INVITE transaction (see RFC 3261 sec 9.2, para 4). A client,  
upon receiving the 200 (and sending ACK), should send a BYE to tear  
down the call at this point.

Best regards,
Byron Campen

> resip
>
>
> INFO | 20060919-143056.812 | NV3_SIP_TEL | RESIP:DUM | 2680 |  
> DialogUsageManager.cxx:1168 | Got: SipReq:  INVITE  
> 239 at 127.0.0.1:37060 tid=a262606232d54.1 cseq=INVITE  
> contact=210 at 192.168.101.59:5060 / 1 from(wire)
> INFO | 20060919-143056.812 | NV3_SIP_TEL | RESIP:DUM | 2680 |  
> InviteSession.cxx:2045 | Transition UAS_Start -> UAS_Offer
> INFO | 20060919-143056.812 | NV3_SIP_TEL | RESIP:DUM | 2680 |  
> ServerInviteSession.cxx:91 | UAS_Offer: provisional(180)
> INFO | 20060919-143056.812 | NV3_SIP_TEL | RESIP:DUM | 2680 |  
> InviteSession.cxx:2045 | Transition UAS_Offer -> UAS_EarlyOffer
> INFO | 20060919-143056.812 | NV3_SIP_TEL | RESIP:DUM | 2680 |  
> ServerInviteSession.cxx:251 | UAS_EarlyOffer: provideAnswer
> INFO | 20060919-143056.812 | NV3_SIP_TEL | RESIP:DUM | 2680 |  
> InviteSession.cxx:2045 | Transition UAS_EarlyOffer ->  
> UAS_EarlyProvidedAnswer
> INFO | 20060919-143056.890 | NV3_SIP_TEL | RESIP:DUM | 2680 |  
> ServerInviteSession.cxx:443 | UAS_EarlyProvidedAnswer: accept(200)
> INFO | 20060919-143056.890 | NV3_SIP_TEL | RESIP:DUM | 2680 |  
> InviteSession.cxx:2045 | Transition UAS_EarlyProvidedAnswer ->  
> UAS_Accepted
> INFO | 20060919-143056.906 | NV3_SIP_TEL | RESIP:DUM | 2680 |  
> DialogUsageManager.cxx:1168 | Got: SipReq:  CANCEL  
> 239 at 127.0.0.1:37060 tid=a262606232d54.1 cseq=CANCEL / 1 from(wire)
> INFO | 20060919-143056.906 | NV3_SIP_TEL | RESIP:DUM | 2680 |  
> ServerInviteSession.cxx:684 | dispatchAccepted: SipReq:  CANCEL  
> 239 at 127.0.0.1:37060 tid=a262606232d54.1 cseq=CANCEL / 1 from(wire)
> INFO | 20060919-143057.390 | NV3_SIP_TEL | RESIP:DUM | 2680 |  
> InviteSession.cxx:776 | Retransmitting:
> SIP/2.0 200 OK
>
> Via: SIP/2.0/UDP 192.168.101.59:5060;branch=z9hG4bKa262606232d54.1
>
> Via: SIP/2.0/UDP 192.168.101.5:28410;branch=z9hG4bK- 
> d87543-121455157566a77c-1--d87543-;rport=28410
>
> Record-Route: <sip:192.168.101.59:5060;lr>
>
> Contact: <sip:239 at 127.0.0.1:37060>
>
> To: "239"<sip:239 at 192.168.101.59:5060>;tag=161ace4b
>
> From: "210"<sip:210 at 192.168.101.59>;tag=fa0cc836
>
> Call-ID: ae57920412396477YWYxMWZiODE3NzFmMDQxMGFmMTNlOTU3NjBlNGI2Njg.
>
> CSeq: 1 INVITE
>
> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, NOTIFY
>
> Content-Type: application/sdp
>
> User-Agent: eWings-NetVoice/3.0
>
> Content-Length: 177
>
>
>
> v=0
>
> o=0 239 239 IN IP4 192.168.101.59
>
> s=NetVoice3
>
> c=IN IP4 192.168.101.59
>
> t=0 0
>
> m=audio 5660 RTP/AVP 0 101
>
> a=fmtp:101 0-15
>
> a=rtpmap:101 telephone-event/8000
>
> a=sendrecv
>
>
> INFO | 20060919-143058.390 | NV3_SIP_TEL | RESIP:DUM | 2680 |  
> InviteSession.cxx:776 | Retransmitting:
> SIP/2.0 200 OK
>
> Via: SIP/2.0/UDP 192.168.101.59:5060;branch=z9hG4bKa262606232d54.1
>
> Via: SIP/2.0/UDP 192.168.101.5:28410;branch=z9hG4bK- 
> d87543-121455157566a77c-1--d87543-;rport=28410
>
> Record-Route: <sip:192.168.101.59:5060;lr>
>
> Contact: <sip:239 at 127.0.0.1:37060>
>
> To: "239"<sip:239 at 192.168.101.59:5060>;tag=161ace4b
>
> From: "210"<sip:210 at 192.168.101.59>;tag=fa0cc836
>
> Call-ID: ae57920412396477YWYxMWZiODE3NzFmMDQxMGFmMTNlOTU3NjBlNGI2Njg.
>
> CSeq: 1 INVITE
>
> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, NOTIFY
>
> Content-Type: application/sdp
>
> User-Agent: eWings-NetVoice/3.0
>
> Content-Length: 177
>
>
>
> v=0
>
> o=0 239 239 IN IP4 192.168.101.59
>
> s=NetVoice3
>
> c=IN IP4 192.168.101.59
>
> t=0 0
>
> m=audio 5660 RTP/AVP 0 101
>
> a=fmtp:101 0-15
>
> a=rtpmap:101 telephone-event/8000
>
> a=sendrecv
>
>
> INFO | 20060919-143100.390 | NV3_SIP_TEL | RESIP:DUM | 2680 |  
> InviteSession.cxx:776 | Retransmitting:
> SIP/2.0 200 OK
>
> Via: SIP/2.0/UDP 192.168.101.59:5060;branch=z9hG4bKa262606232d54.1
>
> Via: SIP/2.0/UDP 192.168.101.5:28410;branch=z9hG4bK- 
> d87543-121455157566a77c-1--d87543-;rport=28410
>
> Record-Route: <sip:192.168.101.59:5060;lr>
>
> Contact: <sip:239 at 127.0.0.1:37060>
>
> To: "239"<sip:239 at 192.168.101.59:5060>;tag=161ace4b
>
> From: "210"<sip:210 at 192.168.101.59>;tag=fa0cc836
>
> Call-ID: ae57920412396477YWYxMWZiODE3NzFmMDQxMGFmMTNlOTU3NjBlNGI2Njg.
>
> CSeq: 1 INVITE
>
> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, NOTIFY
>
> Content-Type: application/sdp
>
> User-Agent: eWings-NetVoice/3.0
>
> Content-Length: 177
>
>
>
> v=0
>
> o=0 239 239 IN IP4 192.168.101.59
>
> s=NetVoice3
>
> c=IN IP4 192.168.101.59
>
> t=0 0
>
> m=audio 5660 RTP/AVP 0 101
>
> a=fmtp:101 0-15
>
> a=rtpmap:101 telephone-event/8000
>
> a=sendrecv
>
>
> INFO | 20060919-143104.390 | NV3_SIP_TEL | RESIP:DUM | 2680 |  
> InviteSession.cxx:776 | Retransmitting:
> SIP/2.0 200 OK
>
> Via: SIP/2.0/UDP 192.168.101.59:5060;branch=z9hG4bKa262606232d54.1
>
> Via: SIP/2.0/UDP 192.168.101.5:28410;branch=z9hG4bK- 
> d87543-121455157566a77c-1--d87543-;rport=28410
>
> Record-Route: <sip:192.168.101.59:5060;lr>
>
> Contact: <sip:239 at 127.0.0.1:37060>
>
> To: "239"<sip:239 at 192.168.101.59:5060>;tag=161ace4b
>
> From: "210"<sip:210 at 192.168.101.59>;tag=fa0cc836
>
> Call-ID: ae57920412396477YWYxMWZiODE3NzFmMDQxMGFmMTNlOTU3NjBlNGI2Njg.
>
> CSeq: 1 INVITE
>
> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, NOTIFY
>
> Content-Type: application/sdp
>
> User-Agent: eWings-NetVoice/3.0
>
> Content-Length: 177
>
>
>
> v=0
>
> o=0 239 239 IN IP4 192.168.101.59
>
> s=NetVoice3
>
> c=IN IP4 192.168.101.59
>
> t=0 0
>
> m=audio 5660 RTP/AVP 0 101
>
> a=fmtp:101 0-15
>
> a=rtpmap:101 telephone-event/8000
>
> a=sendrecv
>
>
>  				
>
>         maodonghu
>         hhmmdd at tom.com
>           2006-09-19
>
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel at list.sipfoundry.org
> https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2369 bytes
Desc: not available
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20060919/05e8c4d8/attachment.bin>


More information about the resiprocate-devel mailing list