[asterisk-users] Re: AGI() in 1.2 and 1.4

Tony Mountifield tony at softins.clara.co.uk
Sat Oct 7 01:34:00 MST 2006


In article <645FEC31A18FE54A8721500CDD55A7B6035D0B5C at mail.oneeighty.com>,
Douglas Garstang <dgarstang at oneeighty.com> wrote:
> I was experimenting with FastAGI in Asterisk 1.4 and wrote some code around it. I was using
> the AGISTATUS variable to determine if I had been able to connect to the fast agi server,
> and act accordingly.
> 
> 1.2 appears to be different. It has no such AGISTATUS variable, but more importantly, it
> appears that if you fail to connect to your FastAGI server, all dial plan processing just
> stops dead. Is there a way around this?

Yes, I modified my 1.2 code to set AGISTATUS instead of just returning -1.

If you mean "is there any way around it without touching C?", I think the
answer is "No".

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