diff --git a/src/modules/nat_traversal/doc/nat_traversal_admin.xml b/src/modules/nat_traversal/doc/nat_traversal_admin.xml index f5e8ef00f5a..1143e4a90b2 100644 --- a/src/modules/nat_traversal/doc/nat_traversal_admin.xml +++ b/src/modules/nat_traversal/doc/nat_traversal_admin.xml @@ -493,6 +493,36 @@ modparam("nat_traversal", "keepalive_extra_headers", "User-Agent: &kamailio;\r\n ... modparam("nat_traversal", "keepalive_state_file", "/run/kamailio/keepalive_state") +... + + + + +
+ <varname>contact_match</varname> (integer) + + Control how to match the contact URIs between requests and replies. + + + If set to 0, do string comparison. Use this mode when the contact URI + is not changed by registrar or proxy servers. + + + If set to 1, do light URI comparison (match URI type, user, host, + port and proto). Use this mode when the contact URI can be changed + by registrar or proxy servers (e.g., new parameters added, or the + order of parameters changed). + + + + Default value is 0. + + + + Setting the <varname>contact_match</varname> parameter + +... +modparam("nat_traversal", "contact_match", 1) ...