The Sippy Softswitch can round the Call Duration to the nearest second in two ways. This feature is part of version 4.1 Sippy Softswitch.
All methods of rounding are applied to Billed Duration only since it's used for calculation of the cost of the call!
Sippy writes to Duration field the actual duration of the call at no modifications.
Round (Default method)
This method rounds the call duration to the nearest second based on the typical round approach. For example;
A call with a duration of 1 second 400 milliseconds will be rounded down to the nearest whole second. The call duration will be recorded as 1 second.
A call with a duration of 1 second 500 milliseconds will be rounded up to the nearest whole second. The call duration will be recorded as 2 seconds.
Round Up
This method rounds the call duration up the the nearest whole second. For example;
A call with a duration of 1 second 100 milliseconds will be recorded as 2 seconds.
A call with a duration of 1 second 500 milliseconds will be recorded as 2 seconds.
A call with a duration of 1 second 0 milliseconds will be recorded as 1 second.
The following table illustrates the results of both rounding methods
Seconds | Default Rounding | RoundUp |
60.0 | 60 | 60 |
60.1 | 60 | 61 |
60.4 | 60 | 61 |
60.5 | 61 | 61 |
60.9 | 61 | 61 |
The Sippy Softswitch enables you to configure the Call Duration rounding on individual Service Plans, Vendors, and for On-Net calling. This gives the switch operator full control on how Call Duration is rounded for every aspect of their business, clients, and vendors.
Configure Rounding Method on a Service Plan
- Go to the Customers - Tariffs & Currencies - Service Plans, open preferences of Service Plan you wish to configure the Rounding Method for
- Select the rounding method from the "Calls Duration" drop down box
- Click the Save & Close button to save the change
Configure Rounding Method for a specific Vendor
- Go to the Vendors - My Vendors - Vendors, open preferences of Vendor you wish to configure the Rounding Method for
- Under the 'Advanced Parameters' section on the Vendor edit screen, use the 'Call Duration' drop down box to choose the rounding method
- Click Save & Close button to save the change
Configure Rounding Method for all On-Net calling
- Go to the System Management - System Parameters (in >=2021 version look for the option in System Parameters - Billing, SMTP Server )
- Under the 'Billing' section on the System Parameters screen, use the 'Call Duration' drop down box to choose the rounding method
- Click the Save button to save your changes