<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>
<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="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>
</body></html>