[OpenSIPS-Users] RTP Relay issue

Julien Pawlak julien at pwlk.fr
Thu Aug 29 15:25:59 UTC 2024


Hello

I have a problem with RTP Relay module in the initial invite request.

I have 2 rtpengine servers with both 2 interfaces, internal and 
external.

When I add the lien below, there is no problem. Packets come and leave 
through good interfaces.

$rtp_relay = "out-iface=internal in-iface=external"

But, when I execute the mi command to switch rtpengine server, packets 
don't come and leave through good interfaces.

I see that I have to put this lines :

$rtp_relay(iface) = "external";

$rtp_relay_peer(iface) = "internal";

But, that doesn't work too, I have this in debug mode :

août 29 17:04:44 opensips-1 /usr/local/sbin/opensips[844747]: 
DBG:rtp_relay:rtp_relay_offer: callid=[] ftag=[] ttag=[] type=[] 
in-iface=[internal] out-iface=[] ctx-flags=[] flags=[] peer-flags=[]
août 29 17:04:44 opensips-1 /usr/local/sbin/opensips[844747]: 
ERROR:rtpengine:parse_flags: in-iface value without out-iface
août 29 17:04:44 opensips-1 /usr/local/sbin/opensips[844747]: 
ERROR:rtpengine:rtpe_function_call: could not parse flags
août 29 17:04:44 opensips-1 /usr/local/sbin/opensips[844747]: 
ERROR:rtp_relay:rtp_relay_offer: could not engage offer!

Please help.

Thank you

-- 
J.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20240829/09de78ef/attachment.html>


More information about the Users mailing list