[Kamailio-Users] Failed gateway recovery with dispatcher.

Alex Balashov abalashov at evaristesys.com
Wed Sep 24 11:29:34 CEST 2008


There seems to be no way to assign a FAILURE-ROUTE to be associated with 
the OPTIONS pings either, because the transactions are originated 
internally by the module and not accessible via the stateful tracking 
within script.

So, the question remains -- how do I make Kamailio notice that the 
gateway has come back up so that it can be marked as active in the 
destination set again?

Alex Balashov wrote:

> How does one go about resurrecting gateways that have been marked into 
> "probing" mode back into the "active" set once they start replying to 
> the pings that the dispatcher facility sends?
> 
> I see the OPTIONS pings going through, and I see the UAs generating 
> replies to them whey come back up.  But OpenSER does nothing in response 
> to receipt of those replies to mark them as active again.
> 
> Because the OPTIONS request is not originated from script, there is no 
> way to catch the replies in an ONREPLY-ROUTE, otherwise I would have 
> tried to handle it that way and re-mark the gateways.
> 


-- 
Alex Balashov
Evariste Systems
Web    : http://www.evaristesys.com/
Tel    : (+1) (678) 954-0670
Direct : (+1) (678) 954-0671
Mobile : (+1) (706) 338-8599




More information about the sr-users mailing list