Re: [SR-Users] How to add some text at end of body line with subst_body

2014-03-05 Thread Daniel-Constantin Mierla
Hello, maybe you can try to skip \r in the match: subst_body('/(a=crypto[^ \r]*)/\1 UNENCRYPTED_SRTCP/g'); Cheers, Daniel On 25/02/14 17:37, Barthel Marco (CI/AFU1) wrote: Hi, I’m trying to add some string at the end of some line in the body/sdp of a SIP INVITE for testing some interoperab

[SR-Users] How to add some text at end of body line with subst_body

2014-02-25 Thread Barthel Marco (CI/AFU1)
Hi, I'm trying to add some string at the end of some line in the body/sdp of a SIP INVITE for testing some interoperability. The following line a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:NwC8z5MsyCWbpJJo1n2BDS8DkGuUU2cIt9KRUqPU should be converted to a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:N