Summary:ASTERISK-06605: [Patch] added parsing for festivalcommand variable from config file
Reporter:Matt Robinson (mrobinson)Labels:
Date Opened:2006-03-23 12:17:31.000-0600Date Closed:2006-05-09 00:30:34
Versions:Frequency of
Environment:Attachments:( 0) festival.patch
Description:The 'festivalcommand' variable when read from the .conf file does not parse the escaped characters, '\n' and friends. This patch solves this problem for backslashes(\\) and newlines(\n).
Comments:By: Russell Bryant (russell) 2006-03-24 09:06:23.000-0600

Why would you need to insert a newline character?  Could you provide an example that shows why you're having a problem?

By: Matt Robinson (mrobinson) 2006-03-24 11:22:26.000-0600

The default festivalcommand in the config file is "(tts_textasterisk "%s" 'file)(quit)\n" and when set, does not actually send the newline at the end. Also, for interfacing with FreeTTS, a different festivalcommand is required "TTS\n16000\n%s"

By: Tilghman Lesher (tilghman) 2006-05-09 00:30:34

Committed to trunk