Asterisk 12 CDR Dst Field Empty – Cdrlog.txt (0/1)
The requested log is attached.
In the last lines of the file there are the records of the call transfer:
[Oct 17 17:52:14] VERBOSE[4314] cdr_adaptive_odbc.c: > [INSERT
INTO cdr
(calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,uniqueid)
VALUES ({ ts ‘2014-10-17 17:51:45’ },'”valerio”
[Oct 17 17:52:15] VERBOSE[4314] cdr_adaptive_odbc.c: > [INSERT
INTO cdr
(calldate,clid,src,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,uniqueid)
VALUES ({ ts ‘2014-10-17 17:52:10’ },'”valerio”
[Oct 17 17:52:15] VERBOSE[4314] cdr_adaptive_odbc.c: > [INSERT
INTO cdr
(calldate,clid,src,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,uniqueid)
VALUES ({ ts ‘2014-10-17 17:52:10’ },'”valerio”
Thanks in advance. Eco
One thought on - Asterisk 12 CDR Dst Field Empty – Cdrlog.txt (0/1)
Please go ahead and open an issue at issues.asterisk.org, and attach the log file.
This issue is occurring due to a fix we put in to make CDRs behave closer to how they did in previous versions of Asterisk with Macros. In versions of Asterisk prior to Asterisk 12, invoking a Macro did not change the destination field in the CDR (which maps to the current extension in the dialplan). In the CDRs with no ‘dst’ field, the first application invoked is a Macro, and the code is incorrectly ignoring the extension. Since there is no other extension to populate the CDR with, nothing gets filled in.
Thanks –
Matt