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