Module: kamailio
Branch: master
Commit: 8330158b88815f28326fc5293831c83cebc2e41c
URL:
https://github.com/kamailio/kamailio/commit/8330158b88815f28326fc5293831c83…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-04-05T11:06:53+02:00
rtpengine: docs for write_sdp_pv_mode parameter
---
Modified: src/modules/rtpengine/doc/rtpengine_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/8330158b88815f28326fc5293831c83…
Patch:
https://github.com/kamailio/kamailio/commit/8330158b88815f28326fc5293831c83…
---
diff --git a/src/modules/rtpengine/doc/rtpengine_admin.xml
b/src/modules/rtpengine/doc/rtpengine_admin.xml
index 6d79abfaeff..f898aa32979 100644
--- a/src/modules/rtpengine/doc/rtpengine_admin.xml
+++ b/src/modules/rtpengine/doc/rtpengine_admin.xml
@@ -478,6 +478,32 @@ route {
</example>
</section>
+ <section id="rtpengine.p.write_sdp_pv_mode">
+ <title><varname>write_sdp_pv_mode</varname> (int)</title>
+ <para>
+ If this parameter is set to 1, the returned SDP is written to pv
+ and also set to message body.
+ </para>
+ <para>
+ Default value: 0 (write SDP only to pv).
+ </para>
+ <example>
+ <title>Set <varname>write_sdp_pv_mode</varname>
parameter</title>
+<programlisting format="linespecific">
+...
+modparam("rtpengine", "write_sdp_pv", "$avp(sdp)")
+modparam("rtpengine", "write_sdp_pv_mode", 1)
+...
+route {
+ ...
+ rtpengine_manage();
+ xinfo("new sdp: $avp(sdp)\n");
+}
+</programlisting>
+ </example>
+ </section>
+
+
<section id="rtpengine.p.rtp_inst_pvar">
<title><varname>rtp_inst_pvar</varname> (string)</title>
<para>