[Freeswitch-users] How to change global variable at runtime

Fabio Bigliardi fabio.bigliardi at gmail.com
Mon Jan 24 17:26:35 MSK 2011


Hi all,
I would like to define a global variable in vars.xml and then change
its value at runtime. This value has to be read in dialplan and in
fifo.conf.xml.
I tried *global_setvar* from the CLI but from the log I can see that
the $${var} is expanded to the old value set in vars.xml, not to the
new one.

What is the real effect of global_setvar command?

Have I got to somehow write vars.xml and then issue reloadxml in order
the change to take effect?

Thanks a lot for your support.

Best regards,
F. Bigliardi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110124/a13a089d/attachment.html 


More information about the FreeSWITCH-users mailing list