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