<span style="font-family: Arial, Helvetica, Sans-Serif; font-size: 12px"><div> I have a project that is requiring the use of MS SQL from asterisk. I get an error when the pjsip contact tries to update the contact table.</div>
<div> </div>
<div>[Oct 15 21:34:55] WARNING[3033]: res_odbc.c:649 ast_odbc_prepare_and_execute: SQL Execute returned an error -1: 22018: [FreeTDS][SQL Server]Conversion failed when converting the varchar value '3.000000' to data type int. (101)</div>
<div> </div>
<div>The datatype in MySQL is integer and in MS SQL is integer. What could be the cause of this? Is it likely some kind of FeeTDS conversion issue? If I change the MS SQL type to double the error goes away, but I am unsure of the long term issues associated with this.</div>
<div> </div>
<div>Thanks<br />
<br />
Bryant Zimmerman (ZK Tech Inc.)<br />
616-855-1030 Ext. 2003</div></span>