[asterisk-bugs] [JIRA] (ASTERISK-25819) AMI Hangup ignores hangup cause

Asterisk Team (JIRA) noreply at issues.asterisk.org
Mon Feb 29 05:24:56 CST 2016


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

Asterisk Team commented on ASTERISK-25819:
------------------------------------------

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

> AMI Hangup ignores hangup cause
> -------------------------------
>
>                 Key: ASTERISK-25819
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25819
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/General
>    Affects Versions: 11.21.2
>            Reporter: Dialapplet
>            Severity: Minor
>
> When a channel is hung up from asterisk manager during a call and a cause code is specified all works fine. But, when I try to hung up a channel that is in process of origination, it is hung up with cause 19, ignoring the cause I put on the action.
> For example:
> I do this orginate:
> {quote}
> Action: Originate
> Async: true
> Channel: SIP/100
> ...
> {quote}
> The channel is created:
> {quote}
> Event: Newchannel
> Channel: SIP/100-00000005
> Uniqueid: 1456738121.6
> ...
> {quote}
> I do the hang up action with cause code 17:
> {quote}
> Action: Hangup
> Cause: 17
> Channel: SIP/100-00000005
> ActionID: Hangup-100
> {quote}
> I receive the response:
> {quote}
> ActionID: Hangup-100
> Response: Success
> Message: Channel Hungup
> {quote}
> But the hangup event doesn't contain cause code 17:
> {quote}
> Event: Hangup
> Cause: 19
> Channel: SIP/100-00000005
> Uniqueid: 1456738121.6
> ...
> {quote}



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



More information about the asterisk-bugs mailing list