Module: kamailio Branch: master Commit: 7601726581863fdc27a4d9ddb07e8ab0aa8f36c1 URL: https://github.com/kamailio/kamailio/commit/7601726581863fdc27a4d9ddb07e8ab0aa8f36c1
Author: Kamailio Dev <[email protected]> Committer: Kamailio Dev <[email protected]> Date: 2026-05-22T10:01:07+02:00 modules: readme files regenerated - rtp_media_server ... [skip ci] --- Modified: src/modules/rtp_media_server/README --- Diff: https://github.com/kamailio/kamailio/commit/7601726581863fdc27a4d9ddb07e8ab0aa8f36c1.diff Patch: https://github.com/kamailio/kamailio/commit/7601726581863fdc27a4d9ddb07e8ab0aa8f36c1.patch --- diff --git a/src/modules/rtp_media_server/README b/src/modules/rtp_media_server/README index a74f7a14e07..7355a1ce595 100644 --- a/src/modules/rtp_media_server/README +++ b/src/modules/rtp_media_server/README @@ -36,6 +36,7 @@ Julien Chavanton 4. Parameters 4.1. log_file_name (string) + 4.2. contact_user (int) 5. Functions @@ -49,12 +50,13 @@ Julien Chavanton List of Examples 1.1. log_file_name example - 1.2. rms_answer usage example - 1.3. rms_hangup usage example - 1.4. rms_bridge usage example - 1.5. rms_dialog_check usage example - 1.6. rms_sip_request usage example - 1.7. rms_play usage example + 1.2. contact_user example + 1.3. rms_answer usage example + 1.4. rms_hangup usage example + 1.5. rms_bridge usage example + 1.6. rms_dialog_check usage example + 1.7. rms_sip_request usage example + 1.8. rms_play usage example Chapter 1. Admin Guide @@ -73,6 +75,7 @@ Chapter 1. Admin Guide 4. Parameters 4.1. log_file_name (string) + 4.2. contact_user (int) 5. Functions @@ -142,6 +145,7 @@ Chapter 1. Admin Guide 4. Parameters 4.1. log_file_name (string) + 4.2. contact_user (int) 4.1. log_file_name (string) @@ -155,6 +159,20 @@ Chapter 1. Admin Guide modparam("rtp_media_server", "log_file_name", "/var/log/rms/rms_ortp.log") ... +4.2. contact_user (int) + + 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 rms. + + Default value is 0. + + Example 1.2. contact_user example +... +modparam("rtp_media_server", "contact_user", 1) +... + 5. Functions 5.1. rms_answer (event_route) @@ -172,7 +190,7 @@ modparam("rtp_media_server", "log_file_name", "/var/log/rms/rms_ortp.log") This function can be used from REQUEST_ROUTE, REPLY_ROUTE and FAILURE_ROUTE. - Example 1.2. rms_answer usage example + Example 1.3. rms_answer usage example ... event_route[rms:start] { xnotice("[rms:start] play ...\n"); @@ -204,7 +222,7 @@ route { This function can be used from EVENT_ROUTE. - Example 1.3. rms_hangup usage example + Example 1.4. rms_hangup usage example ... rms_hangup(); ... @@ -218,7 +236,7 @@ route { This function can be used from REQUEST_ROUTE. - Example 1.4. rms_bridge usage example + Example 1.5. rms_bridge usage example ... event_route[rms:bridged] { xnotice("[rms:bridged] !\n"); @@ -249,7 +267,7 @@ e in-dialog request needs to be handled by it. This function can be used from REQUEST_ROUTE, REPLY_ROUTE and FAILURE_ROUTE. - Example 1.5. rms_dialog_check usage example + Example 1.6. rms_dialog_check usage example ... if (rms_dialog_check()) { xnotice("This dialog is handled by the RMS module\n"); @@ -269,7 +287,7 @@ e in-dialog request needs to be handled by it. This function can be used from REQUEST_ROUTE, REPLY_ROUTE and FAILURE_ROUTE. - Example 1.6. rms_sip_request usage example + Example 1.7. rms_sip_request usage example ... if (rms_dialog_check()) { rms_sip_request(); @@ -286,7 +304,7 @@ e in-dialog request needs to be handled by it. This function can be used from EVENT_ROUTE. - Example 1.7. rms_play usage example + Example 1.8. rms_play usage example ... rms_play("file.wav", "event_route_name"); ... _______________________________________________ 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!
