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@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@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users



--
Peter Dunkley
Technical Director
Crocodile RCS Ltd