Hi,
you may use sqlops module for executing queries from routing script:
http://www.kamailio.org/docs/modules/4.0.x/modules/sqlops.html
Cheers,
Federico
On 17 Sep 2016 13:38, "Angel Elena" <craem(a)craem.net
<mailto:craem@craem.net>> wrote:
Hi, good moorning.
I have a Kamailio 4.0 with avp module working.
Now, I need write some values in my database and I don't find and
example for this.
if (avp_db_query("update subscriber set bloqueado=0 where
name=xxxxx"))
{
}
Is possible make this operation with avp_db_query ?
Thanks
--------------------------------
Ángel Elena Medina _o)
craem(a)craem.net <mailto:craem@craem.net> / \\
http://blog.craem.net _(___V
@craem_
--------------------------------
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
list
sr-users(a)lists.sip-router.org <mailto:sr-users@lists.sip-router.org>
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
<http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users>
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users