<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 result of opensips -V command:</p>
<p>version: opensips 3.4.6 (x86_64/linux)<br />flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, HP_MALLOC, DBG_MALLOC, FAST_LOCK-ADAPTIVE_WAIT<br />ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535<br />poll method support: poll, epoll, sigio_rt, select.<br />git revision: ab10b6892<br />main.c compiled on 13:42:08 Jul 30 2024 with gcc 12</p>
<p><br /></p>
<p>I'll try opensips version 3.4.8 (the latest) and come back to you.</p>
<p><br /></p>
<p>Rgds</p>
<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;">J</span></div>
</div>
<p><br /></p>
<p id="reply-intro">Le 06/09/2024 05:55, 老李-FSGUI,电话机器人 a écrit :</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div id="replybody1">
<div>Is it configured like this</div>
<div> </div>
<div><span style="color: #333333; font-family: monospace; font-size: 14.82px; white-space: pre; background-color: #f9f5e9;">$var(rtpengine_flags) </span><span class="v1hljs-operator" style="margin-block: 0px; margin-inline: 0px; color: #333333; font-family: monospace; font-size: 14.82px; white-space: pre; background-color: #f9f5e9;">=</span><span style="color: #333333; font-family: monospace; font-size: 14.82px; white-space: pre; background-color: #f9f5e9;"> </span><span class="v1hljs-string" style="margin-block: 0px; margin-inline: 0px; color: #333333; font-family: monospace; font-size: 14.82px; white-space: pre; background-color: #f9f5e9;">"RTP/AVP replace-session-connection replace-origin ICE=remove address-family=IP4 out-iface=pub in-iface=pub"</span><span style="color: #333333; font-family: monospace; font-size: 14.82px; white-space: pre; background-color: #f9f5e9;">; </span></div>
<div><span style="color: #333333; font-family: monospace; font-size: 14.82px; white-space: pre; background-color: #f9f5e9;">or</span></div>
<div><span style="color: #333333; font-family: monospace; font-size: 14.82px; white-space: pre; background-color: #f9f5e9;">$var(rtpengine_flags) </span><span class="v1hljs-operator" style="margin-block: 0px; margin-inline: 0px; color: #333333; font-family: monospace; font-size: 14.82px; white-space: pre; background-color: #f9f5e9;">=</span><span style="color: #333333; font-family: monospace; font-size: 14.82px; white-space: pre; background-color: #f9f5e9;"> </span><span class="v1hljs-string" style="margin-block: 0px; margin-inline: 0px; color: #333333; font-family: monospace; font-size: 14.82px; white-space: pre; background-color: #f9f5e9;">"RTP/AVP replace-session-connection replace-origin ICE=remove address-family=IP4 in-iface=priv out-iface=priv"</span><span style="color: #333333; font-family: monospace; font-size: 14.82px; white-space: pre; background-color: #f9f5e9;">;</span></div>
<div><span style="color: #333333; font-family: monospace; font-size: 14.82px; white-space: pre; background-color: #f9f5e9;"> </span></div>
<div><span style="color: #333333; font-family: monospace; font-size: 14.82px; white-space: pre; background-color: #f9f5e9;">rtpengine_offer(</span><span class="v1hljs-string" style="margin-block: 0px; margin-inline: 0px; color: #333333; font-family: monospace; font-size: 14.82px; white-space: pre; background-color: #f9f5e9;">"$var(rtpengine_flags)"</span><span style="color: #333333; font-family: monospace; font-size: 14.82px; white-space: pre; background-color: #f9f5e9;">);</span></div>
<div> </div>
<div>and rtpengine param for this</div>
<div> </div>
<div><span style="color: #333333; font-family: 'Sitka Text', Georgia, Cambria, Calibri; font-size: 18.24px; background-color: #f9f5e9;">./rtpengine -p /var/run/rtpengine.pid -i priv/172.33.1.xx -i pub/12.xx.xxx.1 -n 172.33.1.xx:60000 -c 172.33.1.xx:60001 -m 50000 -M 55000 -f -E -L 7</span></div>
<div><hr style="margin: 0 0 10px 0; border: 0; border-bottom: 1px solid #E4E5E6; height: 0px; line-height: 0; font-size: 0; padding: 20px 0 0 0; width: 50px;" align="left" />
<div style="font-size: 14px; font-family: Verdana; color: #000;">
<table style="white-space: normal; table-layout: fixed; padding-right: 20px;" cellspacing="0" cellpadding="0">
<tbody>
<tr valign="top">
<td style="width: 40px; min-width: 40px; padding-top: 10px;">
<div style="width: 38px; height: 38px; border: 1px #FFF solid; border-radius: 50%; margin: 0; vertical-align: top; box-shadow: 0 0 10px 0 rgba(127,152,178,0.14);"><img style="width: 100%; height: 100%; border-radius: 50%; pointer-events: none;" src="cid:172563103866db0a3e6a4fa847371640@pwlk.fr" /></div>
</td>
<td style="padding: 10px 0 8px 10px;">
<div class="v1businessCard_name" style="font-size: 14px; color: #33312e; line-height: 20px; padding-bottom: 2px; margin: 0; font-weight: 500;">老李-FSGUI,电话机器人</div>
<div class="v1businessCard_mail" style="font-size: 12px; color: #999896; line-height: 18px; margin: 0;">nway@foxmail.com</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div> </div>
<div style="position: relative;">
<div> </div>
<div> </div>
<div style="font-size: 12px; font-family: Arial Narrow; padding: 2px 0 2px 0;">------------------ 原始邮件 ------------------</div>
<div style="font-size: 12px; background: #efefef; padding: 8px;">
<div><strong>发件人:</strong> "Julien Pawlak" <users@lists.opensips.org>;</div>
<div><strong>发送时间:</strong> 2024年9月5日(星期四) 晚上10:29</div>
<div><strong>收件人:</strong> "Daniel Zanutti"<daniel.zanutti@gmail.com>;<wbr /></div>
<div><strong>抄送:</strong> "OpenSIPS users mailling list"<users@lists.opensips.org>;<wbr /></div>
<div><strong>主题:</strong> Re: [OpenSIPS-Users] RTP Relay issue</div>
</div>
<div> </div>
<p>Hello Daniel,</p>
<p><br /></p>
<p>Thank you for your reply !</p>
<p><br /></p>
<p>I don't think this problem is du to rtpengine. When i use commands rtpengine_offer, rtpengine_answer etc. all work fine. So, rtpengine side is ok. I want to use opensips rtp_relay module to simplify configuration because I have multiple rtpengine servers.</p>
<p><br /></p>
<p>As I wrote, when I set this in opensips configuration file :</p>
<p>$rtp_relay(iface) = "internal";</p>
<p>$rtp_relay_peer(iface) = "external";</p>
<p><br /></p>
<p>We see in opensips logs that the parameter $rtp_relay_peer(iface) = "external" does not appairs :</p>
<p>=> DBG:rtp_relay:rtp_relay_offer: callid=[] ftag=[] ttag=[] type=[] in-iface=[internal] out-iface=[] ctx-flags=[] flags=[] peer-flags=[]</p>
<p><br /></p>
<p>$rtp_relay(iface) = "internal"; => in-iface=[internal] => OK</p>
<p>$rtp_relay_peer(iface) = "external"; => out-iface=[] => KO</p>
<p><br /></p>
<p>So, this error appairs : ERROR:rtpengine:parse_flags: in-iface value without out-iface :(</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>
<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>