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

Rusty Newton (JIRA) noreply at issues.asterisk.org
Fri Feb 15 13:42:59 CST 2013


Rusty Newton created ASTERISK-21116:
---------------------------------------

             Summary: ${HANGUPCAUSE_KEYS()} returns nothing if I don't Dial()
                 Key: ASTERISK-21116
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21116
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Functions/func_hangupcause
    Affects Versions: 11.0.0
            Reporter: Mathieu Decaffmeyer
            Assignee: Matt Jordan


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