You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
previously, opensips compiled at v3.4.6, when using the following config file code works as expected in an edge proxy to manage an Inbound Invite and the 200 ok SDP.
$avp(rtp_relay_flags) = "RTP/AVP ICE=remove in-iface=external out-iface=internal"; # << flags set for the inbound invite.
$avp(rtp_relay_peer_flags) = "RTP/AVP ICE=remove in-iface=internal out-iface=external media-address=18.100.100.121"; # << flags set for the oubound 200 OK.
$rtp_relay(flags) = $avp(rtp_relay_flags); # << flags set for the inbound invite.
$rtp_relay(peer) = $avp(rtp_relay_peer_flags); # << flags set for the oubound 200 OK. (also tried setting $rtp_relay_peer(flags) with same result )
$rtp_relay_ctx(callid) = $avp(rtpe_callid);
$rtp_relay_ctx(from_tag) = $ft;
rtp_relay_engage("rtpengine");
When upgrading to V 3.5.3, the flags being passed to RTP Engine are incorrect when both $rtp_relay(flags) and either $rtp_relay_peer(flags)or $rtp_relay(peer) is set.
The flags values set in $rtp_relay_peer(flags)/$rtp_relay(peer) are used in rtp_relay_offer not the flags values set in $rtp_relay(flags).
Maybe our config code has always been wrong but it seems correct when reviewing the documentation.
Example System Logs
on 3.5.3 we can see incorrect rtp_relay_offer flags being sent.
rtp_relay_change_3.4.6_to_3.5.3.diff.txt
OpenSIPS version you are running
issue was not present on the following version:
Describe the bug
previously, opensips compiled at v3.4.6, when using the following config file code works as expected in an edge proxy to manage an Inbound Invite and the 200 ok SDP.
When upgrading to V 3.5.3, the flags being passed to RTP Engine are incorrect when both
$rtp_relay(flags)
and either$rtp_relay_peer(flags)
or$rtp_relay(peer)
is set.The flags values set in
$rtp_relay_peer(flags)/$rtp_relay(peer)
are used inrtp_relay_offer
not the flags values set in$rtp_relay(flags)
.Maybe our config code has always been wrong but it seems correct when reviewing the documentation.
Example System Logs
on 3.5.3 we can see incorrect
rtp_relay_offer
flags being sent.Attached is a diff of the changes between 3.4.6 and 3.5.3 for reference.
The text was updated successfully, but these errors were encountered: