[OpenSIPS-Users] RTP Relay issue

Răzvan Crainea razvan at opensips.org
Fri Oct 4 06:28:35 UTC 2024


Hi, Julien!

I don't see the ERROR you mentioned in the attached logs.
Also, we need to know exactly what version of OpenSIPS you are using by 
sending the output of `opensips -V`
Ideally you should be using the latest release for the version in 
question, otherwise there's no point in troubleshooting something that 
might have already been fixed.

Best regards,

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

On 10/2/24 12:47 PM, Julien Pawlak via Users wrote:
> Hello Răzvan,
> 
> My previous mail was too large to be posting i think. You can find debug 
> logs here : https://pastebin.com/6SCaH7e1
> 
> Thx!
> 
> ---
> Julien Pawlak
> 
> 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 Răzvan,
> 
> 
> My previous mail was too large to be posting i think. You can find debug 
> logs here : https://pastebin.com/6SCaH7e1 <https://pastebin.com/6SCaH7e1>
> 
> 
> Thx!
> 
> ---
> Julien Pawlak
> 
> 
> 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