[Home]

Summary:ASTERISK-13646: [patch] Resending CANCEL doesn't stop
Reporter:Makoto Dei (makoto)Labels:
Date Opened:2009-02-24 20:53:45.000-0600Date Closed:2009-02-27 11:46:47.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Channels/chan_sip/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) CANCELdoesntStop.pcap
( 1) sip-handle-incoming.patch
Description:If sending CANCEL and receiving 200 OK occur at almost the same time,
Asterisk resends CANCEL and it doesn't stop.

See attached packet capture.

Attached patch will fix the problem.
Comments:By: Leif Madsen (lmadsen) 2009-02-26 17:59:45.000-0600

This seems like something fun for you file! :)  I'm assigning to you, but feel free to reassign!

By: Joshua C. Colp (jcolp) 2009-02-27 11:46:46.000-0600

I'm closing this out in favor of 11231. The actual underlying issue is the same. In your case a 200 OK is received to the INVITE which cancels out that transaction and increases the sequence number. When the 200 OK to the CANCEL gets sent out the sequence number is below and it is treated as a late packet. I would suggest you follow 11231 and provide input for that patch, I will see if I can move the issue along to resolution.