Can you confirm: are you trying to use TTS or the say engine? These are two completely different subjects. If you want to use TTS then you need the &quot;speak&quot; app, not the &quot;say&quot; app:<div><a href="http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_speak">http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_speak</a></div>
<div><br></div><div>-MC<br><br><div class="gmail_quote">On Wed, Jun 22, 2011 at 12:53 PM, Wes <span dir="ltr">&lt;<a href="mailto:wes-fs@499x.com">wes-fs@499x.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I&#39;m trying to convert an example from a dialplan:<br>
<br>
<a href="http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_play_and_get_digits#Examples" target="_blank">http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_play_and_get_digits#Examples</a><br>
<br>
&lt;extension name=&quot;play_and_get_digits with say&quot;&gt;<br>
   &lt;condition field=&quot;destination_number&quot; expression=&quot;^(6500)$&quot;&gt;<br>
     &lt;action application=&quot;play_and_get_digits&quot; data=&quot;1 1 1 3000 # say:&#39;press one for technical support&#39; silence_stream://250 res \d+&quot; /&gt;<br>
   &lt;/condition&gt;<br>
&lt;/extension&gt;<br>
<br>
into a lua statement like this:<br>
<br>
  digits = session:playAndGetDigits(1, 1, 1, 3000, &quot;#&quot;, &quot;say:&#39;press one for technicial support&#39;<br>
&quot;, &quot;say:&#39;invalid entry&#39;&quot;, &quot;\\d+&quot;)<br>
<br>
but I&#39;m having trouble with the quoting.  The log says:<br>
<br>
2011-06-22 14:40:52.614654 [ERR] switch_ivr_play_say.c:1144 Invalid Args<br>
<br>
I can&#39;t find any lua examples that use both playAndGetDigits and &quot;say&quot;<br>
<br>
any suggestions?<br>
<br>
<br>
_______________________________________________<br>
Join us at ClueCon 2011, Aug 9-11, Chicago<br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<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>
</blockquote></div><br></div>