[asterisk-users] Re: Passing Arguments to FastAGI

Tony Mountifield tony at softins.clara.co.uk
Wed Oct 4 03:34:00 MST 2006


In article <645FEC31A18FE54A8721500CDD55A7B6035D0B3B at mail.oneeighty.com>,
Douglas Garstang <dgarstang at oneeighty.com> wrote:
> 
> How does one do this?

Just append anything you like to the URL, and it will end up in
the AGI variable agi_network_script.

e.g.

exten => _X.,1,AGI(agi://localhost:4573/begin/serv1)

When the FastAGI is called, you get the following variables (plus others):

agi_network='yes'
agi_network_script='begin/serv1'
agi_request='agi://localhost:4573/begin/serv1'

Cheers
Tony
-- 
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org


More information about the asterisk-users mailing list