Norman Tomlins wrote:
Peter,
I have used this in the past and it has been working.
<extension name="Free_Google_Text_To_Speech"> <condition field="destination_number" expression="^2115$"> <action application="answer" data=""/> <action application="playback" data="shout://translate.google.com/translate_tts?tl=en&q=Buy+Cheap+dids+at+www+dot+voice+network+dot+see+eh"/> </condition> </extension>
Thanks Norman. I tried your dialplan above and got the following even though I have mod_shout loaded. EXECUTE sofia/internal/1003@192.168.1.15 playback(shout://translate.google.com/translate_tts?tl=en&q=Hello+,+It+is+me) 2011-01-13 20:41:57.388295 [ERR] mod_shout.c:800 Error: MPG123 Error at __FILE__:__LINE__. 2011-01-13 20:41:57.389383 [ERR] mod_shout.c:803 Error from mpg123: Invalid mpg123 handle. (code 10) 2011-01-13 20:41:57.397162 [DEBUG] sofia.c:4626 Channel sofia/internal/1003@192.168.1.15 entering state [ready][200] 2011-01-13 20:41:57.402589 [NOTICE] switch_core_state_machine.c:189 sofia/internal/1003@192.168.1.15 has executed the last dialplan instruction, hanging up. 2011-01-13 20:41:57.402589 [DEBUG] switch_channel.c:2535 (sofia/internal/1003@192.168.1.15) Callstate Change ACTIVE -> HANGUP ----- don't and stop are the ONLY two 4-letter words considered offensive to men, but not when used together. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Playing-Google-translation-tts... Sent from the freeswitch-users mailing list archive at Nabble.com.