Hello, probing means in this context sending OPTIONS pings, yes.
In mode 1 you can disable the probing by setting flag 4 to the destination in the dispatcher file, according to the docs. Cheers, Henning -----Original Message----- From: Henning Westerholt <h...@gilawa.com> Sent: Montag, 13. März 2023 15:55 To: Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org> Subject: [SR-Users] Re: Dispatcher behavior Hello, not sure what the "auto-probing" mode is, but you can configure the dispatcher OPTIONS ping behaviour with that parameter: https://kamailio.org/docs/modules/5.5.x/modules/dispatcher.html#dispatcher.p.ds_probing_mode Cheers, Henning -----Original Message----- From: Jawaid Bazyar <baz...@gmail.com> Sent: Montag, 13. März 2023 14:33 To: Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org> Subject: [SR-Users] Re: Dispatcher behavior 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" <abalas...@evaristesys.com <mailto:abalas...@evaristesys.com>> wrote: Unless you have auto-probing enabled, yes. > On Mar 12, 2023, at 9:14 PM, Jawaid Bazyar <baz...@gmail.com > <mailto:baz...@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-le...@lists.kamailio.org > <mailto:sr-users-le...@lists.kamailio.org> > Important: keep the mailing list in the recipients, do not reply only to the > sender! > Edit mailing list options or unsubscribe: -- Alex Balashov Principal Consultant Evariste Systems LLC Web: https://evaristesys.com <https://evaristesys.com> Tel: +1-706-510-6800 __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-le...@lists.kamailio.org <mailto:sr-users-le...@lists.kamailio.org> Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-le...@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-le...@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-le...@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: