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

2015-04-06 Thread Eric Tamme
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___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


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

2015-04-07 Thread Eric Tamme
I looked into this further last night and found that 
db_sqlite_submit_dummy_query() is never actually being called, and as a result 
query_holder is never set.

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/451#issuecomment-90556766___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


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

2015-04-08 Thread Ionut Ionita
@eamme fixed 
https://github.com/OpenSIPS/opensips/commit/82648c210b13dfa36894165c1fee58c642b8391d

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/451#issuecomment-90911759___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


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

2015-04-08 Thread Eric Tamme
Closed #451.

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/451#event-276287525___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel