Hello,
you have to set the ping interval parameter: http://kamailio.org/docs/modules/stable/modules_k/dispatcher.html#id2590104
I see that documentation says its default value is 10, but in sources is 0, which means this feature is disabled.
Cheers, Daniel
On 9/7/10 7:05 PM, Klaus Darilion wrote:
Hi!
I have some problems with 3.0 dispatcher module:
module configuration:
# ----- dispatcher ----- /* enable failover support */ modparam("dispatcher", "flags", 2) modparam("dispatcher", "dst_avp", "$avp(i:271)") modparam("dispatcher", "grp_avp", "$avp(i:272)") modparam("dispatcher", "cnt_avp", "$avp(i:273)")
If I understand correctly, then dispatcher should send OPTIONS once a destination is in "probe" mode. But this never happens, e.g. if I set "probe" mode manually, the destination is set to active again:
# kamctl fifo ds_list SET_NO:: 1 SET:: 1 URI:: sip:gucci.labs.nic.at flag=A URI:: sip:nvst.labs.nic.at flag=A # kamctl fifo ds_set_state i 1 sip:gucci.labs.nic.at # kamctl fifo ds_list SET_NO:: 1 SET:: 1 URI:: sip:gucci.labs.nic.at flag=I URI:: sip:nvst.labs.nic.at flag=A # kamctl fifo ds_set_state p 1 sip:gucci.labs.nic.at # kamctl fifo ds_list SET_NO:: 1 SET:: 1 URI:: sip:gucci.labs.nic.at flag=A URI:: sip:nvst.labs.nic.at flag=A
I also tried ds_probing_mode=1 which IIUC should send OPTIONS also to active destinations to find out if the destination is alive. But I never see any OPTIONS requests.
Is there something I am doing completely wrong?
thanks Klaus
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