Hello Alexey,
I am uncertain as to whether rtpengine_offer()/answer() support pseudovariable arguments. But if they do, you'll need to wrap them in a string literal:
rtpengine_offer("$var(rtpp_flags)");
If they don't support PV arguments at all, you may be stuck with having to provide a static argument:
rtpengine_offer("trust-address symmetric replace-origin replace-session-connection ICE=force RTP/SAVPF");
-- Alex