[SR-Users] dispatcher problem

Klaus Darilion klaus.mailinglists at pernau.at
Tue Sep 7 19:05:28 CEST 2010


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



More information about the sr-users mailing list