[SR-Users] avp_db_query
Federico Cabiddu
federico.cabiddu at gmail.com
Sun Sep 18 11:16:59 CEST 2016
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 at 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 at craem.net / \\
> http://blog.craem.net _(___V
> @craem_
> --------------------------------
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160918/7a0fffed/attachment.html>
More information about the sr-users
mailing list