<div dir="ltr"><div>Hi, Alex!<br><br></div><div>I'm not experienced in Kamailio, but that code works well :) <br>Is there any difference between feeding the function with variable (AVP?) or string literal?<br></div><div>
<br></div>best regards,<br>Alexey<br><div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-05-16 16:09 GMT+04:00 Alex Balashov <span dir="ltr"><<a href="mailto:abalashov@evaristesys.com" target="_blank">abalashov@evaristesys.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Alexey,<br>
<br>
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:<br>
<br>
   rtpengine_offer("$var(rtpp_<u></u>flags)");<br>
<br>
If they don't support PV arguments at all, you may be stuck with having to provide a static argument:<br>
<br>
   rtpengine_offer("trust-address symmetric replace-origin replace-session-connection ICE=force RTP/SAVPF");<br>
<br>
-- Alex</blockquote></div><br></div></div></div>