<div dir="ltr">You should be able to handle that with CDR via ODBC and use Microsoft's recently released ODBC drivers. The should bypass all this FreeTDS stuff and just use straight ODBC.</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 10, 2017 at 7:55 AM, J Montoya <span dir="ltr"><<a href="mailto:asterisk_list@earthshod.co.uk" target="_blank">asterisk_list@earthshod.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Friday 10 Nov 2017, Stefan Viljoen wrote:<br>
> Hi All<br>
><br>
> I have an Asterisk 1.8.32.3 instance that will at random intervals stop<br>
> logging CDR data to MSSQL via FreeTDS.<br>
><br>
> On investigation I'll find that the FreeTDS module has been unloaded<br>
> somehow. It is not listed in cdr show status or show module like.<br>
><br>
> Trying<br>
> module load cdr_tds<br>
> results in<br>
> module cdr_tds does not provide a license key<br>
> and the module is not loaded.<br>
</span>> .....  stuff deleted  .....<br>
<span class="">> I have this on multiple sites very far apart, different hardware, asterisk<br>
> instances compiled at widely varying times.<br>
><br>
> Anybody encountered this before?<br>
<br>
</span>The solution is to avoid proprietary software!<br>
<br>
Asterisk's CDRs simply do not need any of the special proprietary crack that<br>
comes with MSSQL or Oracle.  MariaDB or SQLite is perfectly adequate for its<br>
needs  (hell, a flat text file will do the job).<br>
<br>
If you *really* need your CDRs in an MSSQL database, you could use MariaDB as<br>
an intermediate layer with binary logging enabled; and then use a few lines of<br>
Perl or Python to translate the binlog from MariaDB's SQL dialect to<br>
Microsoft's.<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
JM or AJS<br>
<br>
Note:  Originating address only accepts e-mail from list!  If replying off-<br>
list, change address to asterisk1list at earthshod dot co dot uk .<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
--<br>
______________________________<wbr>______________________________<wbr>_________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
<br>
Check out the new Asterisk community forum at: <a href="https://community.asterisk.org/" rel="noreferrer" target="_blank">https://community.asterisk.<wbr>org/</a><br>
<br>
New to Asterisk? Start here:<br>
      <a href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started" rel="noreferrer" target="_blank">https://wiki.asterisk.org/<wbr>wiki/display/AST/Getting+<wbr>Started</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" rel="noreferrer" target="_blank">http://lists.digium.com/<wbr>mailman/listinfo/asterisk-<wbr>users</a><br>
</div></div></blockquote></div><br></div>