[Freeswitch-users] Differences for setting global variable

Michael Collins msc at freeswitch.org
Tue Oct 9 21:51:01 MSD 2012


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 at 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 at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121009/c3f1dbe6/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list