It does error when I run it from the CLI with error:<br><br>sh: -p: command not found<br><br>I am assuming that it is referring to this line in phpagi.php<br><br>shell_exec("{$this->config['cepstral']['swift']} -p audio/channels=1,audio/sampling-rate=$frequency $voice -o $fname.wav -f $fname.txt");
<br><br><div><span class="gmail_quote">On 11/15/06, <b class="gmail_sendername">Jay Moore</b> <<a href="mailto:jaymoore@accu-com.com">jaymoore@accu-com.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
1) Try giving it an extension (say .gsm) and seeing if that works. Make<br>sure you change both the file and your script.<br><br>2) Does the rest of the script work? If you run './test.php', do you<br>get any errors?<br>
<br>Jay<br><br>Tom Vile wrote:<br>> There are no file extensions. It is just<br>><br>> -rw-r--r-- 1 asterisk asterisk 32 Nov 15 12:52<br>> swift_082da06a422be49e3a475925d9fc50e6<br>> -rw-r--r-- 1 asterisk asterisk 7 Nov 15 12:52
<br>> swift_6fc422233a40a75a1f028e11c3cd1140<br>> -rw-r--r-- 1 asterisk asterisk 13 Nov 15 12:52<br>> swift_80339585692b0188288da14748213dcc<br>> -rw-r--r-- 1 asterisk asterisk 11 Nov 15 12:54<br>> swift_f87b365372c500c76e497087ac7e470a
<br>><br>><br>> On 11/15/06, Jay Moore <<a href="mailto:jaymoore@accu-com.com">jaymoore@accu-com.com</a>> wrote:<br>>><br>>> Are you including the file extension?<br>>><br>>> Jay<br>
>><br>>> Tom Vile wrote:<br>>> > I am trying to get the example input.php working from PHPAGI but it<br>>> will<br>>> > not<br>>> > playback the letters that I put in because of this error:
<br>>> ><br>>> > Nov 15 14:25:22 WARNING[18678] file.c: File<br>>> > /tmp/swift_f87b365372c500c76e497087ac7e470a does not exist in any<br>>> format<br>>> ><br>>> > But the file does exist and I see the entries for the key presses
<br>>> that I<br>>> > put<br>>> > in but it will not stream the file back to me using Cepstral.<br>>> ><br>>> > Asterisk 1.2.9<br>>> > CentOS 4.2<br>>> ><br>>> > Thanks,
<br>>> ><br>>> > Tom Vile<br>>> ><br>>> ><br>>> ><br>>> ------------------------------------------------------------------------<br>>> ><br>>> > _______________________________________________
<br>>> > --Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br>>> ><br>>> > asterisk-users mailing list<br>>> > To UNSUBSCRIBE or update options visit:
<br>>> > <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>>> _______________________________________________<br>>> --Bandwidth and Colocation provided by
<a href="http://Easynews.com">Easynews.com</a> --<br>>><br>>> asterisk-users mailing list<br>>> To UNSUBSCRIBE or update options visit:<br>>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>>><br>><br>><br>><br>><br>> ------------------------------------------------------------------------<br>><br>> _______________________________________________
<br>> --Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br>><br>> asterisk-users mailing list<br>> To UNSUBSCRIBE or update options visit:<br>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>_______________________________________________<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br><br>asterisk-users mailing list
<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br><br clear="all"><br>
-- <br>Tom Vile<br>Baldwin Technology Solutions, Inc<br>Consulting - Web Design - VoIP Telephony<br><a href="http://www.baldwintechsolutions.com">www.baldwintechsolutions.com</a><br>Phone: 518-631-2855 x205<br>Fax: 518-631-2856