<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1595" name=GENERATOR>
<STYLE type=text/css>BODY {
        FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma'; font-color: '#000000'
}
LI {
        DISPLAY: list-item; MARGIN: 0in
}
P {
        DISPLAY: block; MARGIN: 0in
}
BODY {
        
}
</STYLE>
</HEAD>
<BODY>
<DIV><SPAN class=932134106-04102007><FONT face=Arial 
color=#0000ff>hi,</FONT></SPAN></DIV>
<DIV><SPAN class=932134106-04102007><FONT face=Arial 
color=#0000ff></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=932134106-04102007><FONT face=Arial color=#0000ff>I think you 
should set the "expires" and "last_modified" field to date and not 
timestamp.</FONT></SPAN></DIV>
<DIV><SPAN class=932134106-04102007><FONT face=Arial color=#0000ff>And also a 
small hint.....the fields with Datatype number - constrain them to a distinct 
size.</FONT></SPAN></DIV>
<DIV><SPAN class=932134106-04102007><FONT face=Arial color=#0000ff>username 
should not be nullable!</FONT></SPAN></DIV>
<DIV><SPAN class=932134106-04102007><FONT face=Arial 
color=#0000ff></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=932134106-04102007><FONT face=Arial color=#0000ff>hope this 
helps, otherwise contact me!</FONT></SPAN></DIV>
<DIV><SPAN class=932134106-04102007><FONT face=Arial 
color=#0000ff></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=932134106-04102007><FONT face=Arial 
color=#0000ff>regards</FONT></SPAN></DIV>
<DIV><SPAN class=932134106-04102007><FONT face=Arial 
color=#0000ff>Martin</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma><B>From:</B> Tung Tran [mailto:tr.tung@gmail.com] 
<BR><B>Sent:</B> Wednesday, October 03, 2007 4:15 PM<BR><B>To:</B> Gruber Martin 
(IFKL IT OS NV)<BR><B>Cc:</B> users@openser.org<BR><B>Subject:</B> RE: 
[OpenSER-Users] Error when connect to Oracle via ODBC.<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt">Hi,</SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV><SPAN style="FONT-SIZE: 10pt">This is the structure of my location 
table.</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt">If you need any information please let me 
know..</SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV><SPAN style="FONT-SIZE: 10pt">Thanks for your help in advanced</SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV><SPAN style="FONT-SIZE: 10pt">Regards</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt">Tung<BR><BR></SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: navy">&gt; Hi,</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: navy">&gt;</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: navy">&gt; please send me the 
structure of your location table.</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: navy">&gt;</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: navy">&gt; regards</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: navy">&gt;</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: navy">&gt; 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: Wednesday, October 
03, 2007 8:55 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; Dear Martin,</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: navy">&gt;</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: navy">&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: navy">&gt; also follow the guide on 
web to batch the unixodbc module and it</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: navy">&gt; runs with the error I just 
report.</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: navy">&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: navy">&gt;</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: navy">&gt; Please help,</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: navy">&gt;</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: navy">&gt; Regards</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; 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; what version of 
OpenSER do you use. Seems that something in the</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: maroon">&gt;&gt; source is not running 
well. Check out the newest version first.</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: maroon">&gt;&gt; If it is not the case 
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; regards</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: maroon">&gt;&gt;</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: maroon">&gt;&gt; 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: 
users-bounces@openser.org [<A href="mailto:users">mailto:users</A>-</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: maroon">&gt;&gt; bounces@openser.org] 
On Behalf Of Tung Tran Sent: Wednesday,</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: maroon">&gt;&gt; October 03, 2007 7:18 
AM To: users@openser.org</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: maroon">&gt;&gt; Subject: 
[OpenSER-Users] Error when connect to Oracle via 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 all,</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 am trying to 
connect Openser with Oracle via odbc. So far I can</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: maroon">&gt;&gt; connect sucessfully 
to Oracle DB via unixODBC module, I can</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: maroon">&gt;&gt; register and make 
call,</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: maroon">&gt;&gt; However I got this 
error from Openser debug that I dont know it</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: maroon">&gt;&gt; may effect to Openser 
operation</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: maroon">&gt;&gt;</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: maroon">&gt;&gt; 1(9499) 
unixodbc:SQLExecDirect=HY000:1:920:[Oracle][ODBC][Ora]ORA-</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: maroon">&gt;&gt; &nbsp;00920: invalid 
relational operator</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: maroon">&gt;&gt;</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: maroon">&gt;&gt; 1(9499) 
unixodbc:SQLExecDirect=HY000:2:920:[Oracle][ODBC][Ora]ORA-</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: maroon">&gt;&gt; &nbsp;00920: invalid 
relational operator</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: maroon">&gt;&gt;</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: maroon">&gt;&gt; 1(9499) db_raw_query: 
Error while submitting query &nbsp;1(9499)</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: maroon">&gt;&gt; 
ERROR:usrloc:get_all_db_ucontacts: raw_query failed &nbsp;1(9499)</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: maroon">&gt;&gt; 
unixodbc:SQLExecDirect, rv=100. Query= delete from location where</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: maroon">&gt;&gt; expires</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: maroon">&gt;&gt; 
expires!=to_date('1970-01-0107:00:00','YYYY-MM-DD HH24:MI:SS') 
&nbsp;</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: maroon">&gt;&gt; 1(9499) 
unixodbc:SQLExecDirect, rv=-1. Query= select received,</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: maroon">&gt;&gt; contact, socket, 
cflags from location where expires &gt; now() and</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: maroon">&gt;&gt; cflags &amp; 64 = 64 
&nbsp;1(9499)</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: maroon">&gt;&gt; 
unixodbc:SQLExecDirect=HY000:1:920:[Oracle][ODBC][Ora]ORA-00920:</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: maroon">&gt;&gt; invalid relational 
operator &nbsp; &nbsp;1(9499)</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: maroon">&gt;&gt; 
unixodbc:SQLExecDirect=HY000:2:920:[Oracle][ODBC][Ora]ORA-00920:</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: maroon">&gt;&gt; invalid relational 
operator &nbsp;</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: maroon">&gt;&gt; 1(9499) db_raw_query: 
Error while submitting query &nbsp;1(9499)</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: maroon">&gt;&gt; 
ERROR:usrloc:get_all_db_ucontacts: raw_query failed &nbsp;1(9499)</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: maroon">&gt;&gt; 
unixodbc:SQLExecDirect, rv=-1. Query= select received, contact,</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: maroon">&gt;&gt; socket, cflags from 
location where expires &gt; now() and cflags &amp;</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: maroon">&gt;&gt; 64 = 64 
&nbsp;1(9499)</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: maroon">&gt;&gt; 
unixodbc:SQLExecDirect=HY000:1:920:[Oracle][ODBC][Ora]ORA-00920:</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: maroon">&gt;&gt; invalid relational 
operator &nbsp; &nbsp;1(9499)</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: maroon">&gt;&gt; 
unixodbc:SQLExecDirect=HY000:2:920:[Oracle][ODBC][Ora]ORA-00920:</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: maroon">&gt;&gt; invalid relational 
operator &nbsp;</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: maroon">&gt;&gt; 1(9499) db_raw_query: 
Error while submitting query &nbsp;1(9499)</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: maroon">&gt;&gt; 
ERROR:usrloc:get_all_db_ucontacts: raw_query failed &nbsp;1(9499)</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: maroon">&gt;&gt; 
unixodbc:SQLExecDirect, rv=-1. Query= select received, contact,</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: maroon">&gt;&gt; socket, cflags from 
location where expires &gt; now() and cflags &amp;</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: maroon">&gt;&gt; 64 = 64 
&nbsp;1(9499)</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: maroon">&gt;&gt; 
unixodbc:SQLExecDirect=HY000:1:920:[Oracle][ODBC][Ora]ORA-00920:</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: maroon">&gt;&gt; invalid relational 
operator &nbsp; &nbsp;1(9499)</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: maroon">&gt;&gt; 
unixodbc:SQLExecDirect=HY000:2:920:[Oracle][ODBC][Ora]ORA-00920:</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: maroon">&gt;&gt; invalid relational 
operator &nbsp; &nbsp;</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: maroon">&gt;&gt; Should anyone sucess 
customize Openser to work smoothly with</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: maroon">&gt;&gt; Oracle? please 
help.</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 and 
regards</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: maroon">&gt;&gt; 
Tung</SPAN></DIV></BODY></HTML>