[asterisk-users] Centrale FastAgi server down
Arjan Kroon | Mobillion
Arjan.Kroon at mobillion.nl
Fri Jun 26 06:07:07 CDT 2009
Hi,
Your correct, this the best way.
But we don't have any 'balancing' on the localhost.
In some cases we have to connect directly to a central database. (we
have only one central database)
If the machine where the central database is running on, is down, than
FastAgi will try to connect to this machine, but fails and the
application will go to the hangup clause.
Is there a environment option that I can set, so that FastAgi won't go
to the hangup clause, but go the the next line in the dailplan.
Regards,
Arjan Kroon
-----Oorspronkelijk bericht-----
Van: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] Namens Michiel van Baak
Verzonden: 26-06-2009 11:29
Aan: asterisk-users at lists.digium.com
Onderwerp: Re: [asterisk-users] Centrale FastAgi server down
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
More information about the asterisk-users
mailing list