<div dir="ltr">Hi Federico<div><br></div><div>You said "but my calls do not use the rtpproxy, so why is this affecting my traffic and killing my calls?"</div><div><br></div><div>Surelly Opensips is trying to use rtpproxy in the calls, the log is showing this. So the problem probably is related to the rtpproxy service. It's hard to say anything without logs of the rtpproxy service, config seems to be fine.</div><div><br></div><div>How many simultaneous calls are you handling? Why so many rtpproxy services? Take a look at rtpproxy log to see what is happening.</div><div><br></div><div>If you have some urgency to solve this, I could help in a faster way through consultancy. Let me know</div><div><br></div><div>Daniel</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Sep 15, 2022 at 11:36 AM Saint Michael <<a href="mailto:venefax@gmail.com">venefax@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-size:small">I added this code to the end of my script</div><div class="gmail_default" style="font-size:small"><div>local_route<br>{<br>  if (is_method("BYE"))<br>  {<br></div><div>      xlog("L_ERR", "LOCAL_ROUTE - BYE - $DLG_end_reason - $ru - $ci");<br></div><div>  }</div><div>}</div><div>and now my system is filed with these errors:</div></div><div class="gmail_default" style="font-size:small">Sep 15 14:25:36 node5 opensips[238750]: Sep 15 14:25:35 [238750] LOCAL_ROUTE - BYE - RTPProxy Timeout - <a href="http://sip:7867830513@208.73.234.96:5060" target="_blank">sip:7867830513@208.73.234.96:5060</a> - 0e87838610bfe6e1670023aa6bbe9590@208.73.234.96Sep 15 14:25:35 [238750] LOCAL_ROUTE - BYE - RTPProxy Timeout - sip:192.69.217.154;did=8fc1.e2444961 - <a href="mailto:0e87838610bfe6e1670023aa6bbe9590@208.73.234.96" target="_blank">0e87838610bfe6e1670023aa6bbe9590@208.73.234.96</a><br></div><div class="gmail_default" style="font-size:small">but my calls do not use the rtpproxy, so why is this affecting my traffic and killing my calls?</div><div class="gmail_default" style="font-size:small">I have 10 rttpproxy services: </div><div class="gmail_default" style="font-size:small">grep rtpproxy<br>  rtpproxy1.service                    loaded active     running   RTPProxy1                                                <br>  rtpproxy10.service                   loaded active     running   RTPProxy10                                               <br>  rtpproxy2.service                    loaded active     running   RTPProxy2                                                <br>  rtpproxy3.service                    loaded active     running   RTPProxy3                                                <br>  rtpproxy4.service                    loaded active     running   RTPProxy4                                                <br>  rtpproxy5.service                    loaded active     running   RTPProxy5                                                <br>  rtpproxy6.service                    loaded active     running   RTPProxy6                                                <br>  rtpproxy7.service                    loaded active     running   RTPProxy7                                                <br>  rtpproxy8.service                    loaded active     running   RTPProxy8                                                <br>  rtpproxy9.service                    loaded active     running   RTPProxy9  <br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">here is number 1</div><div class="gmail_default" style="font-size:small">[Unit]<br>Description=RTPProxy1<br>After=network.target<br>Requires=network.target<br><br>[Service]<br>Type=forking<br>PIDFile=/var/run/rtpproxy1.pid<br>#Environment='OPTIONS= -F -L 10240 -m 20000 -M 30000 -T 20 -d INFO:LOG_LOCAL5'<br><br>Restart=on-failure<br>RestartSec=5<br><br><br>ExecStart=/usr/local/bin/rtpproxy -p /var/run/rtpproxy1.pid -l Public.Ip.Address \<br>   -s udp:<a href="http://127.0.0.1:7890" target="_blank">127.0.0.1:7890</a> -F -L 10240 -m 10000 -M 15000 -T 20 -d WARN:LOG_LOCAL5 -n tcp:<a href="http://127.0.0.1:7889" target="_blank">127.0.0.1:7889</a><br>ExecStop=/usr/bin/pkill -F /var/run/rtpproxy1.pid<br><br><br>StandardOutput=syslog<br>StandardError=syslog<br>SyslogIdentifier=rtpproxy1<br>SyslogFacility=local5<br><br>TimeoutStartSec=10<br>TimeoutStopSec=10<br><br>[Install]<br>WantedBy=multi-user.target<br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Here is number 2</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">[Unit]<br>Description=RTPProxy2<br>After=network.target<br>Requires=network.target<br><br>[Service]<br>Type=forking<br>PIDFile=/var/run/rtpproxy2.pid<br>#Environment='OPTIONS= -F -L 10240 -m 20000 -M 30000 -T 20 -d INFO:LOG_LOCAL5'<br><br>Restart=on-failure<br>RestartSec=5<br><br><br>ExecStart=/usr/local/bin/rtpproxy -p /var/run/rtpproxy2.pid -l Public.IP.address \<br>   -s udp:<a href="http://127.0.0.1:7891" target="_blank">127.0.0.1:7891</a> -F -L 10240 -m 15000 -M 20000 -T 20 -d WARN:LOG_LOCAL5 -n tcp:<a href="http://127.0.0.1:7889" target="_blank">127.0.0.1:7889</a><br>ExecStop=/usr/bin/pkill -F /var/run/rtpproxy2.pid<br><br><br>StandardOutput=syslog<br>StandardError=syslog<br>SyslogIdentifier=rtpproxy2<br>SyslogFacility=local5<br><br>TimeoutStartSec=10<br>TimeoutStopSec=10<br><br>[Install]<br>WantedBy=multi-user.target<br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">what am I doing wrong?</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Federico</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Sep 14, 2022 at 4:55 PM Daniel Zanutti <<a href="mailto:daniel.zanutti@gmail.com" target="_blank">daniel.zanutti@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi<div><br></div><div>Everytime opensips sends the BYE, it's generated inside local_route:</div><div><a href="https://www.opensips.org/Documentation/Script-Routes-3-1#toc6" target="_blank">https://www.opensips.org/Documentation/Script-Routes-3-1#toc6</a><br></div><div><br></div><div>So put a xlog there to see why. Something like this:</div><div>local_route<br>{<br>  if (is_method("BYE"))<br>  {<br></div><div>      xlog("L_ERR", "LOCAL_ROUTE - BYE - $DLG_end_reason - $ru - $ci");<br></div><div>  }</div><div>}</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Sep 14, 2022 at 5:04 PM Johan De Clercq <<a href="mailto:johan@democon.be" target="_blank">johan@democon.be</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div>
<div dir="ltr">
<div></div>
<div>
<div>
<div dir="ltr"><span id="m_-371055743453563230m_756238864298520138m_1146496797174236723ms-outlook-ios-cursor"></span>Xlog(….);</div>
</div>
<div id="m_-371055743453563230m_756238864298520138m_1146496797174236723ms-outlook-mobile-signature">
<div><br>
</div>
<a href="https://aka.ms/o0ukef" target="_blank">Outlook voor iOS</a> downloaden</div>
</div>
</div>
<hr style="display:inline-block;width:98%">
<div id="m_-371055743453563230m_756238864298520138m_1146496797174236723divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>Van:</b> Users <<a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a>> namens Saint Michael <<a href="mailto:venefax@gmail.com" target="_blank">venefax@gmail.com</a>><br>
<b>Verzonden:</b> Wednesday, September 14, 2022 9:56:41 PM<br>
<b>Aan:</b> OpenSIPS users mailling list <<a href="mailto:users@lists.opensips.org" target="_blank">users@lists.opensips.org</a>><br>
<b>Onderwerp:</b> Re: [OpenSIPS-Users] The update from yesterday makes all calls fail after 20 seconds, how do I go back?</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div style="font-size:small">how do I do this:</div>
<div style="font-size:small">" put some log on local_route"<br>
</div>
<div style="font-size:small">Sorry I am learning</div>
<div style="font-size:small"><br>
</div>
</div>
<br>
<div>
<div dir="ltr">On Wed, Sep 14, 2022 at 3:55 PM Daniel Zanutti <<a href="mailto:daniel.zanutti@gmail.com" target="_blank">daniel.zanutti@gmail.com</a>> wrote:<br>
</div>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">So your Opensips is hanging up the call.
<div><br>
</div>
<div>Do you see any log on it? Try put some log on local_route if you don't see anything.</div>
<div><br>
</div>
<div><br>
</div>
</div>
<br>
<div>
<div dir="ltr">On Wed, Sep 14, 2022 at 4:40 PM Saint Michael <<a href="mailto:venefax@gmail.com" target="_blank">venefax@gmail.com</a>> wrote:<br>
</div>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div style="font-size:small">This is a trace showing a BYE from Opensips, but none of the sides did actually hangup.</div>
<div style="font-size:small"><br>
</div>
</div>
<br>
<div>
<div dir="ltr">On Wed, Sep 14, 2022 at 3:33 PM Saint Michael <<a href="mailto:venefax@gmail.com" target="_blank">venefax@gmail.com</a>> wrote:<br>
</div>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<span style="font-size:small">I use opensips 3.1, and I did an update yesterday. in all the boxes that I upgraded all calls fail after 20 seconds.</span></blockquote>
<div><span style="font-size:small"></span>cd /usr/src/opensips-3.1/</div>
git pull<br>
make clean;make proper;make all<br>
make modules<br>
make install<br>
clearlog.sh<br>
systemctl restart opensips<br>
opensips -V<br>
<br>
<div><span style="font-size:small"><br>
</span></div>
<div><span style="font-size:small"></span> </div>
<div><span style="font-size:small">How do I go back?</span></div>
<div><span style="font-size:small"><br>
</span></div>
<div><span style="font-size:small"></span> </div>
</div>
</div>
</blockquote>
</div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote>
</div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote>
</div>
</div>
</div>

_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div>