[Asterisk-Users] cdr_odbc appears to have fields missing
Nathan Bowyer
nbowyer at gmail.com
Wed Mar 29 14:10:22 MST 2006
On 3/29/06, Brian Roy <mister.roy at gmail.com> wrote:
>
> I'm currently using Asterisk running version 1.2.5 and trying to use
> cdr_odbc to connect to a Microsoft SQL database. I have everything running,
> but the insert statement being sent to database doesn't appear to have the
> "start, answer, end" information in it.
>
> Below is the insert statement that MS Profiler shows being sent. As you can
> see those fields are missing.
>
> INSERT INTO cdr
> (calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode)
> VALUES
>
When I look at the code, in this case calldate is actually the
cdr->start value. I'm working on a patch to record answer and end as
well.
Nathan
More information about the asterisk-users
mailing list