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 and
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
___
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
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?
>>
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 tha
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? Ar