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

Peter Dunkley peter.dunkley at crocodilertc.net
Thu Oct 17 10:28:26 CEST 2013


I may have used replace_body_all() or replace_body_atonce() as well.




On 17 October 2013 09:27, Peter Dunkley <peter.dunkley at crocodilertc.net>wrote:

> 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
>



-- 
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/9aaca426/attachment.html>


More information about the sr-users mailing list