ivozprovider icon indicating copy to clipboard operation
ivozprovider copied to clipboard

Brand and Company configuration Limits

Open Kaian opened this issue 7 years ago • 3 comments

Currently there is no way to control how many entities are created by Brands and Companies.

We could implement a new table ConfigurationLimits so we can specify the max value allowed for a given Brand or Company. This table could be used for

  1. Limit the max number of Extensions/Users/XXXX for a Brand/Company
  2. Limit the max disk space allowed for Recordings for Brands/Company
  3. Limit the max concurrent externals calls for Brand/Company
  4. Limit the max $$$/call duration (single/total) for Brand/Company

For each configured limit we could add ConfigurationLimitsNotifications (starting with email notications using #342 templates) when the current value reaches a configured percentage.

Thoughs?

Kaian avatar Nov 21 '17 10:11 Kaian

Is there any chance to implement this in 2.X?

the-this-pointer avatar Oct 28 '19 19:10 the-this-pointer

Some of the mentioned features were already implemented:

Limit the max number of Extensions/Users/XXXX for a Brand/Company

Artemis release is near its development end and this was not priorized, so it won't be available in 2.x

Limit the max disk space allowed for Recordings for Brands/Company

There was a basic implementation of this limit, including a rotation system, in oasis release but it was removed in artemis because we though that managing disk space was out of scope of the solution.

Limit the max concurrent externals calls for Brand/Company

This has been already implemented in 2.X #394

Limit the max $$$/call duration (single/total) for Brand/Company

This was implemented in 2.X through prepaid balances and max daily usage #739 (at least the $$$ related part)

Kaian avatar Oct 29 '19 08:10 Kaian

Max daily usage for companies is being implemented in #1166

Kaian avatar Oct 30 '19 08:10 Kaian