Module: kamailio Branch: master Commit: bfe2cec3951874da8dccba69493922006129da5c URL: https://github.com/kamailio/kamailio/commit/bfe2cec3951874da8dccba69493922006129da5c
Author: Daniel-Constantin Mierla <[email protected]> Committer: Daniel-Constantin Mierla <[email protected]> Date: 2017-04-19T08:05:13+02:00 rtpproxy: fix docs for rtpproxy_stop_stream2uas() - it has no parameters --- Modified: src/modules/rtpproxy/doc/rtpproxy_admin.xml --- Diff: https://github.com/kamailio/kamailio/commit/bfe2cec3951874da8dccba69493922006129da5c.diff Patch: https://github.com/kamailio/kamailio/commit/bfe2cec3951874da8dccba69493922006129da5c.patch --- diff --git a/src/modules/rtpproxy/doc/rtpproxy_admin.xml b/src/modules/rtpproxy/doc/rtpproxy_admin.xml index 15f950c..e06ae8d 100644 --- a/src/modules/rtpproxy/doc/rtpproxy_admin.xml +++ b/src/modules/rtpproxy/doc/rtpproxy_admin.xml @@ -801,6 +801,29 @@ rtpproxy_manage(); These functions can be used from REQUEST_ROUTE, ONREPLY_ROUTE. </para> </section> + <section id="rtpproxy.f.rtpproxy_stop_stream2uas"> + <title> + <function>rtpproxy_stop_stream2uas()</function> + </title> + <para> + See function <function>rtpproxy_stop_stream2uac()</function>. + </para> + <example> + <title><function>rtpproxy_stop_stream2uas</function> usage</title> + <programlisting> +... + if (is_method("INVITE")) { + rtpproxy_offer(); + if (is_audio_on_hold()) { + rtpproxy_stream2uas("/var/rtpproxy/prompts/music_on_hold", "-1"); + } else { + rtpproxy_stop_stream2uas(); + }; + }; +... + </programlisting> + </example> + </section> <section id="rtpproxy.f.start_recording"> <title> <function moreinfo="none">start_recording()</function> @@ -822,15 +845,6 @@ start_recording(); </programlisting> </example> </section> - <section id="rtpproxy.f.rtpproxy_stop_stream2uas"> - <title> - <function>rtpproxy_stop_stream2uas(prompt_name, count)</function> - </title> - <para> - See function <function>rtpproxy_stop_stream2uac(prompt_name, count)</function>. - </para> - </section> - </section> _______________________________________________ Kamailio (SER) - Development Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
