<html><head><meta name="Generator" content="PSI HTML/CSS Generator"/>
<style type="text/css"><!--
body{font-family:'Tahoma';font-size:10pt;font-color:'#000000';}
LI{display:list-item;margin:0.00in;}
p{display:block;margin:0.00in;}
body{}
--></style>
</head><BODY ><div><SPAN style="font-size:10pt;">Dear Mr.Martin,</SPAN></div>
<div>&nbsp;</div>
<div><SPAN style="font-size:10pt;">Thanks for your support so far, I am using newest patch 1.2.2 (stable version) on Openser website. Actually I dont know how to get the last svn to make a new test.</SPAN></div>
<div><SPAN style="font-size:10pt;">Probably I will wait for new release 1.3? </SPAN></div>
<div><SPAN style="font-size:10pt;">Tung<br /><br /></span></div>
<div><SPAN style="font-size:10pt;color:navy;">&gt; Hi Tung,</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">&gt;</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">&gt; yes it is possible because the&#160;Query looks like a little bit</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">&gt; strange. Maybe you should check out the</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">&gt; newest version of OpenSER......because i watched my Query and it</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">&gt; looks okay. Give it a try an tell me if it is running or not! &#160;</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">&gt; kind regards, &#160; Martin</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">&gt;</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">&gt; From: Tung Tran [<a href="mailto:tr.tung@gmail.com]">mailto:tr.tung@gmail.com]</a></SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">&gt; Sent: Thursday, October 04, 2007 9:29 AM</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">&gt; To: Gruber Martin (IFKL IT OS NV)</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">&gt; Cc: users@openser.org</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">&gt; Subject: RE: [OpenSER-Users] Error when connect to Oracle via ODBC.</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">&gt;</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">&gt;</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">&gt; Mr. Martin,</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">&gt;</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">&gt; Sorry the errors are not disappear after I change the username to</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">&gt; not null. I think the errors should be in this query &#160; &#160;1(14057)</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">&gt; unixodbc:SQLExecDirect, rv=-1. Query= select received, contact,</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">&gt; socket, cflags from location where expires &gt; now() and cflags &amp; 64</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">&gt; = 64 &#160;1(14057)</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">&gt; unixodbc:SQLExecDirect=HY000:1:920:[Oracle][ODBC][Ora]ORA-00920:</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">&gt; invalid relational operator &#160; If I copy this query and run directly</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">&gt; on Oracle then I got error too, but I change the query to &#160; &#160;</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">&gt; "select received, contact, socket, cflags from location where</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">&gt; expires &gt; now() and cflags &#160;= 64" &#160; then it works, &#160; Do you think</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">&gt; there is a bug in the code ? &#160; Regards,</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">&gt;</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">&gt; Tung</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">&gt;</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">&gt;</SPAN></div>
<div><SPAN style="font-size:10pt;color:maroon;">&gt;&gt; he fields with Datatype number - constrain them to a distinct size</SPAN></div>
<div><SPAN style="font-size:10pt;color:maroon;">&gt;&gt;</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">&gt;</SPAN></div>
<div><SPAN style="font-size:10pt;color:maroon;">&gt;&gt; hi,</SPAN></div>
<div><SPAN style="font-size:10pt;color:maroon;">&gt;&gt;</SPAN></div>
<div><SPAN style="font-size:10pt;color:maroon;">&gt;&gt; I think you should set the "expires" and "last_modified" field to</SPAN></div>
<div><SPAN style="font-size:10pt;color:maroon;">&gt;&gt; date and not timestamp. And also a small hint.....the fields with</SPAN></div>
<div><SPAN style="font-size:10pt;color:maroon;">&gt;&gt; Datatype number - constrain them to a distinct size. username</SPAN></div>
<div><SPAN style="font-size:10pt;color:maroon;">&gt;&gt; should not be nullable! &#160; hope this helps, otherwise contact me! &#160;</SPAN></div>
<div><SPAN style="font-size:10pt;color:maroon;">&gt;&gt; &#160;regards Martin</SPAN></div>
<div><SPAN style="font-size:10pt;color:maroon;">&gt;&gt;</SPAN></div>
<div><SPAN style="font-size:10pt;color:maroon;">&gt;&gt; From: Tung Tran [<a href="mailto:tr.tung@gmail.com]">mailto:tr.tung@gmail.com]</a></SPAN></div>
<div><SPAN style="font-size:10pt;color:maroon;">&gt;&gt; Sent: Wednesday, October 03, 2007 4:15 PM</SPAN></div>
<div><SPAN style="font-size:10pt;color:maroon;">&gt;&gt; To: Gruber Martin (IFKL IT OS NV)</SPAN></div>
<div><SPAN style="font-size:10pt;color:maroon;">&gt;&gt; Cc: users@openser.org</SPAN></div>
<div><SPAN style="font-size:10pt;color:maroon;">&gt;&gt; Subject: RE: [OpenSER-Users] Error when connect to Oracle via</SPAN></div>
<div><SPAN style="font-size:10pt;color:maroon;">&gt;&gt; ODBC.</SPAN></div>
<div><SPAN style="font-size:10pt;color:maroon;">&gt;&gt;</SPAN></div>
<div><SPAN style="font-size:10pt;color:maroon;">&gt;&gt;</SPAN></div>
<div><SPAN style="font-size:10pt;color:maroon;">&gt;&gt; Hi,</SPAN></div>
<div><SPAN style="font-size:10pt;color:maroon;">&gt;&gt;</SPAN></div>
<div><SPAN style="font-size:10pt;color:maroon;">&gt;&gt; This is the structure of my location table.</SPAN></div>
<div><SPAN style="font-size:10pt;color:maroon;">&gt;&gt; If you need any information please let me know..</SPAN></div>
<div><SPAN style="font-size:10pt;color:maroon;">&gt;&gt;</SPAN></div>
<div><SPAN style="font-size:10pt;color:maroon;">&gt;&gt; Thanks for your help in advanced</SPAN></div>
<div><SPAN style="font-size:10pt;color:maroon;">&gt;&gt;</SPAN></div>
<div><SPAN style="font-size:10pt;color:maroon;">&gt;&gt; Regards</SPAN></div>
<div><SPAN style="font-size:10pt;color:maroon;">&gt;&gt; Tung</SPAN></div>
<div><SPAN style="font-size:10pt;color:maroon;">&gt;&gt;</SPAN></div>
<div><SPAN style="font-size:10pt;color:maroon;">&gt;&gt;</SPAN></div>
<div><SPAN style="font-size:10pt;color:purple;">&gt;&gt;&gt; Hi,</SPAN></div>
<div><SPAN style="font-size:10pt;color:purple;">&gt;&gt;&gt;</SPAN></div>
<div><SPAN style="font-size:10pt;color:purple;">&gt;&gt;&gt; please send me the structure of your location table.</SPAN></div>
<div><SPAN style="font-size:10pt;color:purple;">&gt;&gt;&gt;</SPAN></div>
<div><SPAN style="font-size:10pt;color:purple;">&gt;&gt;&gt; regards</SPAN></div>
<div><SPAN style="font-size:10pt;color:purple;">&gt;&gt;&gt;</SPAN></div>
<div><SPAN style="font-size:10pt;color:purple;">&gt;&gt;&gt; martin</SPAN></div>
<div><SPAN style="font-size:10pt;color:purple;">&gt;&gt;&gt;</SPAN></div>
<div><SPAN style="font-size:10pt;color:purple;">&gt;&gt;&gt; From: Tung Tran [<a href="mailto:tr.tung@gmail.com]">mailto:tr.tung@gmail.com]</a></SPAN></div>
<div><SPAN style="font-size:10pt;color:purple;">&gt;&gt;&gt; Sent: Wednesday, October 03, 2007 8:55 AM</SPAN></div>
<div><SPAN style="font-size:10pt;color:purple;">&gt;&gt;&gt; To: Gruber Martin (IFKL IT OS NV)</SPAN></div>
<div><SPAN style="font-size:10pt;color:purple;">&gt;&gt;&gt; Cc: users@openser.org</SPAN></div>
<div><SPAN style="font-size:10pt;color:purple;">&gt;&gt;&gt; Subject: RE: [OpenSER-Users] Error when connect to Oracle via</SPAN></div>
<div><SPAN style="font-size:10pt;color:purple;">&gt;&gt;&gt; ODBC.</SPAN></div>
<div><SPAN style="font-size:10pt;color:purple;">&gt;&gt;&gt;</SPAN></div>
<div><SPAN style="font-size:10pt;color:purple;">&gt;&gt;&gt;</SPAN></div>
<div><SPAN style="font-size:10pt;color:purple;">&gt;&gt;&gt; Dear Martin,</SPAN></div>
<div><SPAN style="font-size:10pt;color:purple;">&gt;&gt;&gt;</SPAN></div>
<div><SPAN style="font-size:10pt;color:purple;">&gt;&gt;&gt; I am using Openser 1.2.2 and the odbc lib is libsqora.so.10.1 I</SPAN></div>
<div><SPAN style="font-size:10pt;color:purple;">&gt;&gt;&gt; also follow the guide on web to batch the unixodbc module and</SPAN></div>
<div><SPAN style="font-size:10pt;color:purple;">&gt;&gt;&gt; it runs with the error I just report.</SPAN></div>
<div><SPAN style="font-size:10pt;color:purple;">&gt;&gt;&gt; (<a href="http://openser.org/pipermail/users/2007-August/012532.html">http://openser.org/pipermail/users/2007-August/012532.html</a>)</SPAN></div>
<div><SPAN style="font-size:10pt;color:purple;">&gt;&gt;&gt;</SPAN></div>
<div><SPAN style="font-size:10pt;color:purple;">&gt;&gt;&gt; Please help,</SPAN></div>
<div><SPAN style="font-size:10pt;color:purple;">&gt;&gt;&gt;</SPAN></div>
<div><SPAN style="font-size:10pt;color:purple;">&gt;&gt;&gt; Regards</SPAN></div>
<div><SPAN style="font-size:10pt;color:purple;">&gt;&gt;&gt; Tung</SPAN></div>
<div><SPAN style="font-size:10pt;color:purple;">&gt;&gt;&gt;</SPAN></div>
<div><SPAN style="font-size:10pt;color:purple;">&gt;&gt;&gt;</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt; Hi,</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt;</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt; what version of OpenSER do you use. Seems that something in</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt; the source is not running well. Check out the newest version</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt; first. If it is not the case let me know!</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt;</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt; regards</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt;</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt; Martin</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt;</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt; From: users-bounces@openser.org [<a href="mailto:users">mailto:users</a>-</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt; bounces@openser.org] On Behalf Of Tung Tran Sent: Wednesday,</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt; October 03, 2007 7:18 AM To: users@openser.org Subject:</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt; [OpenSER-Users] Error when connect to Oracle via ODBC.</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt;</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt;</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt; Hi all,</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt;</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt; I am trying to connect Openser with Oracle via odbc. So far I</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt; can</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt; connect sucessfully to Oracle DB via unixODBC module, I can</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt; register and make call,</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt; However I got this error from Openser debug that I dont know</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt; it may effect to Openser operation</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt;</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt; 1(9499)</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt; unixodbc:SQLExecDirect=HY000:1:920:[Oracle][ODBC][Ora]ORA-</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt; 00920: invalid relational operator</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt;</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt; 1(9499)</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt; unixodbc:SQLExecDirect=HY000:2:920:[Oracle][ODBC][Ora]ORA-</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt; 00920: invalid relational operator</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt;</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt; 1(9499) db_raw_query: Error while submitting query &#160;1(9499)</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt; ERROR:usrloc:get_all_db_ucontacts: raw_query failed &#160;1(9499)</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt; unixodbc:SQLExecDirect, rv=100. Query= delete from location</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt; where expires</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt; expires!=to_date('1970-01-0107:00:00','YYYY-MM-DD</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt; HH24:MI:SS') &#160; 1(9499) unixodbc:SQLExecDirect, rv=-1. Query=</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt; select received, contact, socket, cflags from location where</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt; expires &gt; now() and cflags &amp; 64 = 64 &#160;1(9499)</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt; unixodbc:SQLExecDirect=HY000:1:920:[Oracle][ODBC][Ora]ORA-</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt; 00920: invalid relational operator &#160; &#160;1(9499)</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt; unixodbc:SQLExecDirect=HY000:2:920:[Oracle][ODBC][Ora]ORA-</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt; 00920: invalid relational operator &#160;</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt; 1(9499) db_raw_query: Error while submitting query &#160;1(9499)</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt; ERROR:usrloc:get_all_db_ucontacts: raw_query failed &#160;1(9499)</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt; unixodbc:SQLExecDirect, rv=-1. Query= select received,</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt; contact, socket, cflags from location where expires &gt; now()</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt; and cflags &amp; 64 = 64 &#160;1(9499)</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt; unixodbc:SQLExecDirect=HY000:1:920:[Oracle][ODBC][Ora]ORA-</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt; 00920: invalid relational operator &#160; &#160;1(9499)</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt; unixodbc:SQLExecDirect=HY000:2:920:[Oracle][ODBC][Ora]ORA-</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt; 00920: invalid relational operator &#160;</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt; 1(9499) db_raw_query: Error while submitting query &#160;1(9499)</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt; ERROR:usrloc:get_all_db_ucontacts: raw_query failed &#160;1(9499)</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt; unixodbc:SQLExecDirect, rv=-1. Query= select received,</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt; contact, socket, cflags from location where expires &gt; now()</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt; and cflags &amp; 64 = 64 &#160;1(9499)</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt; unixodbc:SQLExecDirect=HY000:1:920:[Oracle][ODBC][Ora]ORA-</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt; 00920: invalid relational operator &#160; &#160;1(9499)</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt; unixodbc:SQLExecDirect=HY000:2:920:[Oracle][ODBC][Ora]ORA-</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt; 00920: invalid relational operator &#160; &#160;</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt; Should anyone sucess customize Openser to work smoothly with</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt; Oracle? please help.</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt;</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt; Thanks and regards</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">&gt;&gt;&gt;&gt; Tung</SPAN></div>
</body></html>