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

Mathieu Decaffmeyer (JIRA) noreply at issues.asterisk.org
Tue Dec 19 06:21:08 CST 2017


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

Mathieu Decaffmeyer commented on ASTERISK-20676:
------------------------------------------------

Sorry, this was many years ago. I didn't have the opportunity to test the patch and I am no longer active on that Asterisk project.

> ${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
>         Attachments: channel.diff
>
>
> 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 was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list