<div dir="ltr">Juan are you trying to do a <condition field="realm" expression="xyz"> if so, those in my experience are not accessible if they've been set inside of the call, what you'll have to do is run a lua/javascript/python/ect and do your comparisons in there, its easy enough, and gives you far more flexibility on how to handle the underlying data.<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Aug 8, 2014 at 11:05 PM, Juan Cabrio <span dir="ltr"><<a href="mailto:juancabrio@gmail.com" target="_blank">juancabrio@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><br></div>Hi,<br><br></div>I know this has been discussed before but i'm failing to either understand fundamentals or just tie it together. <br>
</div><div>I'm using originate to submit a tiff to the txfax application. No problem there.<br>
In my originate command i'm also setting a custom variable called "realm" which I use to tie an originate command to a customer. <br>So i was trying to match the realm in a dialplan and set a bunch of other variables per realm. I believe that I cannot use the custom variable in the dial plan to match on in an expression search.. So.. I'm kinda stuck and looking for suggestions. I really dont want to set all the variables in the originate command in this case. <br>
<br>thanks.<span class="HOEnZb"><font color="#888888"><br><br>Juan. <br></font></span></div></div>
<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></blockquote></div><br></div>