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

Rusty Newton (JIRA) noreply at issues.asterisk.org
Mon Feb 18 18:59:59 CST 2013


Rusty Newton created ASTERISK-21136:
---------------------------------------

             Summary: app_dial.c does not honor 'c' flag when calling party hangs up
                 Key: ASTERISK-21136
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21136
             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: Rusty Newton


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