Summary: | ASTERISK-26841: chan_sip: Call not cancelled after receiving a 422 response | ||
Reporter: | Jean Aunis - Prescom (PrescomJA) | Labels: | |
Date Opened: | 2017-03-07 08:03:21.000-0600 | Date Closed: | 2017-03-14 10:18:20 |
Priority: | Major | Regression? | |
Status: | Closed/Complete | Components: | Channels/chan_sip/General |
Versions: | 13.7.2 14.3.0 | Frequency of Occurrence | Constant |
Related Issues: | |||
Environment: | Centos 7 | Attachments: | |
Description: | When using RFC 4028 with chan_sip, an INVITE from Asterisk may be replied with 422, in order to negotiate session timers.
When the 422 is received, if Asterisk hangs up the channel before a final response (200 OK or other) is received, no CANCEL request is sent. Detailed steps to reproduce : - Given SIP Session timers are enabled - Given Asterisk does a Dial() to an RFC 4028-compliant endpoint - Given Asterisk receives a 422 response and Asterisk replies to it - Given Asterisk receives a 100/180 response - When Asterisk hangs up the channel (before it has been answered with a 200 OK) - Then Asterisk does not send a CANCEL request Expected : Asterisk sends a CANCEL request I am going to submit a fix on Gerrit. | ||
Comments: | By: Asterisk Team (asteriskteam) 2017-03-07 08:03:22.971-0600 Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution. A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report. Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process]. By: Jean Aunis - Prescom (PrescomJA) 2017-03-07 08:29:02.782-0600 Fix submitted on gerrit : https://gerrit.asterisk.org/#/c/5133/ By: Rusty Newton (rnewton) 2017-03-09 09:20:18.233-0600 Thanks Jean! By: Friendly Automation (friendly-automation) 2017-03-14 10:18:22.021-0500 Change 5155 merged by zuul: chan_sip: Call not cancelled after receiving a 422 response [https://gerrit.asterisk.org/5155|https://gerrit.asterisk.org/5155] By: Friendly Automation (friendly-automation) 2017-03-14 10:20:36.982-0500 Change 5154 merged by Joshua Colp: chan_sip: Call not cancelled after receiving a 422 response [https://gerrit.asterisk.org/5154|https://gerrit.asterisk.org/5154] By: Friendly Automation (friendly-automation) 2017-03-14 11:48:38.772-0500 Change 5133 merged by Joshua Colp: chan_sip: Call not cancelled after receiving a 422 response [https://gerrit.asterisk.org/5133|https://gerrit.asterisk.org/5133] |