[asterisk-users] R: CDR(billsec)

Alexandru Oniciuc Alexandru.Oniciuc at trivenet.it
Wed Oct 28 08:51:57 CDT 2009


Hello Anahi,

                I've encountered issues with CDR function when I was using the 1.4 version and was trying to get ${CDR(duration)} in extension h.
                Passing to 1.6.X.X resolved it.

I hope this helps.

Alex

________________________________
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Anahi Ludueña
Sent: Wednesday, October 28, 2009 6:35 AM
To: asterisk-users at lists.digium.com
Subject: [asterisk-users] CDR(billsec)

Hi people, when I try to get the billsec in the dialplan, it is 0... but if after that I check the database, it is right (not 0).
I'm trying to get it in the h extension, like:

exten => h,1,Noop(End)
exten => h,n,Noop(Time is ${CDR(billsec)})
....

Is it updated after the extension h is executed? In that case, how can I get the call duration in the h extension?
Thanks,



________________________________
Anahi Ludueña


________________________________
Todo el espacio y cuidado que merecen tus fotos digitales lo tienes en Windows Live Fotos. ¡Pruébalo! <http://www.vivelive.com/compartirfotos/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091028/24d4dad7/attachment-0001.htm 


More information about the asterisk-users mailing list