[SR-Users] Dispatcher is using gateways in Probing mode

alex pappas rebel.pappas at gmail.com
Fri Nov 12 12:58:15 CET 2010


Dear all,

Does anyone can explain how Dispatcher module is sending calls to the
gateways in the different states?

I mean if I have 3 gateways and the one of them is in Probing mode why
Dispatcher is continuing sending there calls? Why this gateway is not
changing from Probing to Inactive since is not replaying to OPTIONS messages
send by Kamailio?

Configuration:

modparam("dispatcher", "flags", 2)
modparam("dispatcher", "ds_ping_interval", 5)
modparam("dispatcher", "ds_probing_mode", 1)
modparam("dispatcher", "ds_probing_threshhold", 2)
modparam("dispatcher", "dst_avp", "$avp(s:dst_avp)")
modparam("dispatcher", "grp_avp", "$avp(dsgrp)")
modparam("dispatcher", "cnt_avp", "$avp(i:202)")
modparam("dispatcher", "ds_append_branch", 0)

using db for gw:

setid 123,destination sip:xxx.xxxx.xxx, flag 0 ...

in ROUTE:
if(ds_select_domain("$avp(s:disp_dstgrp)", "4"))

in Failure Route

if(!ds_next_domain())

I want Dispatcher when it sees a node gateway that is dead , to Not send any
other calls.

Thank you in advance

Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20101112/d929bec6/attachment.htm>


More information about the sr-users mailing list