mwolff44 / pk-sbc

P-KISS-SBC - simple and stupid SIP/RTP SBC - AGPL v3 - Based on kamailio / RTP Engine
https://pk-sbc.io
GNU Affero General Public License v3.0
98 stars 49 forks source link

Billing Time is rounding up #166

Closed willianmazzardo closed 5 years ago

willianmazzardo commented 5 years ago

Hi. Im using PyFreeBilling 2.1.1 and I have an issues with billed time.

In example of packet captured, you can see the time of call is 3 secs (between ACK and BYE), but in PyFreeBillling, it shows 4 secs billed.

captura de tela 2018-12-12 as 15 51 16

billed_time_pyfreebilling

Expected behavior I think it would be possible to define how the round time is made, up or down. I hope I made myself clear.

Thanks

mwolff44 commented 5 years ago

Hi, You have the time in ms in cdr panel. What it is the value for this call ? Regards