[asterisk-users] how to get call duration

Steve Edwards asterisk.org at sedwards.com
Thu Jun 3 11:11:02 CDT 2010


Un-top-posting...

>       On 2010-06-03 9:35 AM, "Necati Demir" <ndemir at demir.web.tr> wrote:

> I want to ask how to get call duration.

On Thu, 3 Jun 2010, Zeeshan Zakaria wrote:

> exten => h,1,Noop( >>> Call duration was ${CDR(duration)} seconds)

It would be a "better practice" to use the application provided explicitly 
for displaying output on the console ("verbose()") rather than using the 
obtuse "side effect" of an application whose name does not translate well 
for non-native-English speakers.

-- 
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       sedwards at sedwards.com      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000



More information about the asterisk-users mailing list