<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
   "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">

<section id="mangler.parameters" xmlns:xi="http://www.w3.org/2001/XInclude">
    <sectioninfo>
    </sectioninfo>

    <title>Parameters</title>

    <section id="mangler.p.contact_flds_separator">
	<title><varname>contact_flds_separator</varname> (string)</title>
	<para>
	    First char of this parameter is used as a separator for
	    encoding/decoding Contact headers.
	    If you set this parameter to "-",
	    then an encoded URI will look like "sip:user-password-ip-port-protocol@PublicIP"
	</para>
	<warning>
	    <para>
		The first character of this field must be set to a value which is not
		used inside username, password or other fields of
		contact. Otherwise it is possible for the decoding step to
		fail/produce wrong results.
	    </para>
	</warning>
	<para>
	    Default value is "*".
	</para>
	<example>
	    <title>Set <varname>db_url</varname> parameter</title>
	    <programlisting>
...
modparam("mangler", "contact_flds_separator", "-")
...
	    </programlisting>
	</example>
    </section>

</section>
