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

 

From: [email protected]
[mailto:[email protected]] 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

 

 

--
_____________________________________________________________________
-- 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

Reply via email to