[Freeswitch-users] Playing Google translation tts

Peter Steinbach lists at telefaks.de
Thu Jan 13 02:06:45 MSK 2011


Norman,

I have the feeling it may be reated to this one, at least the error
mssage looks the same.
  http://jira.freeswitch.org/browse/FS-2942
We have a rather new GIT version of Freeswitch, so maybe it's just in a
newer version?

Best regards
Peter


Norman Tomlins schrieb:
> 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>
>
>
> Norman Tomlins
> http://www.VoiceNetwork.ca
>
>
>
> On Wed, Jan 12, 2011 at 4:14 PM, Peter Steinbach <lists at telefaks.de> wrote:
>   
>> Has anybody tried to play tts files downloaded from Google transation
>> service?
>>
>> I can download them as mp3 but FS refused to play it.
>>  2011-01-12 13:43:46.340378 [ERR] mod_shout.c:800 Error: MPG123 Error
>> at __FILE__:__LINE__.
>>  2011-01-12 13:43:46.340378 [ERR] mod_shout.c:803 Error from mpg123:
>> Invalid mpg123 handle. (code 10)
>>
>> File format is
>>  MPEG ADTS, layer III, v2,  32 kbps, 22.05 kHz, Monaural
>>
>> If I convert it to wav with lame/ffmpeg/mpg123, the quality is of the
>> played wav file after conversion is not good (distortions).
>>
>> So anybody had success in playing this on Freeswitch?
>>
>> --
>> With kind regards
>> Peter Steinbach
>>
>> mailto:lists (att) telefaks.de
>> Internet: www.telefaks.de
>>
>>
>>
>> _______________________________________________
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>     
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>   


-- 
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