<div dir="ltr"><div>I am doing following operation in opensips script and i want this information in memcached because every single call hitting MySQL for this information <br><br>avp_db_query(&quot;SELECT username FROM registrant WHERE (registrar=&#39;$var(x)&#39;)&quot;,&quot;$avp(user)&quot;);<br>                avp_db_query(&quot;SELECT password FROM registrant WHERE username=&#39;$avp(user)&#39;&quot;,&quot;$avp(pass)&quot;);<br>                avp_db_query(&quot;SELECT realm FROM registrant WHERE username=&#39;$avp(user)&#39;&quot;,&quot;$avp(realm)&quot;);<br><br><br></div>I know you can use cache_store() function to store in cache but i don&#39;t know what would be the syntax, it is possible or not?<br><br><br></div>