Module: kamailio Branch: master Commit: da126ce96dbdadc4f3655825b358bf8357e3efd9 URL: https://github.com/kamailio/kamailio/commit/da126ce96dbdadc4f3655825b358bf83...
Author: Torrey Searle torrey.searle@wavecrest.com Committer: tsearle tsearle@gmail.com Date: 2025-07-08T09:57:34+02:00
rtpengine: fix method name rtpengine_subscribe_offer
---
Modified: src/modules/rtpengine/doc/rtpengine_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/da126ce96dbdadc4f3655825b358bf83... Patch: https://github.com/kamailio/kamailio/commit/da126ce96dbdadc4f3655825b358bf83...
---
diff --git a/src/modules/rtpengine/doc/rtpengine_admin.xml b/src/modules/rtpengine/doc/rtpengine_admin.xml index 6f1a07fea41..6d079f0bfaa 100644 --- a/src/modules/rtpengine/doc/rtpengine_admin.xml +++ b/src/modules/rtpengine/doc/rtpengine_admin.xml @@ -3252,9 +3252,9 @@ rtpengine_manage(); </programlisting> </example> </section> - <section id="rtpengine.f.rtpengine_subscribe_request"> + <section id="rtpengine.f.rtpengine_subscribe_offer"> <title> - <function moreinfo="none">rtpengine_subscribe_request(flags,sdp_avp,to_tag_avp,stream_xavp[,via-branch])</function> + <function moreinfo="none">rtpengine_subscribe_offer(flags,sdp_avp,to_tag_avp,stream_xavp[,via-branch])</function> </title> <para> Generates &sdp; body for forking the current &rtp; stream and stores it in the @@ -3266,7 +3266,7 @@ rtpengine_manage(); </para> <para> The function will return true on success and false (-1) on various failures, - like using rtpengine_subscribe_request() before an rtpengine session was established. + like using rtpengine_subscribe_offer() before an rtpengine session was established. </para> <para>Meaning of the parameters is as follows:</para> <itemizedlist> @@ -3365,7 +3365,7 @@ rtpengine_manage(); This function can be used from ANY_ROUTE. </para> <example> - <title><function>rtpengine_off</function> usage</title> + <title><function>rtpengine_subscribe_offer</function> usage</title> <programlisting format="linespecific"> route { ... @@ -3383,7 +3383,7 @@ onreply_route[1] ... if (has_body("application/sdp")) { rtpengine_answer(); - rtpengine_subscribe_request("all siprec", "$avp(siprec_offer)", + rtpengine_subscribe_offer("all siprec", "$avp(siprec_offer)", "$avp(siprec_to_tag)", "siprec_streams"); xinfo("SIPREC participant $xavp(siprec_streams[0]=>tag) with label $xavp(siprec_streams[0]=>label[0])\n"); xinfo("SIPREC participant $xavp(siprec_streams[1]=>tag) with label $xavp(siprec_streams[0]=>label[0])\n"); @@ -3460,7 +3460,7 @@ onreply_route[1] { <itemizedlist> <listitem><para> <emphasis>to-tag=...</emphasis> - value of the to tag returned by - <quote>rtpengine_subscribe_request</quote> + <quote>rtpengine_subscribe_offer</quote> </para></listitem> <listitem><para> <emphasis>from-tag=...</emphasis> - value of the from tag of the original call. @@ -3474,7 +3474,7 @@ onreply_route[1] { <example> <title><function>rtpengine_subscribe_answer</function> usage</title> <para> - See rtpengine_subscribe_request() function example above for example. + See rtpengine_subscribe_offer() function example above for example. </para> </example> </section> @@ -3505,7 +3505,7 @@ onreply_route[1] { <itemizedlist> <listitem><para> <emphasis>to-tag=...</emphasis> - value of the to tag returned by - <quote>rtpengine_subscribe_request</quote> + <quote>rtpengine_subscribe_offer</quote> </para></listitem> <listitem><para> <emphasis>from-tag=...</emphasis> - value of the from tag of the original call.