<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>Hello,</p>
<pre id="v1tw-target-text" class="v1tw-data-text v1tw-text-large v1tw-ta" dir="ltr"><span class="v1Y2IQFc">Could I get some feedback please? I'm really stuck :(</span></pre>
<div id="v1signature">---<br />
<div class="v1pre"><span>J</span></div>
</div>
<p><br /></p>
<p id="reply-intro">Le 29/08/2024 17:25, Julien Pawlak a écrit :</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div id="replybody1">
<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="v1signature">-- <br />
<div class="v1pre" style="margin: 0; padding: 0; font-family: monospace;"><span style="font-family: verdana, geneva, sans-serif; font-size: 10pt;">J.</span></div>
</div>
</div>
</div>
</blockquote>
</body></html>