Hi, in a sdp i need to rewrite a a=sendrecv to a=sendonly but onyl for the for the video stream. I made a regex like this:
(?<=m=video)(?s)(.*)(a=sendrecv)
Full version here: https://regex101.com/r/rovecJ/1
But if have problems to translate this into kamailio config via subst_body function. I always end with ERROR: fix_actions(): fixing failed (code=-3)
Somebody sees the mistake?
Kristijan