News & Reviews
More How-To's & Tips More News
More Reviews Device Configuration Tools
No account yet? Create one
Forgot your Username or Password?

Welcome to the Voxilla VoIP Forum.

Voxilla has been a trusted source for accurate, up-to-date information on the IP Communications industry since 2002. A dedicated staff of reporters and engineers produce feature articles and product reviews to keep industry watchers abreast of the people, companies, and trends driving a fast moving market.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.





Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old August 29th, 2008, 09:17 AM
sapana sapana is offline
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
atheling atheling is offline
Member
 
Join Date: May 2006
Posts: 49
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
rizsher rizsher is offline
Senior Member
 
Join Date: Jul 2004
Posts: 1,114
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:



Similar Threads for: Wants to get Call duration after call end
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 SPA3000 control the duration of a call? baja-phone Linksys (Sipura) VoIP Support Forum 1 July 26th, 2005 08:16 PM



All times are GMT. The time now is 07:05 AM.


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