<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<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; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: pre-wrap; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; 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; -webkit-text-stroke-width: 0px; white-space: pre-wrap; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; 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; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: pre-wrap; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; 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; scrollbar-width: thin; scrollbar-color: rgba(199, 199, 199, 0.75) rgba(0, 0, 0, 0); font-family: "Roboto Mono", monospace; font-size: 12px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: pre-wrap; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; 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; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: pre-wrap; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; 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; -webkit-text-stroke-width: 0px; white-space: pre-wrap; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; 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; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: pre-wrap; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; 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 class="moz-signature"><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>
</body>
</html>