Hi,
Take a look at:
http://www.opensips.org/Documentation/Tutorials-KeyValueInterface
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 17.09.2014 23:22, Satish Patel wrote:
I am doing following operation in opensips script and i want this
information in memcached because every single call hitting MySQL for
this information
avp_db_query("SELECT username FROM registrant WHERE
(registrar='$var(x)')","$avp(user)");
avp_db_query("SELECT password FROM registrant WHERE
username='$avp(user)'","$avp(pass)");
avp_db_query("SELECT realm FROM registrant WHERE
username='$avp(user)'","$avp(realm)");
I know you can use cache_store() function to store in cache but i
don't know what would be the syntax, it is possible or not?
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users