<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><font size="-1">Hi Razvan,</font></p>
<p><font size="-1">Thankyou for clarifying this, I was a little
confused because the Opensips generated scripts that use
rtpproxy for NAT do not call the rtpproxy_unforce() function.</font></p>
<p><font size="-1">I will add a call to trpproxy_unforce() in my
route that handles BYEs and in the missed call (failure) routes.</font></p>
<p><font size="-1">Many Thanks,</font></p>
<p><font size="-1">Adrian.</font><br>
</p>
<br>
<div class="moz-cite-prefix">On 08/11/17 10:47, Răzvan Crainea
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:6923b55a-26cf-e8b3-37ab-4d908b294bd2@opensips.org">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<tt>Hi, Adrian!<br>
<br>
Yes, you should be calling rtpproxy_unforce() when a BYE is
received.<br>
You are right, if you do that, you won't be seeing too many "RTP
sessions ended due to media timeout".<br>
<br>
Best regardsm<br>
</tt>
<pre class="moz-signature" cols="72">Răzvan Crainea
OpenSIPS Developer
<a class="moz-txt-link-abbreviated" href="http://www.opensips-solutions.com" moz-do-not-send="true">www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 11/07/2017 08:59 PM, Adrian
Fretwell wrote:<br>
</div>
<blockquote type="cite"
cite="mid:75c75c8d-c0d8-d52c-5815-1edf2c00200a@topgreen.co.uk">
<meta http-equiv="content-type" content="text/html;
charset=utf-8">
<p><font size="-1">Hello,</font></p>
<p><font size="-1">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.</font></p>
<p><font size="-1">Although I am aware that the function
rtpproxy_unforce() is available, in example routing scripts,
I have never seen it used.</font></p>
<p><font size="-1">Should I be calling rtpproxy_unforce() in my
routing script at the end of a call?</font></p>
<p><font size="-1">My assumption is that if I do, then the "RTP
sessions ended due to media timeout" will be much lower.</font></p>
<p><font size="-1">As always any advice will be gratefully
received.<br>
</font></p>
<div class="moz-signature"><font size="-1"><font face="Verdana">Kind
regards,<br>
<br>
Adrian Fretwell<br>
</font></font> </div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org" moz-do-not-send="true">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" moz-do-not-send="true">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>