Skip to content

Commit

Permalink
nat_traversal: docs for contact_match parameter
Browse files Browse the repository at this point in the history
(cherry picked from commit 91c30dc)
  • Loading branch information
miconda committed Apr 16, 2020
1 parent 426262c commit 4847785
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions src/modules/nat_traversal/doc/nat_traversal_admin.xml
Expand Up @@ -493,6 +493,36 @@ modparam("nat_traversal", "keepalive_extra_headers", "User-Agent: &kamailio;\r\n
<programlisting format="linespecific">
...
modparam("nat_traversal", "keepalive_state_file", "/var/run/kamailio/keepalive_state")
...
</programlisting>
</example>
</section>

<section>
<title><varname>contact_match</varname> (integer)</title>
<para>
Control how to match the contact URIs between requests and replies.
</para>
<para>
If set to 0, do string comparison. Use this mode when the contact URI
is not changed by registrar or proxy servers.
</para>
<para>
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).
</para>
<para>
<emphasis>
Default value is <quote>0</quote>.
</emphasis>
</para>
<example>
<title>Setting the <varname>contact_match</varname> parameter</title>
<programlisting format="linespecific">
...
modparam("nat_traversal", "contact_match", 1)
...
</programlisting>
</example>
Expand Down

0 comments on commit 4847785

Please sign in to comment.