[SR-Users] avp_db_query

Ángel Elena craem at craem.net
Sun Sep 18 12:01:57 CEST 2016


Ok, thanks


El 18/09/2016 a las 11:16, Federico Cabiddu escribió:
>
> 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 
> <mailto: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 <mailto: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 <mailto:sr-users at 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 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/f45fb6c4/attachment.html>


More information about the sr-users mailing list