How to set up a functional capacity?
This article includes information on functional capacity that could be configured within the VCS system for different versions.
Overview​
Capacity allows to define a limit to the number of simultaneous Active Calls, Routing Rules or Client/Reseller's activities. When you set a Capacity, the system doesn't allow passing a call once the specified amount is reached. Capacity works on the basis of RADIUS START/STOP packets.
Prerequisites​
Before moving on, it's required to integrate the VoIP Gateway via RADIUS and enable the Track Active Calls option in the RADIUS Server settings (see screenshot).
Implementation​
Within the VCS system, you can set up a respective Capacity for the Client, Reseller, Accounts and Routing Rules.
Here, you can find 4 levels of limitation arranged in a hierarchy:
- To limit the Reseller's Capacity for orig/term summed for all Clients, go to Management and open target Reseller settings.
- To specify a summary orig/term Capacity for the Client, open target Client Settings.
- In a target Account Settings, you can indicate a Capacity for a respective Account.
- In a target Routing Plan Settings, you may determine a Capacity for Routing Rule.
Therefore, if you limit the Account Capacity up to 100 and Client Capacity up to 10, the second limitation concerns the capabilities of the Client and gets stronger bounds.
Procedure​
- When call is establishing, the JeraSoft VCS receives a request for authorization.
- After that, VCS receives and processes ACCT START packet and adds a respective call to the Active Sessions section.
- When call is finished, VCS receives and processes ACCT STOP packet and removes this call from the Active Sessions section.
Here you can get more details about how VCS processes a call.
To set up the Capacity for Routing Rules properly, the CALL-ID in the SIP invite packet and CONF-ID in the RADIUS packet must be the same.
The number of client's calls is calculated within the system on the basis of received START packets. If there are two START packets, it represents two Active calls for Client.