No, it&#39;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&gt; 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">&lt;<a href="mailto:e.tylepov@btcom.kz" target="_blank">e.tylepov@btcom.kz</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Ain&#39;t what was set with &lt;x-PRE-PROCESS cmd=&quot;set&quot; ... 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>
&gt; Yes, it&#39;s okay. The pre-process does a set and ${unroll_loops} gets set as<br>
&gt; needed. Then this dp entry does the work:<br>
&gt;     &lt;extension name=&quot;unloop&quot;&gt;<br>
&gt;       &lt;condition field=&quot;${unroll_loops}&quot; expression=&quot;^true$&quot;/&gt;<br>
&gt;       &lt;condition field=&quot;${sip_looped_call}&quot; expression=&quot;^true$&quot;&gt;<br>
&gt;         &lt;action application=&quot;deflect&quot; data=&quot;${destination_number}&quot;/&gt;<br>
&gt;       &lt;/condition&gt;<br>
&gt;     &lt;/extension&gt;<br>
&gt;<br>
&gt; More info on sip_looped_call var:<br>
&gt; <a href="http://wiki.freeswitch.org/wiki/Variable_sip_looped_call" target="_blank">http://wiki.freeswitch.org/wiki/Variable_sip_looped_call</a><br>
&gt;<br>
&gt; -MC<br>
&gt;<br>
&gt; On Mon, Jan 14, 2013 at 9:33 PM, Ержан Тулепов<br>
&gt; &lt;<a href="mailto:e.tylepov@btcom.kz">e.tylepov@btcom.kz</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt; What unloop extension is used for? BTW: vars.xml pre-(process)-sets<br>
&gt; &gt; unroll_loops, whereas DPs (public and default) are using channel variable<br>
&gt; &gt; syntax? Is this ok?<br>
&gt; &gt;<br>
&gt; &gt; Y.<br>
&gt; &gt;<br>
&gt; &gt; _________________________________________________________________________<br>
&gt; &gt; Professional FreeSWITCH Consulting Services:<br>
&gt; &gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
&gt; &gt; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt; &gt;<br>
&gt; &gt; FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
&gt; &gt; <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
&gt; &gt;<br>
&gt; &gt; Official FreeSWITCH Sites<br>
&gt; &gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; &gt; <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
&gt; &gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt; &gt;<br>
&gt; &gt; FreeSWITCH-users mailing list<br>
&gt; &gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; &gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; &gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; &gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Michael S Collins<br>
&gt; Twitter: @mercutioviz<br>
&gt; <a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br>
&gt; <a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
&gt; <a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br>
&gt;<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>