[OpenSIPS-Users] Avp_db_query causing error with invalid parameter value. How to fix it?

Rodrigo Pimenta Carvalho pimenta at inatel.br
Wed Feb 24 13:07:14 CET 2016


Hi Bogdan.


I will do this check and let you know the result. Wait some minutes, please.


Thanks.


RODRIGO PIMENTA CARVALHO
Inatel Competence Center
Software
Ph: +55 35 3471 9200 RAMAL 979


________________________________
De: Bogdan-Andrei Iancu <bogdan at opensips.org>
Enviado: terça-feira, 23 de fevereiro de 2016 19:19
Para: OpenSIPS users mailling list
Cc: Daniel Lopes Fússia; Rodrigo Pimenta Carvalho
Assunto: Re: [OpenSIPS-Users] Avp_db_query causing error with invalid parameter value. How to fix it?

Hi Rodrigo,

Can you identify the actual query (like maybe printing something in the script via xlog) that generates this error ? also, are there any previous errors just above this one ?

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

[http://www.opensips-solutions.com/imgs/opensips-solutions-logo.gif]<http://www.opensips-solutions.com/>

Home - OpenSIPS Solutions<http://www.opensips-solutions.com/>
www.opensips-solutions.com
OpenSIPS is a mature Open Source implementation of a SIP server. OpenSIPS is more than a SIP proxy/router as it includes application-level functionalities.

On 23.02.2016 22:06, Rodrigo Pimenta Carvalho wrote:


Hi.


Most of my queries in avp_db_query is causing the following error:



"ERROR:db_sqlite:db_sqlite_free_result: invalid parameter value"


How to fix it? I'm sure that all SQL queries is correct, as I have tested it in an isolated way direct over the database. In addiction, all SQL commands with avp_db_query can change the data in the database correctly. The unique issue is the "ERROR" seen in the log.


The documentation doesn't comment on it.


Any hint will be very helpful!


Thanks a lot.



RODRIGO PIMENTA CARVALHO
Inatel Competence Center
Software
Ph: +55 35 3471 9200 RAMAL 979



_______________________________________________
Users mailing list
Users at lists.opensips.org<mailto:Users at lists.opensips.org>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20160224/9659d941/attachment.htm>


More information about the Users mailing list