<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Hi, Răzvan !</p>
<p><br /></p>
<p>Thank you for your reply.</p>
<p><br /></p>
<p>Below the ouput of opensips -V :</p>
<p><em>version: opensips 3.4.8 (x86_64/linux)</em><br /><em>flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, HP_MALLOC, DBG_MALLOC, FAST_LOCK-ADAPTIVE_WAIT</em><br /><em>ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535</em><br /><em>poll method support: poll, epoll, sigio_rt, select.</em><br /><em>git revision: 78cdea979</em><br /><em>main.c compiled on 16:07:22 Sep 6 2024 with gcc 12</em></p>
<p><br /></p>
<p>I've already upgraded opensips to the lastest release of the version LTS. For reminder, I had this problem with the previous release 3.4.6.</p>
<p><br /></p>
<p>Indeed, logs don't mention ERROR messages. But we can see this line for example :</p>
<div class="de1"><em>sept. 09 14:28:51 opensips-1 /usr/local/sbin/opensips[542450]: DBG:rtp_relay:rtp_relay_offer: leg=caller callid=[] ftag=[] ttag=[] type=[] in-iface=[internal] out-iface=[internal] ctx-flags=[] flags=[] peer-flags=[]</em></div>
<div class="de1"> </div>
<div class="de1">We can see that, dispite this configuration line :</div>
<div class="de1"><em> $rtp_relay(iface) = "internal";</em><br /><em>$rtp_relay_peer(iface) = "external";</em></div>
<div class="de1"> </div>
<div class="de1">OpenSIPS define out-iface as in-iface.. That's the problem.</div>
<div class="de1"> </div>
<div class="de1">The problem has evolved since release 3.4.6, because with this one, out-iface was just empty in log like this : <em>in-iface=[internal] out-iface=[]</em>.</div>
<div class="de1"> </div>
<div class="de1">Tell me if you need something else.</div>
<div class="de1"> </div>
<div class="de1">Thx!</div>
<div class="de1"> </div>
<div id="signature">---<br />
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"><span style="font-family: verdana, geneva, sans-serif; font-size: 10pt;">Julien Pawlak</span></div>
</div>
<p><br /></p>
<p id="reply-intro">Le 02/10/2024 11:47, Julien Pawlak a écrit :</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<pre>Hi, Julien!

I don't see the ERROR you mentioned in the attached logs.
Also, we need to know exactly what version of OpenSIPS you are using by 
sending the output of `opensips -V`
Ideally you should be using the latest release for the version in 
question, otherwise there's no point in troubleshooting something that 
might have already been fixed.

Best regards,

Răzvan Crainea
OpenSIPS Core Developer / SIPhub CTO
<a href="http://www.opensips-solutions.com/">http://www.opensips-solutions.com</a> / <a href="https://www.siphub.com/">https://www.siphub.com</a>
</pre>
<div id="replybody1">
<div style="font-size: 10pt; font-family: Verdana,Geneva,sans-serif;">
<p>Hello Răzvan,</p>
<p><br /></p>
<p>My previous mail was too large to be posting i think. You can find debug logs here : <a href="https://pastebin.com/6SCaH7e1" target="_blank" rel="noopener noreferrer">https://pastebin.com/6SCaH7e1</a></p>
<p><br /></p>
<p>Thx!</p>
<div id="v1signature">---<br />
<div class="v1pre" style="margin: 0; padding: 0; font-family: monospace;"><span style="font-family: verdana, geneva, sans-serif; font-size: 10pt;">Julien Pawlak</span></div>
</div>
<p><br /></p>
<p id="v1reply-intro">Le 05/09/2024 15:46, Daniel Zanutti a écrit :</p>
<blockquote style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0;">
<div id="v1replybody1">
<div dir="ltr">Julien
<div> </div>
<div>Since the problem is on RTP, it's related to the rtpengine you're using. Maybe you could ask for help on rtpengine forum.</div>
</div>
<br />
<div class="v1v1gmail_quote">
<div class="v1v1gmail_attr" dir="ltr">On Thu, Sep 5, 2024 at 8:50 AM Julien Pawlak via Users <<a href="mailto:users@lists.opensips.org" rel="noreferrer">users@lists.opensips.org</a>> wrote:</div>
<blockquote class="v1v1gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid #cccccc; padding-left: 1ex;">
<div style="font-size: 10pt; font-family: Verdana,Geneva,sans-serif;">
<p>Hello,</p>
<pre id="v1v1m_-1019323228281921822v1tw-target-text" dir="ltr"><span>Could I get some feedback please? I'm really stuck :(</span></pre>
<div id="v1v1m_-1019323228281921822v1signature">---<br />
<div><span>J</span></div>
</div>
<p><br /></p>
<p id="v1v1m_-1019323228281921822reply-intro">Le 29/08/2024 17:25, Julien Pawlak a écrit :</p>
<blockquote style="padding: 0px 0.4em; border-left: 2px solid #1010ff; margin: 0px;">
<div id="v1v1m_-1019323228281921822replybody1">
<div style="font-size: 10pt; font-family: Verdana,Geneva,sans-serif;">
<p>Hello </p>
<p><br /></p>
<p>I have a problem with RTP Relay module in the initial invite request.</p>
<p>I have 2 rtpengine servers with both 2 interfaces, internal and external.</p>
<p><br /></p>
<p>When I add the lien below, there is no problem. Packets come and leave through good interfaces.</p>
<p>$rtp_relay = "out-iface=internal in-iface=external"</p>
<p>But, when I execute the mi command to switch rtpengine server, packets don't come and leave through good interfaces.</p>
<p><br /></p>
<p>I see that I have to put this lines : </p>
<p>$rtp_relay(iface) = "external";</p>
<p>$rtp_relay_peer(iface) = "internal";</p>
<p><br /></p>
<p>But, that doesn't work too, I have this in debug mode :</p>
<p>août 29 17:04:44 opensips-1 /usr/local/sbin/opensips[844747]: DBG:rtp_relay:rtp_relay_offer: callid=[] ftag=[] ttag=[] type=[] <strong>in-iface=[internal] out-iface=[]</strong> ctx-flags=[] flags=[] peer-flags=[]<br />août 29 17:04:44 opensips-1 /usr/local/sbin/opensips[844747]: ERROR:rtpengine:parse_flags: in-iface value without out-iface<br />août 29 17:04:44 opensips-1 /usr/local/sbin/opensips[844747]: ERROR:rtpengine:rtpe_function_call: could not parse flags<br />août 29 17:04:44 opensips-1 /usr/local/sbin/opensips[844747]: ERROR:rtp_relay:rtp_relay_offer: could not engage offer!</p>
<p><br /></p>
<p>Please help.</p>
<p><br /></p>
<p>Thank you</p>
<p><br /></p>
<div id="v1v1m_-1019323228281921822v1signature">-- <br />
<div style="margin: 0px; padding: 0px; font-family: monospace;"><span style="font-family: verdana,geneva,sans-serif; font-size: 10pt;">J.</span></div>
</div>
</div>
</div>
</blockquote>
</div>
_______________________________________________<br />Users mailing list<br /><a href="mailto:Users@lists.opensips.org" rel="noreferrer">Users@lists.opensips.org</a><br /><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank" rel="noopener noreferrer">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a></blockquote>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
</body></html>