[asterisk-bugs] [JIRA] (ASTERISK-21217) pbx_spool: callfile variables overriding/lost in __ast_request_and_dial()

Matt Jordan (JIRA) noreply at issues.asterisk.org
Thu Mar 7 09:54:03 CST 2013


Matt Jordan created ASTERISK-21217:
--------------------------------------

             Summary: pbx_spool: callfile variables overriding/lost in __ast_request_and_dial()
                 Key: ASTERISK-21217
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21217
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Core/Channels, PBX/pbx_spool
    Affects Versions: 1.8.20.1
            Reporter: Roman S.
            Assignee: Matt Jordan
            Severity: Trivial


{{__ast_request_and_dial()}} calls {{ast_set_variables(chan, oh->vars)}} before {{ast_channel_inherit_variables(oh->parent_channel, chan)}} and before {{ast_channel_set_connected_line(chan, &connected, NULL)}}. It causes:
 1. overriding of some variables from oh struct with values from parent channel (if any)
 2. overriding/ignore of {{CONNECTEDLINE()}} function job from callfile
I suppose to call {{ast_set_variables(chan, oh->vars)}} just after {{ast_channel_set_connected_line(chan, &connected, NULL)}}.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list