Make one extension to set vars then call transfer to another one that does things based on the vars.<div><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Nov 4, 2012 at 9:33 AM, Brian Wiese <span dir="ltr">&lt;<a href="mailto:brian.wiese.freeswitch@gmail.com" target="_blank">brian.wiese.freeswitch@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">What&#39;s happening is that you&#39;re trying to use cellPhone as a built-in<br>
variable when instead it is a channel variable that you&#39;ve set (read<br>
the whole Variables section of this Wiki page:<br>
<a href="http://wiki.freeswitch.org/wiki/Dialplan_XML#Variables" target="_blank">http://wiki.freeswitch.org/wiki/Dialplan_XML#Variables</a>).<br>
<br>
Try &quot;&lt;condition field=&quot;${cellPhone}&quot; expression.......&quot;<br>
<span class="HOEnZb"><font color="#888888"><br>
~Brian<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Sat, Nov 3, 2012 at 11:20 PM, D&#39;Arcy J.M. Cain &lt;<a href="mailto:darcy@vex.net">darcy@vex.net</a>&gt; wrote:<br>
&gt; On Sat, 3 Nov 2012 22:58:43 -0400<br>
&gt; &quot;D&#39;Arcy J.M. Cain&quot; &lt;darcy@Vex.Net&gt; wrote:<br>
&gt;&gt; &gt; work.   However, there is a way to get what you want by adding<br>
&gt;&gt; &gt; inline=&quot;true&quot; to the action when you set variables so they actually<br>
&gt;&gt; &gt; are set immediately and won&#39;t count in the list of work.  This only<br>
&gt;&gt; &gt; works for set and a small list of apps.<br>
&gt;&gt;<br>
&gt;&gt; Definitely not what I want in this case.<br>
&gt;<br>
&gt; I think I misunderstood.  I read &quot;immediately&quot; as being at reloadxml<br>
&gt; time.  I see that it means during the hunting phase.  I modified my<br>
&gt; dialplan but it still isn&#39;t quite right.  See the updated pastebin:<br>
&gt;<br>
&gt; <a href="http://pastebin.freeswitch.org/20168" target="_blank">http://pastebin.freeswitch.org/20168</a><br>
&gt;<br>
&gt; See the log extract at the end.  It shows cellPhone being set to<br>
&gt; something but when it tests it it is blank.<br>
&gt;<br>
&gt; --<br>
&gt; D&#39;Arcy J.M. Cain<br>
&gt; System Administrator, Vex.Net<br>
&gt; <a href="http://www.Vex.Net/" target="_blank">http://www.Vex.Net/</a> IM:darcy@Vex.Net<br>
&gt;<br>
&gt; _________________________________________________________________________<br>
&gt; Professional FreeSWITCH Consulting Services:<br>
&gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
&gt; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt; FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
&gt; <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
&gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&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; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><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>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900<br>
</div>