[asterisk-bugs] [JIRA] (ASTERISK-25912) chan_local passes AST_CONTROL_PVT_CAUSE_CODE without adding them to the local hangupcauses via ast_channel_hangupcause_hash_set

Jaco Kroon (JIRA) noreply at issues.asterisk.org
Mon Apr 11 12:28:56 CDT 2016


Jaco Kroon created ASTERISK-25912:
-------------------------------------

             Summary: chan_local passes AST_CONTROL_PVT_CAUSE_CODE without adding them to the local hangupcauses via ast_channel_hangupcause_hash_set
                 Key: ASTERISK-25912
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25912
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Channels/chan_local
    Affects Versions: 11.21.1
         Environment: asterisk on linux, no DAHDI
            Reporter: Jaco Kroon
            Severity: Critical


An extract of what we're seeing probably best describes the problem.  We channel a lot of calls via Local/ channels for various reasons, we need to be able to get the SIP cause code for a hangup off of one of those Local/ channels.  Basically we execute on IAX/a, create a Local/b;1 and Local/b;2 channel, on Local/b;2 a Dial() gets executed after which in that point of execution we need the SIP code.

HANGUPCAUSES() does get set correctly on the IAX2 channel, but not on the "inner" Local channel.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list