[asterisk-users] CDR END TIME in correct in 1.8+

Danny Nicholas danny at debsinc.com
Fri Dec 16 08:42:03 CST 2011


You are running the AGI from the h() exten?  Otherwise I wouldn't expect
CDR(end) to populated or correct.

 

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Zohair Raza
Sent: Friday, December 16, 2011 8:38 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] CDR END TIME in correct in 1.8+

 

Hi,

 

I've tested 1.8.6.0, 1.8.4.0 and 1.8.0 

 

I can get proper start and answer time but not the end time of call 

 

<SIP/11-00000000>AGI Rx << GET VARIABLE CDR(start)

<SIP/11-00000000>AGI Tx >> 200 result=1 (2011-12-16 18:34:48)

<SIP/11-00000000>AGI Rx << GET VARIABLE CDR(end)

<SIP/11-00000000>AGI Tx >> 200 result=1 (2011 12-16 18:34:48)

<SIP/11-00000000>AGI Rx << GET VARIABLE CDR(answer)

<SIP/11-00000000>AGI Tx >> 200 result=1 (2011-12-16 18:34:50)

 

In 1.8.6.0, there was no end time and in the other two it's present but
neither in correct format nor exact time.

 

Is it something related to system or a bug?

 

Regards,
Zohair Raza

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20111216/f5ea2349/attachment.htm>


More information about the asterisk-users mailing list