<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt">this seems to be a perfect job for a Lua or javascript script. You can program the whole IVR menu in it.<br><br><div><span></span></div><div><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;">  <div style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1">  <font face="Arial" size="2"> <b><span style="font-weight:bold;">From:</span></b> Brian Foster &lt;bdfoster@davri.com&gt;<br> <b><span style="font-weight: bold;">To:</span></b> FreeSWITCH Users Help &lt;freeswitch-users@lists.freeswitch.org&gt; <br> <b><span style="font-weight: bold;">Sent:</span></b> Tuesday, August 6, 2013 4:26 AM<br> <b><span style="font-weight: bold;">Subject:</span></b>
 [Freeswitch-users] IVR - Dial by extension<br> </font> </div> <div class="y_msg_container"><br><div id="yiv9743761821"><div dir="ltr">In the dialplan, I use something like this as a condition for the Local Extension "extension":<div><br></div><div>&lt;condition field="${user_exists id ${destination_number} $${domain}}" expression="^true$"&gt;<br>

</div><div><br></div><div>I was wondering if there was something you could do to have a similar behavior when creating IVR menus. Has anyone tried this? Our extensions don't fit a particular format, other than 4 digits, so checking beforehand whether the user id exists would be ideal before transferring.</div>

<div><br></div><div><div><div dir="ltr">Thank you,<div><br></div><div>Brian Foster</div><div>Project Manager/Owner's Representative</div><div>Davri Investments, Incorporated</div><div>P: +1-317-787-2686</div><div>M: +1-317-600-9753</div>

<div>Indianapolis, Indiana</div></div></div>
</div></div></div><br>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a ymailto="mailto:consulting@freeswitch.org" 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 ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org"
 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></div> </div> </div> </blockquote></div>   </div></body></html>