There is a difference between "say" and "speak". The say modules require you to download sound files. The speak application requires at least one TTS engine installed and running. I think you might need to go back and re-read the say and speak entries on the wiki to make sure that you know which one you should be using.<div>
<br></div><div>-MC<br><br><div class="gmail_quote">2011/6/1 Kozak Vladimir <span dir="ltr"><<a href="mailto:vkozak@abisoft.spb.ru">vkozak@abisoft.spb.ru</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#ffffff">
<div><font size="2" face="Arial">Hello all.</font></div>
<div><font size="2" face="Arial">In example for "play_and_get_digits"
dialplan app I see next extension. <a href="http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_play_and_get_digits" target="_blank"><font size="3" face="Times New Roman">http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_play_and_get_digits</font></a></font></div>
<span style="text-transform:none;text-indent:0px;border-collapse:separate;font:medium 'Times New Roman';white-space:normal;letter-spacing:normal;color:rgb(0,0,0);word-spacing:0px"><span style="line-height:19px;font-family:sans-serif;font-size:13px"><pre style="border-bottom:rgb(47,111,171) 1px dashed;border-left:rgb(47,111,171) 1px dashed;padding-bottom:1em;line-height:1.1em;background-color:rgb(249,249,249);padding-left:1em;padding-right:1em;color:black;border-top:rgb(47,111,171) 1px dashed;border-right:rgb(47,111,171) 1px dashed;padding-top:1em">
<extension name="play_and_get_digits with say">
<condition field="destination_number" expression="^(6500)$">
<action application="play_and_get_digits" data="1 1 1 3000 # say:'press one for technicial support' silence_stream://250 res \d+" />
</condition>
</extension></pre>
<div><font size="2">This extension say somethin and get user DTMF.</font></div>
<div><font size="2">I need say digits and numbers on various (EN and ES)
languages.</font></div>
<div><font size="2">
<div><font size="2"><span lang="EN">It's possible to specify these vars for "say"
dialplan application <a href="http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_say" target="_blank">http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_say</a>.
And it works correctly.</span></font></div>
<div><font size="2"><span lang="EN"></span></font> </div></font></div>
<div><font size="2">Could you tell me How can I set language and <span lang="EN">say_type for tts_engine in "play_and_get_digits" app
case?</span></font></div>
<div><font size="2"><span lang="EN"></span></font> </div>
<div><font size="2"><span lang="EN">I try to use next extension, but it don't work
(FS take 'es NUMBER 1234567' as <text_to_say> and say all this text
on English):</span></font></div>
<div><font size="2"><span lang="EN"> <extension
name="read_extension3"><br>
<condition field="destination_number"
expression="^7890$"><br>
<action
application="answer"/><br>
<action application="set"
data="tts_engine=flite"/><br>
<action application="set" data="tts_voice=kal"/><br> <action
application="play_and_get_digits" data="1 1 1 3000 # say:'es NUMBER 1234567'
/usr/local/freeswitch/sounds/starpound/silence.wav read_result \d+"
/><br>
<action application="event"
data="Event-App-Type=READ-EXECUTED,Read-Result=${read_result}"/><br>
<action application="log"
data="Read-Result=${read_result}"/><br>
<action application="park"/></span></font></div>
<div><font size="2"><span lang="EN">
</condition><br> </extension></span></font></div>
<div><font size="2"><span lang="EN"></span></font> </div>
<div><font size="2"><span lang="EN">Also I try to set vars:</span></font></div>
<div><font size="2"><span lang="EN">
<action application="set"
data="tts_engine=cepstral"/><br>
<action application="set" data="tts_voice=maria"/>
<!-- ES lang --><br>and get failed
result:</span></font></div>
<div><font size="2"><span lang="EN">EXECUTE <a href="mailto:sofia/internal/1007@172.26.200.250:5060" target="_blank">sofia/internal/1007@172.26.200.250:5060</a>
play_and_get_digits(1 1 1 3000 # say:'1234567'
/usr/local/freeswitch/sounds/starpound/silence.wav read_result
\d+)<br>2011-06-05 22:58:33.661014 [ERR] switch_core_speech.c:61 Invalid speech
module [cepstral]!<br>2011-06-05 22:58:33.661014 [ERR]
switch_ivr_play_say.c:2361 Invalid TTS
module!<br></span></font></div></span></span></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></div>