[asterisk-bugs] [JIRA] (ASTERISK-28153) [patch] chan_sip: fix Reason-Phrase for 603 Response

Asterisk Team (JIRA) noreply at issues.asterisk.org
Tue Nov 6 03:01:47 CST 2018


    [ https://issues.asterisk.org/jira/browse/ASTERISK-28153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=245379#comment-245379 ] 

Asterisk Team commented on ASTERISK-28153:
------------------------------------------

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].

> [patch] chan_sip: fix Reason-Phrase for 603 Response
> ----------------------------------------------------
>
>                 Key: ASTERISK-28153
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28153
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/General
>    Affects Versions: 13.13.0
>            Reporter: Frederic LE FOLL
>            Severity: Trivial
>              Labels: pjsip
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list