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

_______________________________________________
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

--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Trainings - Berlin, Nov 25-28
  - more details about Kamailio trainings at http://www.asipto.com -


_______________________________________________
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

Reply via email to