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

Heiko Wundram (JIRA) noreply at issues.asterisk.org
Fri Feb 15 10:16:58 CST 2013


Heiko Wundram created ASTERISK-21113:
----------------------------------------

             Summary: 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.1, 11.2.0
         Environment: Gentoo-built Asterisk 11.2.1
            Reporter: Heiko Wundram


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