[asterisk-bugs] [JIRA] (ASTERISK-24682) app_dial: Multiple DialEnd events emitted when MACRO_RESULT or GOSUB_RESULT are an unexpected value

Matt Jordan (JIRA) noreply at issues.asterisk.org
Tue Jan 13 21:03:34 CST 2015


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


> app_dial: Multiple DialEnd events emitted when MACRO_RESULT or GOSUB_RESULT are an unexpected value
> ---------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-24682
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24682
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_dial, Core/Stasis
>    Affects Versions: 13.1.0
>            Reporter: Matt Jordan
>
> When a mid-Dial Macro or GoSub is used and the {{MACRO_RESULT}} or {{GOSUB_RESULT}} is set to a non-expected value, multiple DialEnd messages will be raised - one with the result of the channel variable, and another with ANSWER.
> As an example, setting {{MACRO_RESULT}} to {{HANGUP}} will result in the following two events:
> {noformat}
> [1421118888] DEBUG[24059] manager.c: Examining AMI event:
> Event: DialEnd^M
> Privilege: call,all^M
> Channel: Local/200 at foo-0000092d;2^M
> ChannelState: 4^M
> ChannelStateDesc: Ring^M
> CallerIDNum: 211^M
> CallerIDName: 211^M
> ConnectedLineNum: 200^M
> ConnectedLineName: 211^M
> Language: en^M
> AccountCode: ^M
> Context: foo^M
> Exten: 200^M
> Priority: 2^M
> Uniqueid: 1412477167.957^M
> DestChannel: PJSIP/200-00001f70^M
> DestChannelState: 6^M
> DestChannelStateDesc: Up^M
> DestCallerIDNum: 200^M
> DestCallerIDName: 211^M
> DestConnectedLineNum: 211^M
> DestConnectedLineName: 211^M
> DestLanguage: en^M
> DestAccountCode: ^M
> DestContext: dial-process-no-fax^M
> DestExten: 200^M
> DestPriority: 1^M
> DestUniqueid: 1421118887.68161^M
> DialStatus: HANGUP^M
> [1421118888] DEBUG[24059] manager.c: Examining AMI event:
> Event: DialEnd^M
> Privilege: call,all^M
> Channel: Local/200 at foo-0000092d;2^M
> ChannelState: 4^M
> ChannelStateDesc: Ring^M
> CallerIDNum: 211^M
> CallerIDName: 211^M
> ConnectedLineNum: 200^M
> ConnectedLineName: 211^M
> Language: en^M
> AccountCode: ^M
> Context: foo^M
> Exten: 200^M
> Priority: 2^M
> Uniqueid: 1412477167.957^M
> DestChannel: PJSIP/200-00001f70^M
> DestChannelState: 6^M
> DestChannelStateDesc: Up^M
> DestCallerIDNum: 200^M
> DestCallerIDName: 211^M
> DestConnectedLineNum: 211^M
> DestConnectedLineName: 211^M
> DestLanguage: en^M
> DestAccountCode: ^M
> DestContext: foo^M
> DestExten: 200^M
> DestPriority: 1^M
> DestUniqueid: 1421118887.68161^M
> DialStatus: ANSWER^M
> ^M
> {noformat}



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



More information about the asterisk-bugs mailing list