[asterisk-bugs] [JIRA] (ASTERISK-29447) Is the SIP response code accessible through the AMI

Joshua C. Colp (JIRA) noreply at issues.asterisk.org
Mon May 24 04:46:17 CDT 2021


    [ https://issues.asterisk.org/jira/browse/ASTERISK-29447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=254991#comment-254991 ] 

Joshua C. Colp commented on ASTERISK-29447:
-------------------------------------------

I should also add that you could probably combine UserEvent[1] and hangup causes[2] to send a specific event already, but I haven't tested it.

[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+18+ManagerAction_UserEvent
[2] https://wiki.asterisk.org/wiki/display/AST/Hangup+Cause

> Is the SIP response code accessible through the AMI
> ---------------------------------------------------
>
>                 Key: ASTERISK-29447
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29447
>             Project: Asterisk
>          Issue Type: Improvement
>      Security Level: None
>          Components: Core/General
>    Affects Versions: 18.4.0
>         Environment: any
>            Reporter: Tom Thompson
>            Assignee: Tom Thompson
>
> When a call is terminates only an ISDN cause code is visible in the Hangup event, even if the call is over SIP
> In the Asterisk mapping of SIP->ISDN there is no 1-to-1 relationship between ISDN codes and SIP response codes. Many given ISDN cause codes can result from a number number of SIP responses. The original SIP response that terminated the call is not available in the Hangup.
> Background:
> Many  SIP providers do not adhere well to simple protocol "standards" , and if a call passes through a number or originating, transit and terminating providers, the level and accuracy of information provided back to the originator may be determined by the lowest-common-denominator in the chain. The result may be variable or inaccurate response codes. 
> As a provider of telephony systems in over 30 countries over the past 25 years, I have seen some pitiful national environments for accurate ISDN information. When SIP replaces or layer-on to good ISDN environments there is usually a further loss of data. In the formerly bad ISDN environments It can result in a digital telephony network that is little better than analogue. 
>  However, any SIP environment, be it national or private, there are often idiosyncrasies  that can be accounted for and corrected if only the SIP response code was available.



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



More information about the asterisk-bugs mailing list