[OpenSIPS-Users] Tearing down the RTPProxy session for the current call

Răzvan Crainea razvan at opensips.org
Wed Nov 8 05:47:09 EST 2017


Hi, Adrian!

Yes, you should be calling rtpproxy_unforce() when a BYE is received.
You are right, if you do that, you won't be seeing too many "RTP 
sessions ended due to media timeout".

Best regardsm

Răzvan Crainea
OpenSIPS Developer
www.opensips-solutions.com

On 11/07/2017 08:59 PM, Adrian Fretwell wrote:
>
> Hello,
>
> I was just looking at some statistics from my rtpproxy today and 
> noticed that "RTP sessions created", "RTP sessions destroyed" AND "RTP 
> sessions ended due to media timeout" all showed the same number.
>
> Although I am aware that the function rtpproxy_unforce() is available, 
> in example routing scripts, I have never seen it used.
>
> Should I be calling rtpproxy_unforce() in my routing script at the end 
> of a call?
>
> My assumption is that if I do, then the "RTP sessions ended due to 
> media timeout" will be much lower.
>
> As always any advice will be gratefully received.
>
> Kind regards,
>
> Adrian Fretwell
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20171108/82817ada/attachment-0001.html>


More information about the Users mailing list