From 5f309de3d7003ee7b94b1f58d065d4d425acfb62 Mon Sep 17 00:00:00 2001 From: Razvan Crainea Date: Wed, 12 Feb 2020 15:02:33 +0200 Subject: [PATCH] media_exchange: add rtpproxy & b2b doc clarifications --- .../doc/media_exchange_admin.xml | 20 +++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/modules/media_exchange/doc/media_exchange_admin.xml b/modules/media_exchange/doc/media_exchange_admin.xml index 9fdf64761b4..43cbab29d04 100644 --- a/modules/media_exchange/doc/media_exchange_admin.xml +++ b/modules/media_exchange/doc/media_exchange_admin.xml @@ -40,8 +40,10 @@ or terminated, will just have a copy of the RTP forked by RTPProxy. In this mode, the proxied call should have had RTPProxy already engaged in the media path before the forked call starts. One can fork only one - media leg, or both legs. - + media leg, or both legs. NOTE: RTPProxy currently + does not support stopping media streaming, therefore if the streaming + call terminates, RTPProxy will continue streaming, even if there is no + one listening on the other end. @@ -204,6 +206,13 @@ if (!has_totag() && is_method("INVITE")) This function can be used from REQUEST_ROUTE. + + NOTE: the request of this call is completely + handled by the B2B engine. Therefore, after running this function, + please make sure you do not relay the message further, otherwise + you will run into an unexpected behavior. Best thing to do is to + exit the processing after running the function. + Use <function>media_send_from_call()</function> function to fork media to a Media Server @@ -303,6 +312,13 @@ if (has_totag() && is_method("INVITE") && is_audio_on_hold()) This function can be used from REQUEST_ROUTE. + + NOTE: the request of this call is completely + handled by the B2B engine. Therefore, after running this function, + please make sure you do not relay the message further, otherwise + you will run into an unexpected behavior. Best thing to do is to + exit the processing after running the function. + Use <function>media_fetch_to_call()</function> function to make an annoucement