Hello,
I'm experiencing an issue with the dispatcher module where setting a destination state to "IX" (Inactive + No probing) using dispatcher.set_duid_state doesn't stop OPTIONS probing.
Configuration: modparam("dispatcher", "ds_probing_mode", 1) modparam("dispatcher", "ds_ping_method", "OPTIONS") modparam("dispatcher", "ds_ping_interval", 60)
Steps: - Destination is being probed normally - Execute: kamcmd dispatcher.set_duid_state ix 11 ma5q - kamcmd dispatcher.list shows FLAGS: "IX" - SIP OPTIONS continue being sent to this destination
I was expecting that marking the destination with the X flag would stop the probing. Is this incorrect behavior or do I need to use other ds_probing_mode value?
I'm using kamailio version 5.8.4
Thanks, Regards, Tiago Serra
Hello,
On 25.11.25 15:01, Tiago Serra via sr-users wrote:
Hello,
I'm experiencing an issue with the dispatcher module where setting a destination state to "IX" (Inactive + No probing) using dispatcher.set_duid_state doesn't stop OPTIONS probing.
Configuration: modparam("dispatcher", "ds_probing_mode", 1) modparam("dispatcher", "ds_ping_method", "OPTIONS") modparam("dispatcher", "ds_ping_interval", 60)
Steps:
- Destination is being probed normally
- Execute: kamcmd dispatcher.set_duid_state ix 11 ma5q
- kamcmd dispatcher.list shows FLAGS: "IX"
- SIP OPTIONS continue being sent to this destination
I was expecting that marking the destination with the X flag would stop the probing. Is this incorrect behavior or do I need to use other ds_probing_mode value?
I'm using kamailio version 5.8.4
docs say that if ds_probing_mode = 1, all gateways are pinged:
https://www.kamailio.org/docs/modules/stable/modules/dispatcher.html#dispatc...
Cheers, Daniel
i think yoy should use probing mode 2 instead: " inactive mode and only if Probing is set".
Atenciosamente / Kind Regards / Cordialement / Un saludo,
*Sérgio Charrua*
*www.kahea.ai http://www.kahea.ai / www.voip.pt http://www.voip.pt*
*OpenTelecom* - Consulting for Telecoms, Lda Tel.: +351 callto:+351+91+104+12+6691 631 11 44
Email : *sergio.charrua@voip.pt sergio.charrua@voip.pt*
This message and any files or documents attached are strictly confidential or otherwise legally protected.
It is intended only for the individual or entity named. If you are not the named addressee or have received this email in error, please inform the sender immediately, delete it from your system and do not copy or disclose it or its contents or use it for any purpose. Please also note that transmission cannot be guaranteed to be secure or error-free.
On Tue, 25 Nov 2025 at 14:35, Daniel-Constantin Mierla via sr-users < sr-users@lists.kamailio.org> wrote:
Hello, On 25.11.25 15:01, Tiago Serra via sr-users wrote:
Hello,
I'm experiencing an issue with the dispatcher module where setting a destination state to "IX" (Inactive + No probing) using dispatcher.set_duid_state doesn't stop OPTIONS probing.
Configuration: modparam("dispatcher", "ds_probing_mode", 1) modparam("dispatcher", "ds_ping_method", "OPTIONS") modparam("dispatcher", "ds_ping_interval", 60)
Steps:
- Destination is being probed normally
- Execute: kamcmd dispatcher.set_duid_state ix 11 ma5q
- kamcmd dispatcher.list shows FLAGS: "IX"
- SIP OPTIONS continue being sent to this destination
I was expecting that marking the destination with the X flag would stop the probing. Is this incorrect behavior or do I need to use other ds_probing_mode value?
I'm using kamailio version 5.8.4
docs say that if ds_probing_mode = 1, all gateways are pinged:
https://www.kamailio.org/docs/modules/stable/modules/dispatcher.html#dispatc...
Cheers, Daniel
-- Daniel-Constantin Mierla (@ asipto.com)twitter.com/miconda -- linkedin.com/in/miconda Kamailio Consultancy, Training and Development Services -- asipto.com Kamailio Advanced Training, Dec 1-4, 2025 -- asipto.com
Kamailio - Users Mailing List - Non Commercial Discussions -- sr-users@lists.kamailio.org To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender!
Thanks for your answers, I understood wrong the documentation and thought that even with ds_probing_mode = 1, I could skip some entries setting them with 'X'.
I changed to ds_probing_mode = 3, and now it works as I wanted, it will stop probing when I change the state to 'X' and it will start again when I change to 'P'.
Thanks! Tiago