And use the flag 8, according Optionally, these fields can be followed by:
flags - control the mode of using the destination address and sending keepalives. It is a bitwise value that can be built using the following flags: 1 (bit at index 0 - 1 <<0) - inactive destination 2 (bit at index 1 - 1 <<1) - temporary trying destination (in the way to become inactive if it does not reply to keepalives - there is a module parameter to set the threshold of failures) 4 (bit at index 2 - 1 <<2) - admin disabled destination 8 (bit at index 3 - 1 <<3) - probing destination (sending keep alives); 16 (bit at index 4 - 1 <<4) - skip DNS A/AAAA resolve at startup, useful when the hostname of the destination address is a NAPTR or SRV record only. Such addresses cannot be matched anymore with ds_is_from_list(...). -----Original Message----- From: Valentin Christoph Sent: Tuesday, March 5, 2024 7:04 PM To: Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org> Cc: marek <cervaj...@gmail.com> Subject: RE: [SR-Users] dispatcher - sip options per gw You must set the module parameter ## probing mode 3 is necessary, if you want to selectively disable OPTIONS #!define DS_PROBING_MODE 3 # Actively query the gateways: modparam("dispatcher", "ds_probing_mode", DS_PROBING_MODE) Kr, Christoph -----Original Message----- From: marek via sr-users <sr-users@lists.kamailio.org> Sent: Tuesday, March 5, 2024 2:10 PM To: Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org> Cc: marek <cervaj...@gmail.com> Subject: [SR-Users] dispatcher - sip options per gw hi, i have kamailio gw (5.6.x) for voxbone. dispatcher module voxbone has separated inbound/outboud and prohibit sip options to "inbound" IP #traffic from voxbone 20 sip:81.201.82.45:5060;transport=udp 1 0 duid=abc;socket=udp:x.x.x.x:5060 #traffic TO voxbone 30 sip:81.201.89.110:5060;transport=udp 0 0 duid=abc;socket=udp:x.x.x.x:5060 is it possible send sip options per GW with dispatcher module? i tried flag "1 (bit at index 0 - 1 <<0) - inactive destination" https://www.kamailio.org/docs/modules/devel/modules/dispatcher.html#idm1059 Marek __________________________________________________________ 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: