Skip to content

Commit bb97762

Browse files
AmygosCopilot
andcommitted
refactor: remove duplicate dispatcher modparam
Remove commented-out duplicate of dispatcher flags modparam. The active declaration is already present a few lines below. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 0f1dfa6 commit bb97762

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

modules/kamailio/config/kamailio.cfg

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ modparam("jsonrpcs", "pretty_format", 1)
113113
modparam("jsonrpcs", "transport", 1)
114114
modparam("dispatcher", "db_url", DBURL)
115115
modparam("dispatcher", "ds_ping_from", "sip:dispatcher@nethvoice.it")
116-
// modparam("dispatcher", "flags", 2) # If flag 2 is set, then failover support is enabled. The functions exported by the module will store the rest of addresses from the destination set in the AVP, and use these AVPs to contact next address if the current-tried destination fails.
117116
modparam("dispatcher", "ds_probing_mode", 2) # Value 2: if set to 2, only gateways in INACTIVE state with PROBING mode set are tested.
118117
modparam("dispatcher", "ds_ping_interval", 30) #With this parameter you can defined the interval for sending a request to a gateway marked as inactive upon a failed request routing to it. This parameter is only used, when the TM-Module is loaded. If set to “0”, the pinging of inactive gateway is disabled.
119118
modparam("dispatcher", "ds_ping_reply_codes", "class=2;code=403;code=488;code=401;class=3") #This parameter defines the valid response codes, which are accepted as a valid reply to the PING-Method. It is a list separated by colons, whery you may define either a single code (e.g. "code=202" would accept 202 as an additional, valid response) or a class of responses, you want to accept (e.g. "class=2" would accept everything from 200 to 299 as valid response). This parameter can be modified via ser config framework.

0 commit comments

Comments
 (0)