[OpenSIPS-Devel] [opensips] 2.x sqlite module errors out: ERROR:db_sqlite:str_strstr: bad parameters (#451)

Eric Tamme notifications at github.com
Mon Apr 6 22:54:24 CEST 2015


I added some logs for query_holder and searched_str, it looks like query holder is empty 

DBG:avpops:ops_dbquery_avps: query [select tran_strip, tran_prefix, tran_user, tran_domain, tran_port, tran_add_header,tran_strip_port from translations where (from_username='eric' or from_username IS NULL) and from_domain='voipphreaker.com' and (match_user_agent like 'Grandstream GXP1610 1.0.0.38%' or match_user_agent IS NULL )  and ('7000' regexp match_regex or match_regex IS NULL) order by tran_priority limit 1]
 DBG:db_sqlite:db_copy_rest_of_count: XXX query_holder: 
 DBG:db_sqlite:db_copy_rest_of_count: XXX searched_str: from
 ERROR:db_sqlite:str_strstr: bad parameters


---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/451#issuecomment-90238579
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20150406/ffe81315/attachment.htm>


More information about the Devel mailing list