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 "/usr/include/tds.h" ]; then echo "cdr_tds.so"; fi)<br>
MODS+=$(shell if [ -f "/usr/local/include/tds.h" ]; then echo "cdr_tds.so"; 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> <<a href="mailto:akuoca@gmail.com">akuoca@gmail.com</a>> 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> </div>
<div>I'm trying to install FreeTDS. 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> </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> </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> </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> </div>
<div>Can anyone please give me an example? Are there anything
else I do wrong here? or Are there different versions of
instructions on the topic?</div>
<div> </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>