Re: [Asterisk-java-users] Playing the voice file returned by TTS Software?
Brought to you by:
srt
From: Yves A. <yv...@gm...> - 2013-06-03 15:06:12
|
asterisk can´t handle mp3 by default.... you have to compile support for mp3 (licence issues...)... or you convert mp3 to wav (att.: wav != wav...) or gsm after tts generation.... sox can help you there.... take a look in the log / verbose cli output to see, if any error occur... soundfile has to be in the right folder..! normally: /var/lib/asterisk/sounds/ and is addressed relatively to that path... use streamFile(file) in your AGI to stream the file to the caller... yves Am 03.06.2013 16:47, schrieb Rounak Saha: > Hello everyone, > > I have integrated my JAVA program(using asterisk-java) with a > text-to-speech software where I send a string to the TTS software and > it return me a .mp3 file (which can be converted to any desire format). > > Now I want this mp3 to be played to the caller. > > Which fastAGI command should I use to play the mp3? > > Do I have to first transfer my .mp3 file to Asterisk database and then > ask it to run it?If yes,How should I transfer? > > > > > > ------------------------------------------------------------------------------ > Get 100% visibility into Java/.NET code with AppDynamics Lite > It's a free troubleshooting tool designed for production > Get down to code-level detail for bottlenecks, with <2% overhead. > Download for free and get started troubleshooting in minutes. > http://p.sf.net/sfu/appdyn_d2d_ap2 > > > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users |