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

Joshua C. Colp (JIRA) noreply at issues.asterisk.org
Tue Nov 6 05:13:47 CST 2018


     [ https://issues.asterisk.org/jira/browse/ASTERISK-28153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joshua C. Colp updated ASTERISK-28153:
--------------------------------------

    Assignee: Frederic LE FOLL

> [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
>            Assignee: 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