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

Asterisk Team (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:all-tabpanel ]

Asterisk Team updated ASTERISK-20676:
-------------------------------------

    Assignee: Asterisk Team  (was: Mathieu Decaffmeyer)
      Status: Open  (was: Waiting for Feedback)

> ${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: Asterisk Team
>         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