<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hello,</p>
<p>indeed, the length without quotes was not adjusted. I pushed
another patch, can you try again?</p>
<p>Cheers,<br>
Daniel<br>
</p>
<div class="moz-cite-prefix">On 02/05/16 11:42, gmele wrote:<br>
</div>
<blockquote cite="mid:1462182133325-148019.post@n5.nabble.com"
type="cite">
<pre wrap="">Hello Daniel,
I patched our kamailio 4.4.0 with the following modified files:
lib/srdb1/db_ut.h
lib/srdb1/db_ut.c
modules/urloc/dlist.c
I recompiled and replaced libsrdb1.so.1.0 and usrloc.so.
Now when kamailio starts, it still reports error:
May 2 11:33:43 newvm1 /usr/sbin/kamailio[15899]: ERROR: db_unixodbc
[dbase.c:133]: db_unixodbc_submit_query(): rv=-1. Query= *select
received,contact,socket,cflags,path,ruid from location where
expires>'2016-05-02 09:33:43*
It seems that your patch has removed a part of the query: the query is
missing the last quote of the date and the rest of the where clause:
*
' *AND partition=11 AND keepalive=1*
Regards
Giovanni
--
View this message in context: <a class="moz-txt-link-freetext" href="http://sip-router.1086192.n5.nabble.com/Kamailio-and-Oracle-database-tp147990p148019.html">http://sip-router.1086192.n5.nabble.com/Kamailio-and-Oracle-database-tp147990p148019.html</a>
Sent from the Users mailing list archive at Nabble.com.
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio World Conference, Berlin, May 18-20, 2016 - <a class="moz-txt-link-freetext" href="http://www.kamailioworld.com">http://www.kamailioworld.com</a></pre>
</body>
</html>