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
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