[asterisk-bugs] [JIRA] (ASTERISK-21113) app_dial.c does not honor "c"-flag when calling party hangs up

Matt Jordan (JIRA) noreply at issues.asterisk.org
Mon Feb 18 18:17:58 CST 2013


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

Matt Jordan commented on ASTERISK-21113:
----------------------------------------

It's one of the various Dial options:

{quote}
c - If the Dial() application cancels this call, always set the flag to tell the channel driver that the call is answered elsewhere.
{quote}

This probably got nuked in 11 via the HangupCause work.
                
> app_dial.c does not honor "c"-flag when calling party hangs up
> --------------------------------------------------------------
>
>                 Key: ASTERISK-21113
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21113
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_dial
>    Affects Versions: 11.2.0, 11.2.1
>         Environment: Gentoo-built Asterisk 11.2.1
>            Reporter: Heiko Wundram
>            Assignee: Heiko Wundram
>         Attachments: app_dial.patch
>
>
> app_dial.c does not honor a passed "c"-flag when dialing out and the caller hangs up. This occurs due to a possible reset of the hangupcause on the dialled outgoing channels.
> Updating the hanguptree() after the out:-label in dial_exec_full to not only set up AST_CAUSE_ANSWERED_ELSEWHERE when the incoming channel signals it, but also when OPT_CANCEL_ELSEWHERE is set, fixes the issue and Call-Completed-Elsewhere is properly sent out in the Reason-header.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list