[sr-dev] patch: sdpops - new function remove_line_by_prefix()

Mikko Lehto mslehto at iki.fi
Mon Oct 1 06:40:38 CEST 2012


Hi

I created this patch to clean ugly experimental SDP lines.
It is tested with Content-Type multipart/mixed and application/sdp
and body cleaning seem to work fine.

Here is a sample of unwanted SDP attributes that can be filtered with
this function:
---
a=X-sqn:0
a=X-cap: 1 audio RTP/AVP 100
a=X-cpar: a=rtpmap:100 X-NSE/8000
a=X-cpar: a=fmtp:100 192-194,200-202
a=X-cap: 2 image udptl t38
---

Comments appreciated.

-- 
Mikko Lehto
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sdpops-sdp_remove_line_by_prefix.patch
Type: text/x-diff
Size: 7108 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20121001/4daf7de9/attachment.patch>


More information about the sr-dev mailing list