[A*UG] passing args to AGI scripts

Jim Freeze jimfreeze at gmail.com
Sun Jun 11 19:51:56 CDT 2006


Hiya

I can't seem to find out how to get arguments into an agi script.  
Even the documentation seems
contradictory.

One source of docs says that

    AGI scripts *always* receive two arguments. The first argument is  
the full path to the script itself. The second argument is the stuff  
passed in from the "exten" line.


Then, they go on to show nothing of the sort:

The list of items received will look something like this:


    agi_request: test.py

    agi_channel: Zap/1-1

    agi_language: en

    agi_type: Zap

    agi_callerid:

    agi_dnid:

    agi_context: default

    agi_extension: 3

    agi_priority: 1


Where does one get this argument list at?

Thanks

Jim Freeze



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://buzzard.onr.com/pipermail/austin-asterisk-users-group/attachments/20060611/79f832fd/attachment.htm


More information about the Austin-Asterisk-Users-Group mailing list