Module: kamailio Branch: master Commit: 30a65e34bb2d240cd3cfa22779ef0f5f575388ec URL: https://github.com/kamailio/kamailio/commit/30a65e34bb2d240cd3cfa22779ef0f5f575388ec
Author: Torrey Searle <torrey.sea...@wavecrest.com> Committer: tsearle <tsea...@gmail.com> Date: 2025-07-09T13:04:03+02:00 rtpengine: revert documentation change for rtpengine_subscribe --- Modified: src/modules/rtpengine/doc/rtpengine_admin.xml --- Diff: https://github.com/kamailio/kamailio/commit/30a65e34bb2d240cd3cfa22779ef0f5f575388ec.diff Patch: https://github.com/kamailio/kamailio/commit/30a65e34bb2d240cd3cfa22779ef0f5f575388ec.patch --- diff --git a/src/modules/rtpengine/doc/rtpengine_admin.xml b/src/modules/rtpengine/doc/rtpengine_admin.xml index 6d079f0bfaa..463386b5878 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_offer"> + <section id="rtpengine.f.rtpengine_subscribe_request"> <title> - <function moreinfo="none">rtpengine_subscribe_offer(flags,sdp_avp,to_tag_avp,stream_xavp[,via-branch])</function> + <function moreinfo="none">rtpengine_subscribe_request(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_offer() before an rtpengine session was established. + like using rtpengine_subscribe_request() 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_subscribe_offer</function> usage</title> + <title><function>rtpengine_subscribe_request</function> usage</title> <programlisting format="linespecific"> route { ... @@ -3383,7 +3383,7 @@ onreply_route[1] ... if (has_body("application/sdp")) { rtpengine_answer(); - rtpengine_subscribe_offer("all siprec", "$avp(siprec_offer)", + rtpengine_subscribe_request("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_offer</quote> + <quote>rtpengine_subscribe_request</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_offer() function example above for example. + See rtpengine_subscribe_request() 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_offer</quote> + <quote>rtpengine_subscribe_request</quote> </para></listitem> <listitem><para> <emphasis>from-tag=...</emphasis> - value of the from tag of the original call. _______________________________________________ Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org To unsubscribe send an email to sr-dev-le...@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender!