I just got cepstal working fine in the dial plan using code like:<br><br>exten =&gt; 511,5,AGI(cepstral.pl|Welcome to my house finder.&nbsp; At the beep enter your zip code.)<br><br><br>The php script it calls is based on the nerdvittles weather one so it calls a webpage which prints to the screen, the nerdvittles code uses system to generate the .wav file then has the dial plan call it via:
<br><br>//php script<br>$retcode2 = system (&quot;flite -f&nbsp; $tmptext -o $tmpwave&quot;) ;<br><br>//extensions<br>exten =&gt; 411,9,NoOp(Wave file: ${TMPWAVE})<br>exten =&gt; 411,10,Playback(${TMPWAVE})<br><br><br>Since I am using capstral, I simply changed the line to below which works fine from the command line but when calling, I never hear it, it just hangs up.&nbsp; Is it timing out?&nbsp; Is there a better way to do this?&nbsp; How can I return just a string of Text to read so I don&#39;t have to create the .wav file then play it?
<br><br>$retcode2 = system (&quot;swift -n Diane -m text -f&nbsp; $tmptext -o $tmpwave&quot;) ;<br><br><br>Thanks!<br><br><br>