Classes of service allow you to control which numbers telephones may call. The called number is matched against the prefixes in the class of service, and the longest matching prefix is used. For example, calls to international numbers can be barred except for a single number which is specifically permitted. Alternatively, a single number can be barred if an employee is making unauthorised calls to it.
To create a class of service
- Log in to the Enswitch web interface.
- Go to Features » Classes of service.
- Click the "New" button.
- Enter the following:
- A name for the group.
- Optionally a description.
- Whether internal and external calls are allowed by default. At this point you cannot enter specific destinations; see below.
- Click the "Save" button.
- On the list classes of service page, click the class you have made.
- Click the "New" button.
- Enter the full number or prefix, and whether to allow calls to it or not.
- Click the "Save" button.
- Add any other exceptions as desired.
- In the settings pages for your telephone lines, there is a new option for the class of service. Set any telephone lines you wish to use this class of service. Any telephone line not in a class of service may call any number the system is configured for.