<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>CDR updating </TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P DIR=LTR><SPAN LANG="en-gb"><FONT FACE="Calibri">Hi, I</FONT></SPAN><SPAN LANG="en-gb"> <FONT FACE="Calibri">am using</FONT></SPAN><SPAN LANG="en-gb"> <FONT FACE="Calibri">Asterisk</FONT></SPAN><SPAN LANG="en-gb"> <FONT FACE="Calibri">1.6.2.13 and</FONT></SPAN><SPAN LANG="en-gb"> <FONT FACE="Calibri">have an issue but I’m not sure if it’s a bug or not.</FONT></SPAN><SPAN LANG="en-gb"><FONT FACE="Calibri"> I am using the cdr_adaptive_odbc logging module and</FONT></SPAN><SPAN LANG="en-gb"> <FONT FACE="Calibri">writing</FONT></SPAN><SPAN LANG="en-gb"><FONT FACE="Calibri"></FONT></SPAN><SPAN LANG="en-gb"> <FONT FACE="Calibri">my CDR records to a MS</FONT></SPAN><SPAN LANG="en-gb"><FONT FACE="Calibri">-</FONT></SPAN><SPAN LANG="en-gb"><FONT FACE="Calibri">SQL server. I need to log which end hangs the call up and have placed</FONT></SPAN><SPAN LANG="en-gb"><FONT FACE="Calibri"> the</FONT></SPAN><SPAN LANG="en-gb"><FONT FACE="Calibri"> relevant</FONT></SPAN><SPAN LANG="en-gb"> <FONT FACE="Calibri">CDR(myfield)=</FONT></SPAN><SPAN LANG="en-gb"><FONT FACE="Calibri">caller/callee</FONT></SPAN><SPAN LANG="en-gb"><FONT FACE="Calibri"> commands where they need to be</FONT></SPAN><SPAN LANG="en-gb"><FONT FACE="Calibri">. </FONT></SPAN><SPAN LANG="en-gb"> </SPAN></P>
<P DIR=LTR><SPAN LANG="en-gb"><FONT FACE="Calibri">When I watch the call on the console I can see the CDR field being set properly but when I check the CDR record</FONT></SPAN><SPAN LANG="en-gb"><FONT FACE="Calibri"> it is incorrect. It appears that when one end hangs up</FONT></SPAN><SPAN LANG="en-gb"> <FONT FACE="Calibri">the CDR is being written immediately</FONT></SPAN><SPAN LANG="en-gb"><FONT FACE="Calibri"> instead of waiting until the h exten</FONT></SPAN><SPAN LANG="en-gb"><FONT FACE="Calibri">. I have had a look in cdr.conf and set</FONT></SPAN><SPAN LANG="en-gb"> <FONT FACE="Calibri">endbeforehexten=no</FONT></SPAN><SPAN LANG="en-gb"><FONT FACE="Calibri">, but this doesn</FONT></SPAN><SPAN LANG="en-gb"><FONT FACE="Calibri">’t seem to make any difference.</FONT></SPAN><SPAN LANG="en-gb"><FONT FACE="Calibri"> </FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-gb"><FONT FACE="Calibri">Does anyone have any ideas or is it a problem with the cdr_adaptive_odbc module?</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-gb"></SPAN></P>
<P DIR=LTR><SPAN LANG="en-gb"><FONT FACE="Calibri">Thanks</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-gb"><FONT FACE="Calibri">Lee</FONT></SPAN><SPAN LANG="en-gb"></SPAN></P>
<P DIR=LTR><SPAN LANG="en-gb"></SPAN></P>
</BODY>
</HTML>