Differences for setting global variable
Hi, What is the difference between <action application="set" data="res=${global_setvar variable=data}"/> And <action application="set_global" data="variable=data" /> Is one better than the other? Both seem to have same effect.. Thanks, Nathan
These do indeed have the same effect. I suspect that internally they end up calling the exact same core function(s). Personally I like the second one because it's a bit clearer to read. -MC On Fri, Oct 5, 2012 at 6:40 AM, Mr Nathan Downes <nathandownes@hotmail.com>wrote:
Hi,****
** **
What is the difference between****
** **
<action application="set" data="res=${global_setvar variable=data}"/>****
And****
<action application="set_global" data="variable=data" />****
** **
Is one better than the other? Both seem to have same effect..****
** **
Thanks,****
** **
Nathan****
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org
participants (2)
-
Michael Collins
-
Mr Nathan Downes