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
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
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
...@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
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
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
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.
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
'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
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
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
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
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
13 matches
Mail list logo