[asterisk-bugs] [JIRA] Created: (ASTERISK-20211) chan_sip incorrect mapping from sip error codes to internal (ISDN) CAUSECODEs.

Jaco Kroon (JIRA) noreply at issues.asterisk.org
Fri Aug 10 05:30:07 CDT 2012


chan_sip incorrect mapping from sip error codes to internal (ISDN) CAUSECODEs.
------------------------------------------------------------------------------

                 Key: ASTERISK-20211
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20211
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Channels/chan_sip/General
    Affects Versions: 1.8.15.0
            Reporter: Jaco Kroon


When initiating a call via Dial(SIP/xyz) and the destination channel hangs up the CAUSECODE will always be 34, even when upstream for example sends us a 404 (NOTFOUND) which obviously maps better to CAUSECODE=1.

Fortunately there already exists a function that can perform this mapping, so we just need to use it when receiving error codes from upstream instead of always hanging up with causecode 34.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list