I tried to do it in opensips, using
replace_body_all("^s=.*$", "s=abczzz");
This works if I don't use rtpengine.
When I add all the rtpengine offer/answer functions, the s= line is reverted to the original.
I tried to do replace_body_all before and after the rtpengine_offer, but it doesn't seem to have any effect.