Re: [asterisk-users] phpagi problem

2006-07-18 Thread Mauricio Mantilla
Yeah, I wrote it on a different file and it worked, i guess there was some hidden character in the script that was messing it up.Thank you anyway,Mauricio MantillaOn 7/17/06, Time Bandit [EMAIL PROTECTED] wrote: #!/usr/bin/php -q?php require('/var/lib/asterisk/agi-bin/phpagi.php'); $agi = new

Re: [asterisk-users] phpagi problem

2006-07-18 Thread VoIP Street
Mauricio Mantilla wrote: Yeah, I wrote it on a different file and it worked, i guess there was some hidden character in the script that was messing it up. Thank you anyway, Mauricio Mantilla On 7/17/06, *Time Bandit* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: #!/usr/bin/php -q

Re: [asterisk-users] phpagi problem

2006-07-17 Thread Time Bandit
#!/usr/bin/php -q ?php require('/var/lib/asterisk/agi-bin/phpagi.php'); $agi = new AGI(); $agi-say_digits(62410); $cid = $agi-get_variable(dir); $agi-say_digits($cid); ? I'm getting this error: parse error, unexpected '=' on line 6 I don't know why you're getting this error, it parse