Summary: | ASTERISK-28153: [patch] chan_sip: fix Reason-Phrase for 603 Response | ||
Reporter: | Frederic LE FOLL (flefoll) | Labels: | pjsip |
Date Opened: | 2018-11-06 03:00:34.000-0600 | Date Closed: | 2018-11-19 08:08:21.000-0600 |
Priority: | Trivial | Regression? | |
Status: | Closed/Complete | Components: | Channels/chan_sip/General |
Versions: | 13.13.0 | Frequency of Occurrence | Constant |
Related Issues: | |||
Environment: | Attachments: | ||
Description: | While RFC3261 specifies defaut Reason-Pḧrase "Decline" for Response 603 (see https://tools.ietf.org/html/rfc3261#section-21.6.2 "603 Decline"), chan_sip generates "603 Declined".
This most probably affects all versions of Asterisk, starting with the introduction of "603 Declined" as default value for internal cause to SIP Response conversion. Since RFC3261 says "603 Decline", and PJSIP uses default Reason-Phrase "Decline" [see pjproject-2.8/pjsip/src/pjsip/sip_msg.c: pj_strset2( &status_phrase[603], "Decline");], I suggest than chan_sip also uses "603 Decline" instead of "603 Declined". I will propose a fix through Gerrit. | ||
Comments: | By: Asterisk Team (asteriskteam) 2018-11-06 03:00:37.228-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: Joshua C. Colp (jcolp) 2018-11-19 08:08:22.096-0600 Per the discussion on Gerrit, I'm suspending this issue. |