[asterisk-users] AGI PHP script

2009-04-23 Thread James A. Shigley
I have the below script that doesn't seem to be working. I don't know if I have something in the script wrong that I am just missing. Or if I don't have the php.ini set correctly for emailing This is the CLI output -- Executing [4099xxx...@port3_real:1] Goto(DAHDI/50-1, newhire,s,1) in

Re: [asterisk-users] AGI PHP script

2009-04-23 Thread Geraint Lee
Check you can run the script from th ecommand line and successfully send email... have you considered using phpagi for your scripts? 2009/4/23 James A. Shigley j...@answeringserv.com I have the below script that doesn’t seem to be working. I don’t know if I have something in the script wrong

Re: [asterisk-users] AGI PHP script

2009-04-23 Thread Nhadie
you can try enabling agi debug on your console, you might be able to see if there's an error on your agi script. nhadie James A. Shigley wrote: I have the below script that doesn’t seem to be working. I don’t know if I have something in the script wrong that I am just missing. Or if I

Re: [asterisk-users] AGI PHP script

2009-04-23 Thread Ruddy Gbaguidi
...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of James A. Shigley Sent: April-23-09 12:26 PM To: asterisk-users@lists.digium.com Subject: [asterisk-users] AGI PHP script I have the below script that doesn't seem to be working. I don't know if I have something in the script

Re: [asterisk-users] AGI PHP script

2009-04-23 Thread Mik Cheez
This is the right suggestion: Run something like the following: [h...@mouth tmp]# echo this is a test | newhire.php If the script runs, check your maillog (/var/log/maillog) to see if there's any evidence of what may have happened. Geraint Lee wrote: Check you can run the script from th

Re: [asterisk-users] AGI PHP script

2009-04-23 Thread James A. Shigley
of nothing From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Ruddy Gbaguidi Sent: Thursday, April 23, 2009 11:57 AM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: Re: [asterisk-users] AGI PHP script First run /var

Re: [asterisk-users] AGI PHP script

2009-04-23 Thread Steve Edwards
Un-top-posting and de-crufting, with some comments cast inline... 2009/4/23 James A. Shigley j...@answeringserv.com mailto:j...@answeringserv.com I have the below script that doesn?t seem to be working. I don?t know if I have something in the script wrong that I am just missing.

[Asterisk-Users] AGI/php script not working

2004-05-20 Thread Jer
Dear all I am just getting started with AGI so I wrote the following script as a simple test but all that happens is silence before it times out and hangs up can someone help to get me started? yet if i use the agi-test.agi script everything works I don't see the difference Thanks php -q ?php

Re: [Asterisk-Users] AGI/php script not working

2004-05-20 Thread Iain Stevenson
'SAY NUMBER 123 #* isn't a valid * command - it should be saynumber followed by a valid string of arguments. Do a show application saynumber in *. Iain --On Thursday, May 20, 2004 7:14 am -0400 Jer [EMAIL PROTECTED] wrote: Dear all I am just getting started with AGI so I wrote the following

Re: [Asterisk-Users] AGI/php script not working

2004-05-20 Thread Apollon Koutlides
Iain Stevenson wrote: 'SAY NUMBER 123 #* isn't a valid * command - it should be saynumber followed by a valid string of arguments. Do a show application saynumber in *. In the meantime, you might as well try a show agi yourself :-) Apollon Koutlides

Re: [Asterisk-Users] AGI/php script not working

2004-05-20 Thread Iain Stevenson
OK, but I have AGI working and you don't - so please allow me the error since it's a while since I worked on this, Of course, it would help if * used consistent syntax for identical commands in extensions.conf and AGI, but that's another debate. Why not check the logs for php and * and post

Re: [Asterisk-Users] AGI/php script not working

2004-05-20 Thread Philipp von Klitzing
Hi! I am just getting started with AGI so I wrote the following script as a simple test but all that happens is silence before it times out and hangs up can someone help to get me started? Look here: http://www.voip-info.org/wiki-Asterisk+AGI+php php -q ?php fputs(STDOUT 'SAY

Re: [Asterisk-Users] AGI/php script not working

2004-05-20 Thread Jer
At 08:47 AM 5/20/2004, you wrote: -vvvc mode I see *CLI -- Executing Wait(Phone/phone0, 1) in new stack -- Executing Answer(Phone/phone0, ) in new stack -- Executing AGI(Phone/phone0, test.php) in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/test.php -- AGI Script