[Freeswitch-users] Playing Google translation tts

Peter Steinbach lists at telefaks.de
Fri Jan 14 05:08:28 MSK 2011


Yesterday I updated a test FS (make current on Ubuntu) and that one
played the file successfully.
I have not tried it with our main FS (on Debian where the problem
occured) yet. So I don't know yet, whether it's from FS or from any
library used.

Best regards
Peter
mazilo schrieb:
> 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 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 at 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 at 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 at 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.
>   


-- 
With kind regards
Peter Steinbach 

Telefaks Services GmbH
mailto:lists (att) telefaks.de
Internet: www.telefaks.de





More information about the FreeSWITCH-users mailing list