[Freeswitch-users] seek suggestion on TTS option

Ken Rice krice at suspicious.org
Sun Apr 20 23:23:02 PDT 2008


The later option would be preferable...  But I would probably do something
like rsync them onto the box and use a ram drive



From: Pete Kay <petedao at gmail.com>
Reply-To: <freeswitch-users at lists.freeswitch.org>
Date: Mon, 21 Apr 2008 14:09:43 +0800
To: <freeswitch-users at lists.freeswitch.org>
Subject: [Freeswitch-users] seek suggestion on TTS option

Hi, 

I have a question about TTS efficiency.  I have some text that I need to
read out when someone calls in and these texts do change.  Here are two
options I am thinking about:
In my configuration, I would have DB and FS on different servers.  DB server
is SCSI.

Option 1:Store the text in DB

Within JS:
1.Get the text  from DB
2. use system (command) to create a wav file on locate file system
3. Use playback to play the wav file


Option 2: Pre-created the file using NFS ( at the same machine as DB)
Within JS:
1. Get the filename from DB
2. Get the wav file from NFS
3. Use playback to play the wav file


In a highly-loaded environment, which option would be preferable considering
speed and efficiency?

Is there other better option?

Any input will be greatly appreciated.

Thanks,
Pete


_______________________________________________
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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080421/87434b98/attachment-0002.html 


More information about the FreeSWITCH-users mailing list