No, it's available globally, whether used with $${} or ${} notation. You can also see it from fs_cli:<br><br><span style="font-family:courier new,monospace">freeswitch@default> global_getvar unroll_loops<br>true<br>
</span><br>More info about $${} vs. ${} is found <a href="http://wiki.freeswitch.org/wiki/Channel_Variables#.24.7Bvariable.7D_vs._.24.24.7Bvariable.7D">here</a>.<br><br>-MC<br><br><div class="gmail_quote">On Tue, Jan 15, 2013 at 8:09 PM, Ержан Тулепов <span dir="ltr"><<a href="mailto:e.tylepov@btcom.kz" target="_blank">e.tylepov@btcom.kz</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Ain't what was set with <x-PRE-PROCESS cmd="set" ... gets set *only* when used in $${...} notation?<br>
<br>
----- Original Message -----<br>
From: Michael Collins [mailto:<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>]<br>
To: FreeSWITCH Users Help [mailto:<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>]<br>
Sent: Wed, 16 Jan 2013 06:54:12 +0600<br>
Subject: Re: [Freeswitch-users] Unloop extension<br>
<br>
<br>
> Yes, it's okay. The pre-process does a set and ${unroll_loops} gets set as<br>
> needed. Then this dp entry does the work:<br>
> <extension name="unloop"><br>
> <condition field="${unroll_loops}" expression="^true$"/><br>
> <condition field="${sip_looped_call}" expression="^true$"><br>
> <action application="deflect" data="${destination_number}"/><br>
> </condition><br>
> </extension><br>
><br>
> More info on sip_looped_call var:<br>
> <a href="http://wiki.freeswitch.org/wiki/Variable_sip_looped_call" target="_blank">http://wiki.freeswitch.org/wiki/Variable_sip_looped_call</a><br>
><br>
> -MC<br>
><br>
> On Mon, Jan 14, 2013 at 9:33 PM, Ержан Тулепов<br>
> <<a href="mailto:e.tylepov@btcom.kz">e.tylepov@btcom.kz</a>> wrote:<br>
><br>
> > What unloop extension is used for? BTW: vars.xml pre-(process)-sets<br>
> > unroll_loops, whereas DPs (public and default) are using channel variable<br>
> > syntax? Is this ok?<br>
> ><br>
> > Y.<br>
> ><br>
> > _________________________________________________________________________<br>
> > Professional FreeSWITCH Consulting Services:<br>
> > <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
> > <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
> ><br>
> > FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
> > <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
> ><br>
> > Official FreeSWITCH Sites<br>
> > <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
> > <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
> > <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
> ><br>
> > FreeSWITCH-users mailing list<br>
> > <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
> > <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> > UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> > <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
> ><br>
><br>
><br>
><br>
> --<br>
> Michael S Collins<br>
> Twitter: @mercutioviz<br>
> <a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br>
> <a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
> <a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br>
><br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Michael S Collins<br>Twitter: @mercutioviz<br><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br><a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br><br>