[Kamailio-Users] Re move Body Part
karhu
yoannks at gmail.com
Wed May 27 17:42:33 CEST 2009
>Not sure, but perhaps this could work:
>subst_body('/a=rtpmap:107 BV32\/16000 /SAME_LINE\r\nNEW_LINE/');
>In SAME_LINE you should use the typical variable to copy the match (maybe
$1)?
subst_body('/(a=rtpmap:107 BV32\/16000) /\1\r\nNEW_LINE/');
like this it works :) thanks.
It should be possible to delete empty line with perl substitution, have no
clue about how to do that.
Cheers
--
View this message in context: http://www.nabble.com/Remove-Body-Part-tp23739505p23745160.html
Sent from the OpenSER Users Mailing List mailing list archive at Nabble.com.
More information about the Users
mailing list