<p>AFAIK there is no variable expansion at this point in the IVR processing. If you need dynamic IVR the you're best bet is mod_xml_curl or mod_httapi. </p>
<p><shameless_plug><br>
The new FS 1.2 book has a great chapter on httapi as well as useful information on serving up dynamic configs via xml curl.<br>
</shameless_plug></p>
<p>-MC</p>
<div class="gmail_quote">On May 23, 2013 11:48 AM, "John M" <<a href="mailto:j_mj@aol.com">j_mj@aol.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<font color="black" face="Arial, Helvetica, sans-serif"><font>Hi list...<br>
<br>
<font>Is it valid to use a variable inside the digits="" element in an IVR?<br>
<br>
<font>Eg;<font> <entry action="menu-exec-app" digits="/^([${default_ivr_actionkeys}])$/" param="transfer $1 XML features"/><br>
<br>
<font>The value of </font></font></font></font></font><font><font><font><font><font><font><font><font><font>${default_ivr_actionkeys} is: 12345<br>
</font></font></font></font></font><br>
<font>It works if I <font>put the list of number in the regex manually b<font>ut when I<font> try using it with the variable</font></font></font> it won't work.</font><br>
<br>
<font>I <font>need</font> to </font>create a dynamic set of digits options for our IVR feature because di<font>fferent customers set different keyp<font>ress options and I need to dynamically generate this from a db.<br>
<br>
<font>Is there a better way?<br>
<br>
<font>Thanks,<br>
<font><font>Jm</font></font><br>
</font></font></font></font></font></font><br>
</font></font>
<font color="black" face="Arial, Helvetica, sans-serif">
</font></font><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>