|Summary:||ASTERISK-00878: app_festival connects to festival server via socket even if cache is used|
|Date Opened:||2004-01-19 10:11:40.000-0600||Date Closed:||2011-06-07 14:05:02|
|Description:||App_festival always opens socket to festival server, then checks to see if cache file exists. On my system (RH9) closing the festival socket connection without doing anything with festival threw festival for a spin with a run away thread.|
****** ADDITIONAL INFORMATION ******
Have two possible options for this, would like direction on desired direction before I work on a diff file.
1. Before closing festival connection when using cache, send the quit command to festival, then close connection. This works, however, this requires festival to be up and running even if using the cached entry.
2. Restructure app_festival to look for cache file first. If one exists, use it without EVER connecting to festival server. If no cache file exists, THEN connect to the festival server, send text, write cache file, proceed as normal. This option allows festival to be down if all your text is cached already.
Please add comments on desired direction. Already have tested both to some degree. Need to know what version is preferred
|Comments:||By: iain (iain) 2004-01-19 11:23:45.000-0600|
Does the cache even work? Didn't seem to make any difference to me. Personally, I'd like to see a simple rewrite of app_festival that does one thing - processes a text file and reliably sends audio. It seems to have problems with this at the moment because of its channel handling.
By: Brian West (bkw918) 2004-01-19 12:27:14.000-0600
it should work.. the patch for that was applied a few weeks back.
By: iain (iain) 2004-01-20 03:11:42.000-0600
It writes files in the specified cache directory but I can't see any difference in performance from using the cache. So it just seems to be an unnecessary extra feature.
By: woofie (woofie) 2004-01-25 12:14:48.000-0600
Based upon limited response, I will work on a patch that implements option 2.
This way some folks that have all there items cached will not require festival server to be up.
By: Olle Johansson (oej) 2004-03-21 10:55:41.000-0600
Any update? Still a bug?
By: twisted (twisted) 2004-04-18 11:04:43
HouseKeeping - Closed due to no response since 3-21-04.