Re: [asterisk-users] how to get call duration

2010-06-04 Thread Necati Demir
First thing which comes to mind is: > exten => h,1,Noop( >>> Call duration was ${CDR(duration)} seconds) > exten => h,n,Hangup() > > There is also a variable ${CDR(billsec)} which shows only the duration the > call was actually connected between two channels, however this may not match > with the

Re: [asterisk-users] how to get call duration

2010-06-04 Thread Zeeshan Zakaria
Sorry, say whatever you like, I'll do it and recommend the way I like it, not how you like it. You can compile a separate answer to the questioner and recommend your verbose, instead of recommending me your best practices. Zeeshan A Zakaria -- Sent from my Android phone with K-9 Mail. On 2010-06

Re: [asterisk-users] how to get call duration

2010-06-03 Thread Steve Edwards
Un-top-posting... On Thu, 3 Jun 2010, Zeeshan Zakaria wrote: > Its your personal opinion. Actually as a non-native-English speaker to > me "Noop" sounds much better than "Verbose" which itself is a confusing > word, plus I guess command "verbose" is new in 1.6, and I've never used > it, so I'l

Re: [asterisk-users] how to get call duration

2010-06-03 Thread Zeeshan Zakaria
Its your personal opinion. Actually as a non-native-English speaker to me "Noop" sounds much better than "Verbose" which itself is a confusing word, plus I guess command "verbose" is new in 1.6, and I've never used it, so I'll stick with "Noop" which can be used with any version of asterisk. Zeesh

Re: [asterisk-users] how to get call duration

2010-06-03 Thread Steve Edwards
Un-top-posting... > On 2010-06-03 9:35 AM, "Necati Demir" 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 expl

Re: [asterisk-users] how to get call duration

2010-06-03 Thread Zeeshan Zakaria
First thing which comes to mind is: exten => h,1,Noop( >>> Call duration was ${CDR(duration)} seconds) exten => h,n,Hangup() There is also a variable ${CDR(billsec)} which shows only the duration the call was actually connected between two channels, however this may not match with the duration of

Re: [asterisk-users] how to get call duration

2010-06-03 Thread Steve Howes
On 3 Jun 2010, at 14:24, Necati Demir wrote: > I want to ask how to get call duration. Go on then When you do ask the question you might want to include a few details. Are you trying to get call duration during a call? If so then the cli will help 'core show channels'. If it's after the cal

[asterisk-users] how to get call duration

2010-06-03 Thread Necati Demir
Hello, I want to ask how to get call duration. -- Necati DEMÄ°R http://demir.web.tr http://friendfeed.com/ndemir ndemir ~ demir.web.tr --- -- _ -- Bandwidth and Colocation Provided by http://w