-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Ron
Sent: Friday, February 25, 2011 8:54 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] missing argument on AGI


Hi ben,

actually the ${OUTBOUND} is generated by the php... but based on what 
will be received on ${ARG1}. unfortunately i am not getting the value 
from the argument. not sure why. thanks again.

regards

Ron

This probably seems too elementary, but a "standard practice" I use with my
PERL AGI scripts is to run each of them from bash before I put them into the
dialplan so I have an idea how they will react.

In your particular case, you should be able to do this from bash:

$ php getchannel.php 100 (change 100 to what you are sending in the
dialplan)
The program should print back out 
"Set OUTBOUND=xxxx"

Until you get this output, you are wasting everyone's time.


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to