<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi<br>
<br>
rtpengine_manage("RTP/AVP replace-session-connection");<br>
<br>
did the trick<br>
<br>
Thank you<br>
<br>
BR<br>
Simon<br>
<br>
<br>
</p>
<div class="moz-cite-prefix">Tito Cumpen je 15.11.2024 ob
16:43 napisal:<br>
</div>
<blockquote type="cite"
cite="mid:CANZPVB6w1W2JoHF3+ri1Z02enLTdtB=VV9Y1678DFpNRzkWyVQ@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="auto">
<div>Simon,
<div dir="auto"><br>
</div>
<div dir="auto">It's possible that RTPengine is replacing both
payload specific and session level c lines. Does your
downstream SDP contain a session level c line ? From the
documentation it sounds like rtpengine might be introducing
one.</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<br>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Fri, Nov 15, 2024,
4:18 AM Simon Gajski via Users <<a
href="mailto:users@lists.opensips.org"
moz-do-not-send="true" class="moz-txt-link-freetext">users@lists.opensips.org</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<p>Hi<br>
<br>
We are doing a SIP interconnection with one of
carriers that sends us Invite with SDP where "c=IN"
parameter is defined twice.<br>
<span
style="color:rgb(79,79,79);font-family:"Roboto Mono",monospace;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;white-space:pre-wrap;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;display:inline!important;float:none">
v=0
o=- 33593 33593 IN IP4 172.29.1.2
s=-
</span><font color="#ff0000"><b><span
style="font-family:"Roboto Mono",monospace;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;white-space:pre-wrap;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;display:inline!important;float:none">c=IN IP4 172.29.3.4</span></b></font><span
style="color:rgb(79,79,79);font-family:"Roboto Mono",monospace;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;white-space:pre-wrap;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;display:inline!important;float:none">
t=0 0
a=sendrecv
</span><span
style="box-sizing:border-box;font-family:"Roboto Mono",monospace;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;white-space:pre-wrap;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;font-weight:bold;color:dimgray">m=audio 36440 RTP/AVP 8 18 96</span><span
style="color:rgb(79,79,79);font-family:"Roboto Mono",monospace;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;white-space:pre-wrap;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;display:inline!important;float:none">
</span><font color="#ff0000"><b><span
style="font-family:"Roboto Mono",monospace;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;white-space:pre-wrap;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;display:inline!important;float:none">c=IN IP4 172.29.3.4</span></b></font><span
style="color:rgb(79,79,79);font-family:"Roboto Mono",monospace;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;white-space:pre-wrap;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;display:inline!important;float:none">
b=RR:0
b=RS:0
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=yes
a=rtpmap:96 telephone-event/8000
a=fmtp:96 0-15
a=maxptime:40</span></p>
<div><br>
We are using opensips 3.4.2 with rtpengine 10.5.0.0 to
act as SBC<br>
Problem is that when opensips forwards such INVITE to
next hop, rtpengine changes accordinly only second
line of 'c' parameter, resulting in no media.<br>
<br>
I never ran into duplicate line of 'c' param in SDP.<br>
<br>
My question: Is it possible to remove one of
duplicated lines before rtpengine handles it or if
anyone knows how to process both lines in rtpengine?<br>
Carrier is one of national telcos and won't remove it.
So I need to figure out how to solve it on our side.<br>
<br>
Thank you for any tip<br>
<br>
BR<br>
Simon<br>
</div>
</div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank"
rel="noreferrer" moz-do-not-send="true"
class="moz-txt-link-freetext">Users@lists.opensips.org</a><br>
<a
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
rel="noreferrer noreferrer" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote>
</div>
</div>
</div>
</blockquote>
</body>
</html>