Use phrase macros as Brian said.<br><br><div class="gmail_quote">On Thu, Sep 24, 2009 at 1:09 PM, Brian West <span dir="ltr">&lt;<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="word-wrap: break-word;">You can also use phrase macros.  (and no its not just for TTS ;)  )<div><br></div><font color="#888888"><div>/b</div></font><div class="im"><div><br><div><div>On Sep 24, 2009, at 2:02 AM, Michael Collins wrote:</div>
<br><blockquote type="cite"><span style="border-collapse: separate; font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">Make sure that mod_file_string is built and loaded and then try the syntax that is described here:<br>
<a href="http://wiki.freeswitch.org/wiki/Mod_file_string#Examples" target="_blank">http://wiki.freeswitch.org/wiki/Mod_file_string#Examples</a><br><br>Instead of a comma separated list you can use ! and be sure NOT to put a space after the ! because the function delimits the arguments with spaces. Try something like this:<br>
<br>$conn-&gt;execute(&quot;play_and_get_digits&quot;, 1 1 1000 # /usr/local/freeswitch/en/us/callie/sounds/ivr/please.wav!/usr/local/freeswitch/en/us/callie/sounds/ivr/press-1.wav  /usr/loca/freeswitch/en/us/callie/sounds/ivr/invalid.wav res<span> </span><a>\\d+</a>);<br>
<br>Let us know how it goes.<br>-MC<br></span></blockquote></div><br></div></div></div><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>