Hello,
indeed it can offer more strict matching and removing. Since the code is
ready I will commit it soon, thanks for the patch.
Cheers,
Daniel
On 10/1/12 11:49 AM, Mikko Lehto wrote:
2012-10-01 (Mon) 08:52 UTC +0300 Juha Heinanen
<jh(a)tutpro.com>om>:
i think you could achieve the same by using
replace_body_all(re, txt)
from textops module.
Yes, this works if body contains only SDP:
replace_body_all("^a=X-.*\n","");
But I was thinking that it is not a good idea as it modifies blindly
whole body part, ignoring boundaries of individual MIME parts.
--
Daniel-Constantin Mierla -
http://www.asipto.com
http://twitter.com/#!/miconda -
http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Berlin, Nov 5-8, 2012 -
http://asipto.com/u/kat
Kamailio Advanced Training, Miami, USA, Nov 12-14, 2012 -
http://asipto.com/u/katu