[OpenSIPS-Users] Miliseconds precision for accounting module

Roberto Spadim roberto at spadim.com.br
Wed Apr 30 00:28:09 CEST 2014


that's not "round", that's "ceiling"
ceil(0.0000000000000001,0)= 1
round(0.0000000000000001,0)= 0


2014-04-29 19:22 GMT-03:00 Maciej Bylica <mbsip at gazeta.pl>:

> Frankly such precision is not needed.
> As i saw call duration is rounded mathematically, but sometimes in telco
> world (my case) 0.1sec call should be counted as 1sec call.
> Thats why i wanted to have milisec precision to be able to round durations
> by myself...(1.01 = 2secs, 1.49 = 2secs, 1.99=2secs, ...)
>
> Thanks
> Mac.
>
>
> 2014-04-28 3:36 GMT+02:00 Aamir <aamir_ryu at yahoo.com>:
>
>> Is there a need ?
>>
>>
>> Thanks & Regards,
>>
>> Aamir Chougule
>> Cell: 08097989101
>> Skype-ID: aamir_ryu
>>
>> --- Sent from my BlackBerry ---
>>
>>
>> -----Original Message-----
>> From: ag at ag-projects.com
>> Sender: users-bounces at lists.opensips.org
>> Date: Sun, 27 Apr 2014 19:18:04
>> To: OpenSIPS users mailling list<users at lists.opensips.org>
>> Reply-To: OpenSIPS users mailling list <users at lists.opensips.org>
>> Subject: Re: [OpenSIPS-Users] Miliseconds precision for accounting module
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>


-- 
Roberto Spadim
SPAEmpresarial
Eng. Automação e Controle
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140429/44a7ddfa/attachment.htm>


More information about the Users mailing list