Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Asterisk 12 CDR dst field empty - cdrlog.txt (0/1)


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
ng at ecoricerche.it
Guest





PostPosted: Fri Oct 17, 2014 11:10 am    Post subject: [asterisk-users] Asterisk 12 CDR dst field empty - cdrlog.tx Reply with quote

On Wed, 15 Oct 2014 09:14:41 -0500, Matthew Jordan
<mjordan@digium.com> wrote:

Quote:
On Wed, Oct 15, 2014 at 1:50 AM, A.Santoro <ng@ecoricerche.it> wrote:
Quote:
Hi there,
I have installed Asterisk version 12.6 (on Debian wheezy) and I note
that, only when I make a transfer of call (attended or unattended),
the fields 'dst' and 'dcontex' in the CDR are empty.
This happen both in MySQL record and in CVS.

Someone can confirm this event?


Without more information, there's no way to tell why that would occur.

Please provide a log showing the transfer with 'cdr set debug on' enabled.


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"
<valerio>','valerio','106','ebali_segreteria','SIP/valerio-00000000','SIP/fabiana-00000001','Dial','SIP/fabiana,20,rtwW',24,23,'ANSWERED',3,'1413561105.0')]

[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"
<valerio>','valerio','SIP/valerio-00000000','SIP/francesca-00000003','Dial','SIP/fabiana,20,rtwW',4,4,'ANSWERED',3,'1413561105.0')]

[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"
<valerio>','valerio','SIP/valerio-00000000','SIP/fabiana-00000002','Dial','SIP/fabiana,20,rtwW',0,0,'ANSWERED',3,'1413561105.0')]



Thanks in advance.
Eco



--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
mjordan at digium.com
Guest





PostPosted: Fri Oct 17, 2014 12:38 pm    Post subject: [asterisk-users] Asterisk 12 CDR dst field empty - cdrlog.tx Reply with quote

On Fri, Oct 17, 2014 at 11:06 AM, A.Santoro <ng@ecoricerche.it (ng@ecoricerche.it)> wrote:
Quote:
On Wed, 15 Oct 2014 09:14:41 -0500, Matthew Jordan
<mjordan@digium.com (mjordan@digium.com)> wrote:

Quote:
On Wed, Oct 15, 2014 at 1:50 AM, A.Santoro <ng@ecoricerche.it (ng@ecoricerche.it)> wrote:
Quote:
Hi there,
I have installed Asterisk version 12.6 (on Debian wheezy) and I note
that, only when I make a transfer of call (attended or unattended),
the fields 'dst' and 'dcontex' in the CDR are empty.
This happen both in MySQL record and in CVS.

Someone can confirm this event?


Without more information, there's no way to tell why that would occur.

Please provide a log showing the transfer with 'cdr set debug on' enabled.


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"
<valerio>','valerio','106','ebali_segreteria','SIP/valerio-00000000','SIP/fabiana-00000001','Dial','SIP/fabiana,20,rtwW',24,23,'ANSWERED',3,'1413561105.0')]

[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"
<valerio>','valerio','SIP/valerio-00000000','SIP/francesca-00000003','Dial','SIP/fabiana,20,rtwW',4,4,'ANSWERED',3,'1413561105.0')]

[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"
<valerio>','valerio','SIP/valerio-00000000','SIP/fabiana-00000002','Dial','SIP/fabiana,20,rtwW',0,0,'ANSWERED',3,'1413561105.0')]



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


--
Matthew Jordan

Digium, Inc. | Engineering Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://asterisk.org
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services