[asterisk-users] Re: Return data from Fast AGI

Tony Mountifield tony at softins.clara.co.uk
Fri Aug 18 01:24:48 MST 2006


In article <645FEC31A18FE54A8721500CDD55A7B6035D0A6F at mail.oneeighty.com>,
Douglas Garstang <dgarstang at oneeighty.com> wrote:
> 
> Given that all you have on the client side is:
> 
> exten => _X.,1,AGI(agi://server.gumby.com)
> 
> ... how do you send commands?

The other thing you can do, if you want the same FastAGI server to do
different things from different points in the dialplan is to add another
part to the URL. e.g.

exten => _X.,1,AGI(agi://server.gumby.com/begin)
...
exten => h,1,DeadAGI(agi:://server.gumby.com/end)

In the above cases, agi_network_script will be set to "begin" or "end"
respectively, and the server can decide what to do based on that.

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