[Freeswitch-users] Playing Google translation tts

mazilo Nabble at slickdeals.endjunk.com
Fri Jan 14 04:47:13 MSK 2011

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 at
2011-01-13 20:41:57.388295 [ERR] mod_shout.c:800 Error: MPG123 Error at
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 at entering state [ready][200]
2011-01-13 20:41:57.402589 [NOTICE] switch_core_state_machine.c:189
sofia/internal/1003 at has executed the last dialplan instruction,
hanging up.
2011-01-13 20:41:57.402589 [DEBUG] switch_channel.c:2535
(sofia/internal/1003 at 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-tp5916138p5920422.html
Sent from the freeswitch-users mailing list archive at Nabble.com.

More information about the FreeSWITCH-users mailing list