Voxilla VoIP Forum

Go Back   Voxilla VoIP Forum > Hardware/Software Support Forums > Asterisk Support Forum

Asterisk Support Forum Technical support, how-to guides, troubleshooting, and general assistance, from beginner to seasoned pro, this is where to discuss Asterisk, the most powerful open source PBX.


Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old August 29th, 2008, 09:17 AM
Junior Member
 
Join Date: Aug 2008
Posts: 1
sapana is on a distinguished road
Default Wants to get Call duration after call end

Hello,
I want to get call duration of call after call hung up in asterisk.
How can I do this?
Anyone has idea for this?

Help me I am new to asterisk



Thanks,
Sapana Patel
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old August 31st, 2008, 05:09 PM
Member
 
Join Date: May 2006
Posts: 51
atheling
Default Re: Wants to get Call duration after call end

At least on my 1.2 version of Asterisk compiled "out of the box" from the downloaded sources, Asterisk will write "call records" to /var/log/asterisk/cdr-csv/Master.csv

That is a text file in "comma separated values" format that can be opened in a spreadsheet program like Excel. One of the columns/fields is "billsec" (Billable seconds) which will be non-zero for calls that are answered. There is another field called "duration" that gives the total time including setup. You easily can set the values of the "amaflags" and/or "accountcode" fields in your dial plan which is useful for keeping track of billable calls and to which client or ITSP carried the call.

As with most things Asterisk, you can configure things greatly. So if you are running some pre-packaged version of Asterisk and/or a different version your mileage may vary (location of call record files, fields in them, format, etc.).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old August 31st, 2008, 06:11 PM
Senior Member
 
Join Date: Jul 2004
Posts: 1,121
rizsher
Default Re: Wants to get Call duration after call end

If you've installed a package like Trixbox or PiaF (www.nerdvittles.com), the CDR link, generally listed as "Reports" - this give you most of the details you need.
__________________
nerdvittles.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
How DO I Limit Call Duration with L(x[:y][:z]) pseudocrap Asterisk Support Forum 2 August 18th, 2008 07:26 PM
We provide end to end solutions for call centre Michel Jordon VoIP Service Provider Bazaar 0 August 12th, 2008 01:45 PM
SPA3000 call duration servisgod Linksys (Sipura) VoIP Support Forum 0 June 18th, 2007 10:49 AM
Call Duration Setting Johnno Asterisk Support Forum 3 June 24th, 2006 12:53 AM
Can SPA-3000 control the duration of a call? baja-phone Linksys (Sipura) VoIP Support Forum 1 July 26th, 2005 08:16 PM


Voxilla News

More Voxilla news



All times are GMT. The time now is 12:29 AM.


vBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
Logos and trademarks are the property of Voxilla or their respective owner. All other content © 2003-2009 by Voxilla, Inc.