Module: kamailio
Branch: master
Commit: 20610684ebdd5cc8ec4d66929f32235b38c3cca9
URL: 
https://github.com/kamailio/kamailio/commit/20610684ebdd5cc8ec4d66929f32235b38c3cca9

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
Date: 2026-05-22T09:48:39+02:00

rtp_media_server: docs for contact_user

---

Modified: src/modules/rtp_media_server/doc/rtp_media_server_admin.xml

---

Diff:  
https://github.com/kamailio/kamailio/commit/20610684ebdd5cc8ec4d66929f32235b38c3cca9.diff
Patch: 
https://github.com/kamailio/kamailio/commit/20610684ebdd5cc8ec4d66929f32235b38c3cca9.patch

---

diff --git a/src/modules/rtp_media_server/doc/rtp_media_server_admin.xml 
b/src/modules/rtp_media_server/doc/rtp_media_server_admin.xml
index 44dda416dc2..cdb03f7c7cb 100644
--- a/src/modules/rtp_media_server/doc/rtp_media_server_admin.xml
+++ b/src/modules/rtp_media_server/doc/rtp_media_server_admin.xml
@@ -113,6 +113,25 @@
                <programlisting format="linespecific">
 ...
 modparam("rtp_media_server", "log_file_name", "/var/log/rms/rms_ortp.log")
+...
+               </programlisting></example>
+       </section>
+       <section>
+       <title><varname>contact_user</varname> (int)</title>
+               <para>
+               If set to 1, the username used in Contact headers generated by 
the
+               module is taken from the user part of the INVITE To header URI.
+               If disabled, the module keeps the current behavior and derives 
the
+               username from its local URI, falling back to 
<literal>rms</literal>.
+               </para>
+               <para>
+               Default value is 0.
+               </para>
+               <example>
+               <title>contact_user example</title>
+               <programlisting format="linespecific">
+...
+modparam("rtp_media_server", "contact_user", 1)
 ...
                </programlisting></example>
        </section>

_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to