[OpenSIPS-Users] RTP Relay issue

Răzvan Crainea razvan at opensips.org
Fri Sep 6 09:01:27 UTC 2024


Hi, Julien!

What version of opensips are you using? Send us the output of `opensips -V`.
Also, try to update to your latest commits for the branch you are using, 
and try again.

Best regards,

Răzvan Crainea
OpenSIPS Core Developer / SIPhub CTO
http://www.opensips-solutions.com / https://www.siphub.com

On 9/5/24 5:29 PM, Julien Pawlak via Users wrote:
> Hello Daniel,
> 
> Thank you for your reply !
> 
> 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.
> 
> As I wrote, when I set this in opensips configuration file :
> 
> $rtp_relay(iface) = "internal";
> 
> $rtp_relay_peer(iface) = "external";
> 
> We see in opensips logs that the parameter $rtp_relay_peer(iface) = 
> "external" does not appairs :
> 
> => DBG:rtp_relay:rtp_relay_offer: callid=[] ftag=[] ttag=[] type=[] 
> in-iface=[internal] out-iface=[] ctx-flags=[] flags=[] peer-flags=[]
> 
> $rtp_relay(iface) = "internal"; => in-iface=[internal] => OK
> 
> $rtp_relay_peer(iface) = "external"; => out-iface=[] => KO
> 
> So, this error appairs : ERROR:rtpengine:parse_flags: in-iface value 
> without out-iface :(
> 
> ---
> J
> 
> Le 05/09/2024 15:46, Daniel Zanutti a écrit :
> 
>> Julien
>>
>> Since the problem is on RTP, it's related to the rtpengine you're 
>> using. Maybe you could ask for help on rtpengine forum.
>>
>> On Thu, Sep 5, 2024 at 8:50 AM Julien Pawlak via Users 
>> <users at lists.opensips.org> wrote:
>>
>> Hello,
>>
>> Could I get some feedback please? I'm really stuck :(
>>
>> ---
>> J
>>
>> Le 29/08/2024 17:25, Julien Pawlak a écrit :
>>
>> 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. _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> 
> Hello Daniel,
> 
> 
> Thank you for your reply !
> 
> 
> 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.
> 
> 
> As I wrote, when I set this in opensips configuration file :
> 
> $rtp_relay(iface) = "internal";
> 
> $rtp_relay_peer(iface) = "external";
> 
> 
> We see in opensips logs that the parameter $rtp_relay_peer(iface) = 
> "external" does not appairs :
> 
> => DBG:rtp_relay:rtp_relay_offer: callid=[] ftag=[] ttag=[] type=[] 
> in-iface=[internal] out-iface=[] ctx-flags=[] flags=[] peer-flags=[]
> 
> 
> $rtp_relay(iface) = "internal"; => in-iface=[internal] => OK
> 
> $rtp_relay_peer(iface) = "external"; => out-iface=[] => KO
> 
> 
> So, this error appairs : ERROR:rtpengine:parse_flags: in-iface value 
> without out-iface :(
> 
> ---
> J
> 
> Le 05/09/2024 15:46, Daniel Zanutti a écrit :
> 
>> Julien
>> Since the problem is on RTP, it's related to the rtpengine you're 
>> using. Maybe you could ask for help on rtpengine forum.
>>
>> On Thu, Sep 5, 2024 at 8:50 AM Julien Pawlak via Users 
>> <users at lists.opensips.org <mailto:users at lists.opensips.org>> wrote:
>>
>>     Hello,
>>
>>     Could I get some feedback please? I'm really stuck :(
>>
>>     ---
>>     J
>>
>>
>>     Le 29/08/2024 17:25, Julien Pawlak a écrit :
>>
>>         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.
>>
>>     _______________________________________________
>>     Users mailing list
>>     Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>>     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>     <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>>
> 
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users



More information about the Users mailing list