diff --git a/src/modules/rtpproxy/doc/rtpproxy_admin.xml b/src/modules/rtpproxy/doc/rtpproxy_admin.xml index 15f950c940e..e06ae8dab2e 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. +
+ + <function>rtpproxy_stop_stream2uas()</function> + + + See function rtpproxy_stop_stream2uac(). + + + <function>rtpproxy_stop_stream2uas</function> usage + +... + if (is_method("INVITE")) { + rtpproxy_offer(); + if (is_audio_on_hold()) { + rtpproxy_stream2uas("/var/rtpproxy/prompts/music_on_hold", "-1"); + } else { + rtpproxy_stop_stream2uas(); + }; + }; +... + + +
<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> - - - See function rtpproxy_stop_stream2uac(prompt_name, count). - -
-