[asterisk-bugs] [JIRA] (ASTERISK-20676) ${HANGUPCAUSE_KEYS()} returns nothing if I don't Dial()

Matt Jordan (JIRA) noreply at issues.asterisk.org
Mon Nov 12 10:32:21 CST 2012


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

Matt Jordan commented on ASTERISK-20676:
----------------------------------------

That still doesn't show the dialplan that causes the hangup handler to be executed.  What channel type are you testing with?  How are you hanging up the channel?

Please provide an entire portion of dialplan illustrating the problem and attach it to the issue.
                
> ${HANGUPCAUSE_KEYS()} returns nothing if I don't Dial()
> -------------------------------------------------------
>
>                 Key: ASTERISK-20676
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20676
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Functions/func_hangupcause
>    Affects Versions: 11.0.0
>            Reporter: Mathieu Decaffmeyer
>            Assignee: Mathieu Decaffmeyer
>
> HANGUPCAUSE_KEYS() returns the correct value after a Dial().
> But in the other cases, it returns nothing:
> In my Hangup Handler:
> same => n,Set(HANGUPCAUSE_STRING=${HANGUPCAUSE_KEYS()})
> So if I don't transfer the user with Dial(), and the user will disconnect before I transfer him, there is not any hangup cause available.

--
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