[A*UG] passing args to AGI scripts
jimfreeze at gmail.com
Mon Jun 12 00:35:56 CDT 2006
On Jun 11, 2006, at 8:00 PM, Gil Kloepfer wrote:
> It depends on which language you're writing the AGI script in.
> In perl, it's @ARGV. In C, it's the *argv you typically use
> as an argument list for "main".
> Note that in reality, the "path to the script itself" being
> given by Asterisk isn't really true. It happens that argv in C
> does give the line it was invoked with, but in perl that isn't
> the case.
Thanks Gil. Wayne helped me to realize it was passing those args
on the command line. You would think someone could actually
mention that in the docs....c-o-m-m-a-n-d-l-i-n-e. Now, was that so
More information about the Austin-Asterisk-Users-Group