Re: [Asterisk-Users] More than one param to AGI

2003-06-20 Thread Steven Critchfield
Just a timtowtdi comment, use setvar and get the args from that. You will get the added benifit of having the args named and not be position sensitive. As of late I have been very happy with the idea of passing hashes in perl to get away from postitional variables. I'm not sure if the call to ag

[Asterisk-Users] More than one param to AGI

2003-06-20 Thread Eric Wieling
I'm starting to write an AGI script. I want to pass more than one parameter to the script, but seem to be unable to. extensions.conf: exten => 85,1,AGI(/etc/asterisk/agi/args.agi,myarg1,myarg2) args.agi: #!/usr/bin/perl print STDERR "FNORD prog = $0\n"; print STDERR "FNORD arg 1 = $A