Hi, Alex!

I'm not experienced in Kamailio, but that code works well :)
Is there any difference between feeding the function with variable (AVP?) or string literal?

best regards,
Alexey


2014-05-16 16:09 GMT+04:00 Alex Balashov <abalashov@evaristesys.com>:
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