<div dir="ltr">







<p class="gmail-p1">Group I am seeing errors in opensips logs with the latest 2.3</p><p class="gmail-p1"><br></p><p class="gmail-p1">I am attempting to do the following:</p><p class="gmail-p1"><br></p><p class="gmail-p1"><span class="gmail-s1">if ($ua=~someUA){</span></p><p class="gmail-p1"><span class="gmail-s1">setflag(4);</span></p><p class="gmail-p1">









</p><p class="gmail-p1"><span class="gmail-s1">}</span></p><p class="gmail-p1"><span class="gmail-s1"><br></span></p><p class="gmail-p1"><span class="gmail-s1">WARNING:core:do_action: error in expression at /etc/opensips/opensips.cfg:790</span></p><p class="gmail-p1"><span class="gmail-s1"><br></span></p><p class="gmail-p1">I also see an error in this expression</p><p class="gmail-p1"><br></p><p class="gmail-p1"><br></p><p class="gmail-p1"><span class="gmail-s1">if ($ua=~restcomm){</span></p><p class="gmail-p1"><span class="gmail-s1">setflag(uac_ws);</span></p><p class="gmail-p1">









</p><p class="gmail-p1"><span class="gmail-s1">}</span></p><p class="gmail-p1"><span class="gmail-s1">







</span></p><p class="gmail-p1"><span class="gmail-s1"><span class="gmail-Apple-converted-space"> </span>WARNING:core:do_action: error in expression at /etc/opensips/opensips.cfg:602</span></p><p class="gmail-p1"><span class="gmail-s1">does anyone have any idea what is causing this error or if this flag is even being evaluated ?</span></p><p class="gmail-p1"><span class="gmail-s1"><br></span></p></div>