[asterisk-users] Centrale FastAgi server down
Steve Totaro
stotaro at totarotechnologies.com
Fri Jun 26 04:59:56 CDT 2009
Simpler solution.
What version of Asterisk. 1.2.x you had to enable (patch for) N+101, seems
later versions are more graceful.
http://www.voip-info.org/wiki/view/Asterisk+FastAGI
Error Handling+Asterisk 1.4 & 1.6.x As of Asterisk 1.4 a new channel
variable, AGISTATUS, is set to SUCCESS upon successful execution of an AGI.
If there was a problem connecting to the FastAGI service, the channel
variable is set to FAILURE, allowing the dialplan to perform alternate steps
as not to interrupt the call flow. If the calling channel hangs up during
execution of the AGI, AGISTATUS is set to HANGUP.
Asterisk 1.2 Under Asterisk 1.2, if a request to a FastAGI service failed
for any reason, the channel is hung up. There is a
patch<http://bugs.digium.com/view.php?id=4029>that addresses this
problem by having Asterisk look for an n+101 priority in
the event of a FastAGI failure, but this code is not included in Asterisk by
default.
Thanks,
Steve Totaro
On Fri, Jun 26, 2009 at 5:29 AM, Michiel van Baak <michiel at vanbaak.info>wrote:
> On 10:42, Fri 26 Jun 09, Arjan Kroon | Mobillion wrote:
> > Hi,
> >
> >
> >
> > How do you all handle the situation when a centrale fastagi server
> > process(es) are down? AGI(..) prints "Unable to locate host" and the
> > dailplan jumps to extension h.
> >
> > I'd like to handle the return value and keeping the caller in the
> > dailplan and not to the hangup extension.
> > Any tips about how to handle a AGI(..) returns -1 condition?
>
> Let it connect to localhost and use balance to handle the connection to
> a set of fastcgi servers so you have redundancy :)
>
> >
> > thx
> >
> > Arjan Kroon
> >
> > Mobillion BV
> >
> >
> >
> >
> >
>
> > _______________________________________________
> > -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> >
> > asterisk-users mailing list
> > To UNSUBSCRIBE or update options visit:
> > http://lists.digium.com/mailman/listinfo/asterisk-users
>
> --
>
> Michiel van Baak
> michiel at vanbaak.eu
> http://michiel.vanbaak.eu
> GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x71C946BD
>
> "Why is it drug addicts and computer aficionados are both called users?"
>
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
--
Thanks,
Steve Totaro
+18887771888 (Toll Free)
+12409381212 (Cell)
+12024369784 (Skype)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090626/e789e19b/attachment.htm
More information about the asterisk-users
mailing list