[Asterisk-Users] Passing Argument to AGI

Eric Wieling eric at fnords.org
Tue Mar 23 16:12:29 MST 2004


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

On Tue, 2004-03-23 at 16:32,  wrote:
> 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];
> $var = $ARGV[1];
> but still can not get the passing variable value.

-- 
          Eric Wieling * BTEL Consulting * 504-899-1387 x2111
"In a related story, the IRS has recently ruled that the cost of Windows
upgrades can NOT be deducted as a gambling loss."




More information about the asterisk-users mailing list