[SR-Users] how to replace sdp c line?

Peter Dunkley peter.dunkley at crocodilertc.net
Thu Oct 17 10:27:20 CEST 2013


I've done similar things before by using a reg-ex substitution on the
message body.

I think I used replace_body_re() from textops.

Regards,

Peter


On 17 October 2013 08:06, Juha Heinanen <jh at tutpro.com> wrote:

> i have tried various textops functions to replace sdp c lines with
>
> c=IN IP4 0.0.0.0
>
> but so far all have appended the above line to the end of sdp rather
> than replaced existing c lines.
>
> any hints on a solution?
>
> -- juha
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>



-- 
Peter Dunkley
Technical Director
Crocodile RCS Ltd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20131017/b1864e12/attachment.html>


More information about the sr-users mailing list