HMR to remove duplicated session attribute line from SDP
Hi Guys!
I'm looking for a HMR that can help us removing duplicated "session attribute line" from the SDP. We're experience problem with "corrupted" SDP cotaining many duplicated "a=rtpmap:101 telephone-event/8000" (sometime 30-40 extra lines), it can for example look like this;
m=audio 41866 RTP/AVP 8 18 0 101
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=rtpmap:101 telephone-event/8000
a=rtpmap:101 telephone-event/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=rtpmap:101 telephone-event/8000
a=rtpmap:101 telephone-event/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=rtpmap:101 telephone-event/8000
a=rtpmap:101 telephone-event/8000
a=rtpmap:101 telephone-event/8000
a=rtpmap:101 telephone-event/8000
a=rtpmap:101 telephone-event/8000
The "faulty" SDPs originates from a source (node) that we can't control. The duplicates leads to problems in our 3:rd party media servers and therefore we want to remove them in the SBC.