[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 08:36:21 CST 2012


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

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

Can you please attach your entire dialplan illustrating how you are attempting to use the HANGUPCAUSE_KEYS?
                
> ${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
>
> 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