<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Hello,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Using 4.0.4:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I’m getting the following error (removed the values part of the query):<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal> 3(2931) ERROR: db_unixodbc [dbase.c:133]: db_unixodbc_submit_query(): rv=-1. Query= insert into Dialogs (HashEntry,HashID,CallID,FromURI,FromTag,ToURI,ToTag,CallerSock,CalleeSock,StartTime,State,Timeout,CallerCSeq,CalleeCSeq,CallerRouteSet,CalleeRouteSet,CallerContact,CalleeContact,SFlags,ToRouteName,req_uri,xdata,iflags )<o:p></o:p></p><p class=MsoNormal> 3(2931) ERROR: db_unixodbc [con.c:220]: db_unixodbc_extract_error(): unixodbc:SQLExecDirect=42S22:1:207:[FreeTDS][SQL Server]Invalid column name 'req_uri'.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>The dialog.c file infact doesn’t contain the req_uri_column, x_data_column and the iflags_column in <span style='font-size:9.0pt;font-family:"Courier New"'>static param_export_t mod_params[],static int mod_init(void).<o:p></o:p></span></p><p class=MsoNormal>The dlg_db_handler.c files does contain them in the beginning of the file and<span style='font-size:9.0pt;font-family:"Courier New"'> </span>in <span style='font-size:9.0pt;font-family:"Courier New"'>static int select_entire_dialog_table(db1_res_t ** res, int fetch_num_rows).<o:p></o:p></span></p><p class=MsoNormal>I haven’t checked the other remaining files, but I think the only problem is the renaming of these columns in the kamailio script.<o:p></o:p></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New"'><o:p> </o:p></span></p><p class=MsoNormal>Just wondering if anyone else has noticed this? <o:p></o:p></p></div></body></html>