[SR-Users] avp_db_query

Angel Elena craem at craem.net
Sat Sep 17 13:37:54 CEST 2016


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_
--------------------------------



More information about the sr-users mailing list