In the later versions, you could use the following parameter:
3.23. ds_probing_mode (int)
Controls what gateways are tested to see if they are reachable. If set to 0, only the gateways with state PROBING are tested, if set to 1, all gateways are tested. If set to 1 and the response is 408 (timeout), an active gateway is set to PROBING state.
Default value is “0”.
Example 1.24. Set the “ds_probing_mode” parameter
... modparam("dispatcher", "ds_probing_mode", 1) ...
In this case, the Dispatcher module would send a OPTIONS-request to all the gateways and if it replies with a "200 OK", enable them again....
Carsten
2011/6/29 vaad.fabi@gmail.com vaad.fabi@gmail.com:
Hi all,
Is it possible to autochange gateway's state from pending to active after gw get up ?
http://www.kamailio.org/docs/modules/1.4.x/dispatcher.html says only about ping caused autochange state from active to pending, but nothing about change gw's state back.
-- Vadim F.
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users