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? Doug.
There is a patch that allows a jump to N + 101. Thanks, Steve> -----Original Message----- > From: Douglas Garstang [mailto:dgarstang@oneeighty.com] > Sent: Friday, October 06, 2006 4:28 PM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: [asterisk-users] AGI() in 1.2 and 1.4 > > 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 hadbeen> able to connect to the fast agi server, and act accordingly. > > 1.2 appears to be different. It has no such AGISTATUS variable, butmore> importantly, it appears that if you fail to connect to your FastAGI > server, all dial plan processing just stops dead. Is there a wayaround> this? > > Doug. > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
In article <645FEC31A18FE54A8721500CDD55A7B6035D0B5C@mail.oneeighty.com>, Douglas Garstang <dgarstang@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@softins.co.uk - http://www.softins.co.uk Play: tony@mountifield.org - http://tony.mountifield.org