Re: [asterisk-users] CDR accuracy

2008-08-13 Thread Klaus Darilion
Steve Murphy wrote: On Tue, 2008-08-12 at 16:39 +0200, Klaus Darilion wrote: Hi! I wonder how Asterisk measures the call duration. The CDR files have a accuracy of seconds. Thus, what happens if the call duration is 0.3 seconds. What will Asterisk report? 0 seconds? 1 second? What logic

Re: [asterisk-users] CDR accuracy

2008-08-13 Thread Gerald Begumisa
I think that the most appropriate answer for this would be it depends on your setup and requirements. Some of our customers bill all answered calls for the entire minimum duration/increment (even if duration is 0) while others have configured a rule not to bill all calls whose duration is less

Re: [asterisk-users] CDR accuracy

2008-08-13 Thread Jay R. Ashworth
On Wed, Aug 13, 2008 at 02:37:58PM +0200, Klaus Darilion wrote: Thanks for the detailed information. What about the following scenario: ANSWER and HANGUP happens in the same second. Thus, the call duration will be 0 seconds. How are such use cases usually handled in the billing system? Are

[asterisk-users] CDR accuracy

2008-08-12 Thread Klaus Darilion
Hi! I wonder how Asterisk measures the call duration. The CDR files have a accuracy of seconds. Thus, what happens if the call duration is 0.3 seconds. What will Asterisk report? 0 seconds? 1 second? What logic will be used by Asterisk: floor? ceil? round? thanks klaus

Re: [asterisk-users] CDR accuracy

2008-08-12 Thread Steve Murphy
On Tue, 2008-08-12 at 16:39 +0200, Klaus Darilion wrote: Hi! I wonder how Asterisk measures the call duration. The CDR files have a accuracy of seconds. Thus, what happens if the call duration is 0.3 seconds. What will Asterisk report? 0 seconds? 1 second? What logic will be used by

[asterisk-users] CDR accuracy

2007-06-08 Thread clive.chan\(Alpha Trilogies Networks\)
Hi all users, I has been joining this user list for about 1 year, and always has seen the successful story about the Asterisk act as IP PBX and even communication appliances solutions. And thank for this list to help each other and make everyone success. I also being inspired by this user-list