[asterisk-bugs] [JIRA] (ASTERISK-27554) Order of 'Reason' headers break many endpoints

Ross Beer (JIRA) noreply at issues.asterisk.org
Fri Jan 5 10:00:40 CST 2018


Ross Beer created ASTERISK-27554:
------------------------------------

             Summary: Order of 'Reason' headers break many endpoints
                 Key: ASTERISK-27554
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27554
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Channels/chan_pjsip
    Affects Versions: 15.1.5, 13.18.5
         Environment: Fedora 23, Snom, Yealink, Grandstream
            Reporter: Ross Beer


The additional header added by chan_pjsip CANCEL causes many hardware endpoints to record missed calls. While this isn't directly an Asterisk issue and doesn't break RFCs, it is a change away from chan_sip.

I believe that endpoints are only checking the fist Reason header for the string 'Call completed elsewhere' and therefore not matching this.

The reason headers currently sent by chan_pjsip are as follows:

{noformat}
Reason: Q.850;cause=26
Reason: SIP;cause=200;text="Call completed elsewhere"
{noformat}

I believe that changing the order of the headers to the following will resolve the issue with many manufacturers:

{noformat}
Reason: SIP;cause=200;text="Call completed elsewhere"
Reason: Q.850;cause=26
{noformat}

While ideally getting each manufacturer to fix their firmware to check multiple headers would be ideal, some devices are no longer actively supported and therefore will never be updated.




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



More information about the asterisk-bugs mailing list