Have a look at<br>

 <a href="http://lists.digium.com/pipermail/asterisk-users/2005-April/100731.html">http://lists.digium.com/pipermail/asterisk-users/2005-April/100731.html</a><br>
<br>
Looks like you probably have version 0.63 of FreeTDS. That version is<br>
<p>
incompatible with cdr_tds, but if you're using ODBC you should be fine.</p>

<p>However, you will need to tell the Makefile not to compile cdr_tds, by<br>
commenting out the following two lines in cdr/Makefile:</p>

<p>MODS+=$(shell if [ -f &quot;/usr/include/tds.h&quot; ]; then echo &quot;cdr_tds.so&quot;; fi)<br>
MODS+=$(shell if [ -f &quot;/usr/local/include/tds.h&quot; ]; then echo &quot;cdr_tds.so&quot;; fi)</p>

<br>
Are Casilla<br>
<a href="http://astartelecom.com">http://astartelecom.com</a> - Independent VOIP Telecoms Broker. Consulting in Asterisk and Drupal<br>
<a href="http://astbill.com">http://astbill.com</a> - Billing, Routing and Management software for Asterisk and MySQL. Running on Drupal<br>
AstBill DEMO: <a href="http://demo.astbill.com">http://demo.astbill.com</a><br>
<br><br><div><span class="gmail_quote">On 9/30/05, <b class="gmail_sendername">Andy Kuo</b> &lt;<a href="mailto:akuoca@gmail.com">akuoca@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>Hi,</div>
<div>&nbsp;</div>
<div>I'm trying to install FreeTDS.&nbsp; I followed the instructions on <a href="http://www.voip-info.org/tiki-index.php?page=FreeTDS" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.voip-info.org/tiki-index.php?page=FreeTDS
</a>, but still can't get it to work. </div>
<div>I serched around trying to find instructions on it, and it seems the same info (even wording) appear on all sites I found.</div>
<div>&nbsp;</div>
<div>I downloaded freetds-0.63, and followed the instructions step by
step, and when I try to re-compile Asterisk (#make in
/usr/src/asterisk), I got these errors:</div>
<div>&nbsp;</div>
<div>cdr_tds.c: In function `mssql_connect':<br>cdr_tds.c:429: error: `TDSCONNECTINFO' undeclared (first use in this function)<br>cdr_tds.c:429: error: (Each undeclared identifier is reported only once<br>cdr_tds.c:429: error: for each function it appears in.) 
<br>cdr_tds.c:429: error: `connection' undeclared (first use in this function)<br>cdr_tds.c:474: warning: implicit declaration of function `tds_free_connect'<br>make[1]: *** [cdr_tds.o] Error 1<br>make[1]: Leaving directory `/usr/src/asterisk/cdr' 
<br>make: *** [subdirs] Error 1</div>
<div>&nbsp;</div>
<div>I think I might need to put in info such as the IP, DB name, user,
password, etc. of my SQL server, but I'm not sure what the correct
format is.</div>
<div>&nbsp;</div>
<div>Can anyone please give me an example?&nbsp; Are there anything
else I do wrong here?&nbsp;&nbsp; or Are there different versions of
instructions on the topic?</div>
<div>&nbsp;</div>
<div>Thank you all in advance.</div><span class="sg"><span></span><span>
<div>AK</div></span>

</span><br>_______________________________________________<br>Asterisk-Biz mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Asterisk-Biz@lists.digium.com">Asterisk-Biz@lists.digium.com
</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.digium.com/mailman/listinfo/asterisk-biz" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-biz</a><br><br><br></blockquote>
</div><br>