<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p><font face="Cantarell">I will do that test. </font><br>
</p>
<div class="moz-cite-prefix">On 3/18/20 6:37 AM, Alain Bieuzent
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:BEE27641-7E95-4CA2-86F0-1AC1BBBF64BE@free.fr">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
{font-family:Cantarell;
panose-1:2 11 6 4 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
code
{mso-style-priority:99;
font-family:"Courier New";}
pre
{mso-style-priority:99;
mso-style-link:"Préformaté HTML Car";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.PrformatHTMLCar
{mso-style-name:"Préformaté HTML Car";
mso-style-priority:99;
mso-style-link:"Préformaté HTML";
font-family:Consolas;}
span.EmailStyle23
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style>
<div class="WordSection1">
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"
lang="EN-US">Hi Volga,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"
lang="EN-US">Your configuration look good,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"
lang="EN-US">Have you check the number of port really use by
rtpengine when you ran out of ports ? (netstat -paun | grep
rtpengine | wc -l)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"
lang="EN-US">Regards<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="font-size:12.0pt;color:black">De : </span></b><span
style="font-size:12.0pt;color:black">volga629
<a class="moz-txt-link-rfc2396E" href="mailto:volga629@networklab.ca"><volga629@networklab.ca></a><br>
<b>Date : </b>lundi 16 mars 2020 à 20:38<br>
<b>À : </b>Alain Bieuzent <a class="moz-txt-link-rfc2396E" href="mailto:alain.bieuzent@free.fr"><alain.bieuzent@free.fr></a>,
OpenSIPS users mailling list
<a class="moz-txt-link-rfc2396E" href="mailto:users@lists.opensips.org"><users@lists.opensips.org></a><br>
<b>Objet : </b>Re: [OpenSIPS-Users] opensips + rtpengine<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<pre style="background:#F6F8FA;box-sizing: border-box;overflow-wrap: normal;border-radius: 3px;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;overflow:auto;word-spacing:0px"><code><span style="font-size:9.0pt;font-family:Consolas;color:#24292E;border:none windowtext 1.0pt;padding:0cm">Hello Alain,<o:p></o:p></span></code></pre>
<pre style="background:#F6F8FA"><code><span style="font-size:9.0pt;font-family:Consolas;color:#24292E;border:none windowtext 1.0pt;padding:0cm"><o:p> </o:p></span></code></pre>
<pre style="background:#F6F8FA"><code><span style="font-size:9.0pt;font-family:Consolas;color:#24292E;border:none windowtext 1.0pt;padding:0cm">port-min = 5000<o:p></o:p></span></code></pre>
<pre style="background:#F6F8FA"><code><span style="font-size:9.0pt;font-family:Consolas;color:#24292E;border:none windowtext 1.0pt;padding:0cm">port-max = 50000<o:p></o:p></span></code></pre>
<pre style="background:#F6F8FA"><code><span style="font-size:9.0pt;font-family:Consolas;color:#24292E;border:none windowtext 1.0pt;padding:0cm">delete-delay = 5<o:p></o:p></span></code></pre>
<pre style="background:#F6F8FA"><code><span style="font-size:9.0pt;font-family:Consolas;color:#24292E;border:none windowtext 1.0pt;padding:0cm">timeout = 10<o:p></o:p></span></code></pre>
<pre style="background:#F6F8FA"><code><span style="font-size:9.0pt;font-family:Consolas;color:#24292E;border:none windowtext 1.0pt;padding:0cm">silent-timeout = 900</span></code><span style="font-size:9.0pt;font-family:Consolas;color:#24292E"><o:p></o:p></span></pre>
<pre style="background:#F6F8FA"><span style="font-size:9.0pt;font-family:Consolas;color:#24292E"><o:p> </o:p></span></pre>
<pre style="background:#F6F8FA"><span style="font-size:9.0pt;font-family:Consolas;color:#24292E"><o:p> </o:p></span></pre>
<pre style="background:#F6F8FA"><span style="font-size:9.0pt;font-family:Consolas;color:#24292E">onreply_route[handle_media_reply] {<o:p></o:p></span></pre>
<pre style="background:#F6F8FA"><span style="font-size:9.0pt;font-family:Consolas;color:#24292E"> xlog("incoming reply\n");<o:p></o:p></span></pre>
<pre style="background:#F6F8FA"><span style="font-size:9.0pt;font-family:Consolas;color:#24292E"> if(is_method("INVITE|UPDATE") && t_check_status("200|183")) {<o:p></o:p></span></pre>
<pre style="background:#F6F8FA"><span style="font-size:9.0pt;font-family:Consolas;color:#24292E"> if(has_body("application/sdp")) {<o:p></o:p></span></pre>
<pre style="background:#F6F8FA"><span style="font-size:9.0pt;font-family:Consolas;color:#24292E"> rtpengine_answer("trust-address RTP/AVP replace-session-connection replace-origin ICE=remove");<o:p></o:p></span></pre>
<pre style="background:#F6F8FA"><span style="font-size:9.0pt;font-family:Consolas;color:#24292E"> }<o:p></o:p></span></pre>
<pre style="background:#F6F8FA"><span style="font-size:9.0pt;font-family:Consolas;color:#24292E"> }<o:p></o:p></span></pre>
<pre style="background:#F6F8FA"><span style="font-size:9.0pt;font-family:Consolas;color:#24292E"> t_on_failure("media_delete_route");<o:p></o:p></span></pre>
<pre style="background:#F6F8FA"><span style="font-size:9.0pt;font-family:Consolas;color:#24292E">}<o:p></o:p></span></pre>
<pre style="background:#F6F8FA"><span style="font-size:9.0pt;font-family:Consolas;color:#24292E"><o:p> </o:p></span></pre>
<pre style="background:#F6F8FA"><span style="font-size:9.0pt;font-family:Consolas;color:#24292E">failure_route[media_delete_route] {<o:p></o:p></span></pre>
<pre style="background:#F6F8FA"><span style="font-size:9.0pt;font-family:Consolas;color:#24292E"> if(t_check_status("[56][0-9][0-9]|408|[60][0-9][0-9]")) {<o:p></o:p></span></pre>
<pre style="background:#F6F8FA"><span style="font-size:9.0pt;font-family:Consolas;color:#24292E"> xlog("Call with Reply [$rs] make it close");<o:p></o:p></span></pre>
<pre style="background:#F6F8FA"><span style="font-size:9.0pt;font-family:Consolas;color:#24292E"> rtpengine_delete();<o:p></o:p></span></pre>
<pre style="background:#F6F8FA"><span style="font-size:9.0pt;font-family:Consolas;color:#24292E"> }<o:p></o:p></span></pre>
<pre style="background:#F6F8FA"><span style="font-size:9.0pt;font-family:Consolas;color:#24292E">}<o:p></o:p></span></pre>
<pre style="background:#F6F8FA"><span style="font-size:9.0pt;font-family:Consolas;color:#24292E"><o:p> </o:p></span></pre>
<pre style="background:#F6F8FA"><span style="font-size:9.0pt;font-family:Consolas;color:#24292E">but rtpengine produce error <o:p></o:p></span></pre>
<pre style="background:#F6F8FA"><span style="font-size:9.0pt;font-family:Consolas;color:#24292E"><o:p> </o:p></span></pre>
<pre style="background:#F6F8FA"><span style="font-size:9.0pt;font-family:Consolas;color:#24292E">Mar 16 17:46:40 Proxy /usr/sbin/opensips[11348]: ERROR:rtpengine:rtpe_function_call: proxy replied with error: Ran out of ports<o:p></o:p></span></pre>
<pre style="background:#F6F8FA"><span style="font-size:9.0pt;font-family:Consolas;color:#24292E">Mar 16 17:46:40 Proxy /usr/sbin/opensips[11365]: ERROR:rtpengine:rtpe_function_call: proxy replied with error: Unknown call-id<o:p></o:p></span></pre>
<pre style="background:#F6F8FA"><span style="font-size:9.0pt;font-family:Consolas;color:#24292E"><o:p> </o:p></span></pre>
<pre style="background:#F6F8FA"><span style="font-size:9.0pt;font-family:Consolas;color:#24292E">volga629<o:p></o:p></span></pre>
<div>
<p class="MsoNormal">On 3/15/20 9:04 AM, Alain Bieuzent wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"
lang="EN-US">Hi,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"
lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"
lang="EN-US">Can you share value of delete-delay,
port-min and port-max of your rtpengine configuration.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"
lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"
lang="EN-US">Have you also check if you handle
rtpengine_delete on failed calls (in case sip cause code
4XX, 5XX and 6XX).</span><o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"
lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"
lang="EN-US">At @job, we handle max 6000 calls on a 6
cores servers without any issue.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"
lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"
lang="EN-US">Regards</span><o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"> </span><o:p></o:p></p>
<div style="border:none;border-top:solid #B5C4DF
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="font-size:12.0pt;color:black">De : </span></b><span
style="font-size:12.0pt;color:black">Users <a
href="mailto:users-bounces@lists.opensips.org"
moz-do-not-send="true"><users-bounces@lists.opensips.org></a>
au nom de volga629 via Users <a
href="mailto:users@lists.opensips.org"
moz-do-not-send="true"><users@lists.opensips.org></a><br>
<b>Répondre à : </b>volga629 <a
href="mailto:volga629@networklab.ca"
moz-do-not-send="true"><volga629@networklab.ca></a>,
OpenSIPS users mailling list <a
href="mailto:users@lists.opensips.org"
moz-do-not-send="true"><users@lists.opensips.org></a><br>
<b>Date : </b>vendredi 13 mars 2020 à 18:39<br>
<b>À : </b><a href="mailto:users@lists.opensips.org"
moz-do-not-send="true"><users@lists.opensips.org></a><br>
<b>Objet : </b>[OpenSIPS-Users] opensips + rtpengine</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<p><span style="font-family:Cantarell">Hello Everyone,</span><o:p></o:p></p>
<p><span style="font-family:Cantarell">Might be somebody can
point me to right place.</span><o:p></o:p></p>
<p><span style="font-family:Cantarell">Under load Rtpengine on
server with 12 core can't pass 400 channels/sessions.</span><o:p></o:p></p>
<p><span style="font-family:Cantarell">Mar 13 18:14:53
CentOS-77-64-minimal rtpengine[14588]: WARNING:
[1b17077c-654e-11ea-bd31-87b1c8fc-849]: Protocol error in
packet from 136.243.43.23:47763: Ran out of ports
[d3:sdp289:</span><o:p></o:p></p>
<p><span style="font-family:Cantarell">WARNING:
[1be05a46-654e-11ea-b136-573b6201-849]: Protocol error in
packet from 136.243.43.23:55847: Unknown call-id
[d3:sdp250:</span><o:p></o:p></p>
<p><span style="font-family:Cantarell">It like it not closing
calls properly, but I am running rtpengine_delete() in
loose _route on BYE or CANCEL.</span><o:p></o:p></p>
<p> <o:p></o:p></p>
<p><span style="font-family:Cantarell">Here are more details</span><o:p></o:p></p>
<p><br>
<span style="font-family:Cantarell"><a
href="https://github.com/sipwise/rtpengine/issues/946"
moz-do-not-send="true">https://github.com/sipwise/rtpengine/issues/946</a></span><o:p></o:p></p>
<p> <o:p></o:p></p>
<p style="margin-bottom:12.0pt"><span
style="font-family:Cantarell"># Handle requests within SIP
dialogs<br>
route[handle_sequential] {<br>
if (has_totag()) {<br>
if (loose_route()) {<br>
# BYE rtpengine_delete()<br>
if (is_method("BYE|CANCEL")) {<br>
xlog("LOOSE_ROUTE:DBG: [$rm]
trying delete rtpengine\n");<br>
rtpengine_delete();<br>
xlog("Average MOS of the entire
call is $rtpstat(MOS-average)\r\n");<br>
xlog("Average MOS of caller is
$(rtpstat(MOS-average)[$ft])\r\n");<br>
xlog("Average MOS of callee is
$(rtpstat(MOS-average)[$tt])\r\n");<br>
xlog("Min MOS of caller is
$(rtpstat(MOS-min)[$ft]) reported at
$(rtpstat(MOS-min-at)[$ft])\r\n");<br>
}<br>
t_relay();<br>
exit;</span><o:p></o:p></p>
<p><span style="font-family:Cantarell">volga629</span><o:p></o:p></p>
<p class="MsoNormal">_______________________________________________
Users mailing list <a
href="mailto:Users@lists.opensips.org"
moz-do-not-send="true">Users@lists.opensips.org</a> <a
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>
<o:p></o:p></p>
</blockquote>
</div>
</blockquote>
</body>
</html>