nik600
2006-Mar-10 07:04 UTC
[Asterisk-Users] difference between records in CDR and real duration of call
hi i've made some test calls, i've notice that a call of the duration of 1:29 minutes is recorded in the cdr database as 1:45 minutes, is it normal? i think that 15 seconds are too many... how can i correct this? thanks
Melcon Moraes
2006-Mar-10 07:44 UTC
[Asterisk-Users] difference between records in CDR and real duration of call
What about ResetCDR() just before Dial()? nik600 wrote:> hi > > i've made some test calls, i've notice that a call of the duration of > 1:29 minutes is recorded in the cdr database as 1:45 minutes, is it > normal? > > i think that 15 seconds are too many... how can i correct this? > > thanks > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > >
Christian B
2006-Mar-10 09:23 UTC
[Asterisk-Users] difference between records in CDR and real duration of call
On Fri, 10 Mar 2006 15:04:18 +0100 nik600 <nik600@gmail.com> wrote:> hi > > i've made some test calls, i've notice that a call of the duration of > 1:29 minutes is recorded in the cdr database as 1:45 minutes, is it > normal? > > i think that 15 seconds are too many... how can i correct this? > > thanksMaybe you answer the call in the dialplan before you pickup? Please show us the dialplan you used... and do you mean duration or billsec? regards christian
Melcon Moraes
2006-Mar-10 11:35 UTC
[Asterisk-Users] difference between records in CDR and real duration of call
Or maybe, you should try the "C" flag in your Dial(). []'s MM nik600 wrote:> hi > > i've made some test calls, i've notice that a call of the duration of > 1:29 minutes is recorded in the cdr database as 1:45 minutes, is it > normal? > > i think that 15 seconds are too many... how can i correct this? > > thanks > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > >
AR Tarzi
2006-Mar-10 12:25 UTC
[Asterisk-Users] difference between records in CDR and realduration of call
That's because the duration is counted from the time of dialling. billsec is what you want if it's to calculate the duration the call was active. To change what shows you need to change call-log.php in /var/www/html/admin/cdr/ Instead of duration extract billsec - you can still label it duration (as in the title of the column). It might be closer to what you wish. ----- Original Message ----- From: "nik600" <nik600@gmail.com> To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users@lists.digium.com> Sent: Friday, March 10, 2006 17:04 Subject: [Asterisk-Users] difference between records in CDR and realduration of call hi i've made some test calls, i've notice that a call of the duration of 1:29 minutes is recorded in the cdr database as 1:45 minutes, is it normal? i think that 15 seconds are too many... how can i correct this? thanks _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users