<div dir="ltr">Hi all.<div><br></div><div>In my quest to make the push server work on my Opensips 3.0 installation. I have figured out that the following query isn't working correctly:</div><div><br></div><div>$avp(query) = "SELECT token, app, platform, sip_instance from push_tokens WHERE username='" + $(var(user){s.escape.common}) + "' AND domain='" + $(var(domain){s.escape.common}) + "'";<br></div><div><br></div><div>When I replace $(var(user...)/$var(domain...) with $(tU..) and $(td..), the query seems to work. I have tried multiple combinations, but the original query isn't working.</div><div><br></div><div>What do I need to change to make the original query work? I did find details of what tU is, but nothing about var(user).</div><div><br></div><div>Thanks for the help.</div></div>