Balances

When dealing with telephony business, it's good to have reliable partners (customers, providers, users).
Then you can rely on them and you will always know that they will pay the bill.
The calls for such customers could be billed by credit scheme (post-paid).

But sometimes this is not possible to rely on them.
In this case you can apply prepaid scheme for them.
Fortunately, Streamco Smartswitch supports both prepaid and post-paid schemes, as well as automatic blocking of services provision when balance goes out of the configured thresholds.

Balance - is a difference between amount of money, which has been paid, and the cost of services, which has been provided.
Each company/user inside the system have their personal balance.

Balance types.

System supports following types of balances:

While calls pass through and are getting billed, balances are correspondingly updated in real-time.
In standard scheme of balance updates, on call hangup billing of all call legs occurs and balances of all peers which participate in a call, are updated too.
There is a difference in this logic when using Online billing.
According to it balances are updated periodically during call (therefore not on completion).

Balance maintenance is tightly coupled with Consumption profile and can be used together.

User balance

User balance contains of 2 levels.
User with balance can belong to company which has some balance too.
The same company might contain other users with personal balances.

2-level balances are updated independently.
For example, there are 2 users A and B. They belong to company C.
In case if user A has made a call, balances of A and C will be updated.
In case if user B has made a cal, balances of B and C will be updated.

When checking Balance cutoff system checks both balances - user's and company's.
In case if any of these balances prohibits call passing through, the call is blocked, even if it could be acceptable due to other balance.

You can choose mode of Balance cutoff in user group settings.
This configuration option would be used by default for all users of this group.
Also you can define this mode for each user personally.
In this case system will use option not from user group, but from user's settings.

Русский перевод