Hi Woody :) <br>You cannot use the variable on another extension, however you could just merge both extensions&#39; conditions.<br><br>then your only problem would be that you&#39;re not exporting the value, after set, you gotta export, look at this example (a little extract from dialplan/default.xml):<br>
<br><font size="1"><span style="font-family: courier new,monospace;"> &lt;extension name=&quot;Local_Extension&quot;&gt;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">   &lt;condition field=&quot;destination_number&quot; expression=&quot;^(10[01][0-9])$&quot;&gt;</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">     &lt;action application=&quot;set&quot; data=&quot;dialed_extension=$1&quot;/&gt;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">     &lt;action application=&quot;export&quot; data=&quot;dialed_extension=$1&quot;/&gt;</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">   &lt;/condition&gt;<br><br style="font-family: courier new,monospace;"></span><span style="font-family: courier new,monospace;">   &lt;condition field=&quot;destination_number&quot; expression=&quot;^${caller_id_number}$&quot;&gt;</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">     &lt;action application=&quot;set&quot; data=&quot;voicemail_authorized=${sip_authorized}&quot;$</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">     &lt;action application=&quot;answer&quot;/&gt;</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">     &lt;action application=&quot;sleep&quot; data=&quot;1000&quot;/&gt;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">     &lt;action application=&quot;voicemail&quot; data=&quot;check default ${domain_name} ${dialed_extension}&quot;/&gt;<br>
...<br>        &lt;anti-action application=&quot;bridge&quot; data=&quot;user/${dialed_extension}@${domain_name}&quot;/&gt;<br>      &lt;/condition&gt;<br>    &lt;/extension&gt;<br></span></font><br><br><br><div class="gmail_quote">
2009/6/3 Jason White <span dir="ltr">&lt;<a href="mailto:jason@jasonjgw.net">jason@jasonjgw.net</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">Woody Dickson &lt;<a href="mailto:woodydickson@gmail.com">woodydickson@gmail.com</a>&gt; wrote:<br>
&gt; I am getting a strange problem in my dialplan.<br>
&gt;<br>
&gt; After doing &quot;SET&quot;, I want to use it in the next condition field.  But then<br>
&gt; the value is not being set properly.<br>
<br>
</div>When parsing the dial plan, FreeSWITCH tests all of the conditions, then<br>
builds a linked list of actions to execute. Once this is done, the actions are<br>
executed, in order.<br>
<br>
This is why you can&#39;t simply set a variable in one extension and test it in<br>
the condition of a later extension.<br>
<div><div></div><div class="h5"><br>
<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>
</div></div></blockquote></div><br>