[asterisk-bugs] [JIRA] Updated: (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:34:07 CDT 2012


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

Jaco Kroon updated ASTERISK-20211:
----------------------------------

    Attachment: asterisk_sip_causes.patch

Apply with -p1.

> 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.13.1
>            Reporter: Jaco Kroon
>         Attachments: asterisk_sip_causes.patch
>
>
> 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