Re: [SR-Users] remove a line from SDP

2013-11-20 Thread Laurent Schweizer
nvoyé : mardi 19 novembre 2013 12:57 À : Kamailio (SER) - Users Mailing List Objet : Re: [SR-Users] remove a line from SDP Hello, can you try with replace_body_atonce(): http://www.kamailio.org/docs/modules/stable/modules/textops.html#idp126936 Otherwise, you should try matching the \n as

Re: [SR-Users] remove a line from SDP

2013-11-19 Thread Daniel-Constantin Mierla
Hello, can you try with replace_body_atonce(): http://www.kamailio.org/docs/modules/stable/modules/textops.html#idp126936 Otherwise, you should try matching the \n as well which is not included by wildcard matching '.*'. Cheers, Daniel On 11/19/13 11:14 AM, Laurent Schweizer wrote: Dear al

[SR-Users] remove a line from SDP

2013-11-19 Thread Laurent Schweizer
Dear all, I try to remove a line from an SDP with: subst_body('/^a=fmtp:8 vad=no(.*)$//g'); unfortunately the "0a" of the end of line ( 0d0a ) is not removed, so the "$" remove only the 0d any idea how to remove the last "0a" Best regards Laurent