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

Walter Doekes (JIRA) noreply at issues.asterisk.org
Thu Aug 16 08:04:07 CDT 2012


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

Walter Doekes updated ASTERISK-20211:
-------------------------------------

    Assignee: Jaco Kroon
      Status: Waiting for Feedback  (was: Open)

Wasn't this fixed by this in 1.8?
{noformat}
$ svn log -r 368498
------------------------------------------------------------------------
r368498 | mmichelson | 2012-06-04 23:56:05 +0200 (Mon, 04 Jun 2012) | 14 lines

Relay proper SIP responses on calling side.

Revision 351130 broke corect HANGUPCAUSE setting
for the 404 case in chan_sip. Other cases were also
potentially broken. This patch fixes the relaying
of causes to be what they used to be.

(closes issue ASTERISK-19914)
Reported by Pavel Troller
Tested by Walter Doekes (via a reviewboard test to be committed later)
Patches:
	chan_sip.diff uploaded by Pavel Troller (license #6302)


------------------------------------------------------------------------
{noformat}

> 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
>            Assignee: Jaco Kroon
>         Attachments: asterisk_sip_causes.patch, 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