2012/1/24 Klaus Darilion klaus.mailinglists@pernau.at:
On 28.12.2011 17:12, Iñaki Baz Castillo wrote:
2011/12/28 Juha Heinanenjh@tutpro.com
further, you could define a timed route, and based on the htable, ping your gws.
Right, but is failure_route executed for those locally sent requests? I must check it.
Lat time I tried it the failure route was not triggered. I solved the problem by reversing the logic. "Pinging" the gateways every few seconds and increase the failure counter with every ping. If I get a response (reply routes work fine) I clear the failure counter. If the failure counter > 3 I disable the gateway.
It is all possible from kamailio.cfg, although the code is quite complex.
Thanks a lot. Indeed it seems too much complex, even more taking into account that the old 1.5 LCR module did include an integrated monitorization mechanism that just worked fine. That is a lost feature.