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.
Hello all.In example for "play_and_get_digits" dialplan app I see next extension. http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_play_and_get_digits<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>This extension say somethin and get user DTMF.I need say digits and numbers on various (EN and ES) languages.It's possible to specify these vars for "say" dialplan application http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_say. And it works correctly.Could you tell me How can I set language and say_type for tts_engine in "play_and_get_digits" app case?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):<extension name="read_extension3">
<condition field="destination_number" expression="^7890$">
<action application="answer"/>
<action application="set" data="tts_engine=flite"/>
<action application="set" data="tts_voice=kal"/>
<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+" />
<action application="event" data="Event-App-Type=READ-EXECUTED,Read-Result=${read_result}"/>
<action application="log" data="Read-Result=${read_result}"/>
<action application="park"/></condition>
</extension>Also I try to set vars:<action application="set" data="tts_engine=cepstral"/>
<action application="set" data="tts_voice=maria"/> <!-- ES lang -->
and get failed result:EXECUTE sofia/internal/1007@172.26.200.250:5060 play_and_get_digits(1 1 1 3000 # say:'1234567' /usr/local/freeswitch/sounds/starpound/silence.wav read_result \d+)
2011-06-05 22:58:33.661014 [ERR] switch_core_speech.c:61 Invalid speech module [cepstral]!
2011-06-05 22:58:33.661014 [ERR] switch_ivr_play_say.c:2361 Invalid TTS module!
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org