[Asterisk-Users] Passing Argument to AGI

Unavailable ID asterisk-users at betasphere.com
Tue Mar 23 15:32:40 MST 2004


Can someone help me with passing argument to agi script.  What I'm trying to this is execute agi script when hangup

h,1,AGI(hangup.agi|string-argv-2348448)

but can not get the argument variable passed to the hangup.agi script.

I have tried

$var = $ARGV[0];

or

$var = $ARGV[1];

but still can not get the passing variable value.

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040323/79bb1c91/attachment.htm


More information about the asterisk-users mailing list