Well, remembering that TTS requires per-channel licensing, I would say avoid using it where possible to increase your call density per TTS channel license. Regards, Ben Langfeld On 21 September 2012 01:16, Malay Thakershi <mthakershi@gmail.com> wrote:
Thanks for responses. I will try these options.
But considering design internals of FS, what do you think is more efficient for playing a static audio file - TTS or WAV file on disk?
On Thu, Sep 20, 2012 at 2:02 PM, grmt <garmt.noname@gmail.com> wrote:
If you still want to use TTS, you may want to cache your generated TTS, e.g. http://www.tomp.co.uk/blog/view/23****
Note that your TTS license may not allow you to do so ...****
** **
Alternatively, you can gain some cpu cycles by setting cache_speech_handles to true in your dialplan.****
e.g****
<extension name=”use_tts”>****
<action application="set" data="cache_speech_handles=true"/>****
****
use tts****
use tts again****
</extension>****
** **
Not sure how many cycles you will gain though…****
** **
Garmt****
** **
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Avi Marcus *Sent:* Thursday, September 20, 2012 20:00 *To:* FreeSWITCH Users Help
*Subject:* Re: [Freeswitch-users] Speak vs. StreamFile****
** **
Give it a try... if you've got the volume, even better than wav is native file: http://wiki.freeswitch.org/wiki/Mod_native_file ****
-Avi****
** **
On Thu, Sep 20, 2012 at 8:56 PM, Malay Thakershi <mthakershi@gmail.com> wrote:****
Hello,****
** **
I am working on optimizing call flow code. I use Cepstral as TTS from FS managed module (C# .net code).****
** **
I suspect using Session.Speak is slowing down the call experience (prompt delay) when there are # of concurrent calls.****
** **
My question: does it help with performance if I create WAV file for each static prompt in advance and use Session.StreamFile instead of Session.Speak?****
** **
Any help is appreciated.****
** **
Malay****
** **
** **
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org****
** **
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org