I’m setting a channel variable in the dial plan, with the set application. In rare cases where the originator cancels the call, it happens that the set command is not executed and the value of the variable is null. To preset the variable I tried set it in vars.xml, but it seems I can only use the variable in the dial plan, but it’s not set in the channel variables posted by mod_xml_cdr. Is there a proper way to preset channel variables? Thanks and Regards Markus
Please provide example of dialplan extension where var initialized. On Fri, Jul 10, 2015, 15:27 Markus Bönke <mbodbg@gmx.net> wrote:
I’m setting a channel variable in the dial plan, with the set application. In rare cases where the originator cancels the call, it happens that the set command is not executed and the value of the variable is null. To preset the variable I tried set it in vars.xml, but it seems I can only use the variable in the dial plan, but it’s not set in the channel variables posted by mod_xml_cdr. Is there a proper way to preset channel variables?
Thanks and Regards
Markus _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
Markus Bönke
-
Sergey Safarov