Hi Alex,
I don't see "auto-probing" in the documentation.. here is my dispatcher config that I snatched from somewhere on the Internet.
modparam("dispatcher", "db_url", "mysql://xxxxxxx/kamailio") #Use DBURL variable for database parameters modparam("dispatcher", "flags", 2) # If flag 2 is set, then the failover support is enabled. modparam("dispatcher", "table_name", "dispatcher") modparam("dispatcher", "ds_ping_interval", 5) #How often to ping destinations to check status modparam("dispatcher", "ds_ping_method", "OPTIONS") #Send SIP Options ping modparam("dispatcher", "ds_probing_threshold", 5) #How many failed pings in a row do we need before we consider it down modparam("dispatcher", "ds_inactive_threshold", 10) #How many sucessful pings in a row do we need before considering it up modparam("dispatcher", "ds_ping_latency_stats", 1) #Enables stats on latency modparam("dispatcher", "ds_probing_mode", 1) #Keeps pinging gateways when state is known (to detect change in state)
On 3/12/23, 8:28 PM, "Alex Balashov" <abalashov@evaristesys.com mailto:abalashov@evaristesys.com> wrote:
Unless you have auto-probing enabled, yes.
On Mar 12, 2023, at 9:14 PM, Jawaid Bazyar <bazyar@gmail.com mailto:bazyar@gmail.com> wrote:
Hi, is this expected behavior? I have two target hosts in a dispatcher set, 10.20.20.118 (prio 5) and 10.20.20.252 (prio 10). When I have 10.20.20.252 turned off, dispatcher still tries to send packets to that host, even when the status flags are IP. root@vs-rs01:/etc/kamailio# kamcmd dispatcher.list { NRSETS: 1 RECORDS: { SET: { ID: 1 TARGETS: { DEST: { URI: sip:10.20.20.252:5060 FLAGS: IP PRIORITY: 10 LATENCY: { AVG: 0.000000 STD: 0.000000 EST: 0.000000 MAX: 0 TIMEOUT: 62 } } DEST: { URI: sip:10.20.20.118:5060 FLAGS: AP PRIORITY: 5 LATENCY: { AVG: 3.876000 STD: 2.965000 EST: 5.058000 MAX: 14 TIMEOUT: 0 } } } } } } __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-leave@lists.kamailio.org mailto:sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: