Class of Service – VitalPBX Wiki https://wiki.vitalpbx.org Learn how our latest VitalPBX version will enhance your business communication Sat, 16 Dec 2023 15:57:38 +0000 en-US hourly 1 https://wordpress.org/?v=6.5.3 https://wiki.vitalpbx.org/wp-content/uploads/2023/11/cropped-vitalbpxwikiicon-8-32x32.png Class of Service – VitalPBX Wiki https://wiki.vitalpbx.org 32 32 Class of Service https://wiki.vitalpbx.org/wiki/class-of-service/class-of-service/ https://wiki.vitalpbx.org/wiki/class-of-service/class-of-service/#respond Wed, 08 Nov 2023 16:19:14 +0000 https://wiki.vitalpbx.org/?post_type=docs&p=439 Now that you have a Feature Category, a Dialing Restriction Rule, and a Route Selection, we can apply these to a Class of Service to make use of them. To create the Class of Service, you must go to PBX > Class of Service > Class of Service.

To create a Class of Service, you must first enter a Class of Service name. This name cannot contain spaces, but dashes and underscores are allowed. Next, enter a Description for easier search-ability.

Afterward, it is just a matter of selecting the Feature Category, Dial Restriction, and Route Selection you have created previously. Notice that it is not completely necessary to add the three of these to a Class of Service, as you also have the option to allow All Feature Categories, No Dialing Restrictions, and All Routes. In fact, the default All Permissions Class of Service or CoS has these unrestrictive permissions.

The last thing you can enable in a Class of Service is the Private option. With the Private option, you can restrict internal communication to only extensions and modules that use this Class of Service. So only if you have this Class of Service assigned, you will be able to dial other extensions or modules that use this same Class of Service. You can white-list other extensions or modules by adding other Classes of Service to the Allowed Calls By field.

So any extension or module that has a Class of Service declared in the allowed calls by field will be able to dial extensions or module that has this Class of Service. Remember to Save and Apply Changes.

You can now use this Class of Service in any extension or module that requires one. If you add this Class of Service now to a registered extension, you will notice that the rules we have applied will be effective.

]]>
https://wiki.vitalpbx.org/wiki/class-of-service/class-of-service/feed/ 0
Feature Categories https://wiki.vitalpbx.org/wiki/class-of-service/feature-categories/ https://wiki.vitalpbx.org/wiki/class-of-service/feature-categories/#respond Wed, 08 Nov 2023 15:16:56 +0000 https://wiki.vitalpbx.org/?post_type=docs&p=431 With the Feature Categories, we can establish which feature codes extensions or modules can be used with a Class of Service. To create the categories we must go to PBX > Class of Service > Feature Categories. This is a very simple module, as all you need is a Description, and select which are the Enabled Features.

Everything in the left column is what you have available, and everything on the right is what is enabled. You can create as many categories as you need. You can click on Add or Remove All to move everything in a column to the other side. There is also a search bar to search for specific features. Then, remember to Save and Apply Changes.

]]>
https://wiki.vitalpbx.org/wiki/class-of-service/feature-categories/feed/ 0
Dialing Restriction Rules https://wiki.vitalpbx.org/wiki/class-of-service/dialing-restriction-rules/ https://wiki.vitalpbx.org/wiki/class-of-service/dialing-restriction-rules/#respond Wed, 08 Nov 2023 16:05:35 +0000 https://wiki.vitalpbx.org/?post_type=docs&p=433 We can now establish Dialing Restriction Rules we can use with a Class of Service. As the name implies, with these rules we can restrict the numbers that users with these rules applied with a Class of Service can dial. To configure these rules we must go to PBX > Class of Service > Dialing Restriction Rules.

Dialing restriction rules can easily become very powerful and specific. First, you must enter a Description to identify the rule. Next, we have the Outbound Restriction Rules. These are rules for all calls going through a Trunk. To create the rule you can enter a Pattern and you can use the same variables as the ones we saw in the Outbound Routes lesson. Then, you can select if it is Allowed to dial the pattern.

Optionally, you can play back an Announcement when someone dials this pattern. This announcement is a custom audio you upload. We will see more on how you can do that later. You can enter a Max Duration in seconds for how long someone can call the dialed pattern, and whether or not you Play the Max Duration Time.

Finally, you can choose if the extension’s Feature Password is needed to be able to dial the rule’s pattern. You are able to add as many rules as you need to make the rule as specific as you need.

At the bottom, you get the Internal Restriction Rules. Here, you can add restrictions to internal numbering, like extension numbers, custom applications, or any code in the internal numbering plan. You can play an Announcement whenever someone with this rule in their Class of Service dials the restricted pattern. You can then Save and Apply Changes.

Additionally, if you understand Asterisk contexts, and have created a custom context that can help you with advanced dialing restrictions, you can declare the context in the Custom Rules Context field.

And with this, you now have a set of rules to control where anyone with these rules in the Class of Service is able to dial. You can restrict international calling or maybe long distance. Maybe you want to restrict the ability to dial the Boss extension completely. Maybe you have a Hotel that allows calling the front desk, but not other rooms. Or you might want to separate the Call Center agent and the management extensions so they cannot call each other. The rules you create will vary depending on how to wish to control the flow of the calls.

]]>
https://wiki.vitalpbx.org/wiki/class-of-service/dialing-restriction-rules/feed/ 0
Authorization Codes https://wiki.vitalpbx.org/wiki/class-of-service/authorization-codes/ https://wiki.vitalpbx.org/wiki/class-of-service/authorization-codes/#respond Wed, 08 Nov 2023 16:24:09 +0000 https://wiki.vitalpbx.org/?post_type=docs&p=441 Associated with Classes of Service are Authorization Codes. These codes allow you to change the Class of Service for a single call. Let’s say that you are a higher-up who usually has no restrictions on your calls, but you are roaming by general public extensions that have restrictions.

You can use authorization codes to change the class of service to a more permissive one. To create the authorization code, go to PBX > Class of Service > Authorization Codes.

First, enter what the Code will be. This can be comprised of numbers and the star (*) symbol.

Next, add an Alias, which can be anything of your liking. The alias is used for security reasons, where instead of the security code the alias will appear in the CDR (Call Detail Records.)

Afterward, add a Description to easily search for the authorization code, select the Class of Service this code will use, and Enable it. Save and Apply Changes.

To use the Authorization Code, from an extension that has a restrictive Class of Service applied dial the code *79. This will prompt you to enter the authorization code. Enter the code we have created. Now dial the number you wish to call, and you will notice that it will allow you based on the authorization code’s Class of Service.

]]>
https://wiki.vitalpbx.org/wiki/class-of-service/authorization-codes/feed/ 0
Customer Codes https://wiki.vitalpbx.org/wiki/class-of-service/customer-codes/ https://wiki.vitalpbx.org/wiki/class-of-service/customer-codes/#respond Wed, 08 Nov 2023 17:23:28 +0000 https://wiki.vitalpbx.org/?post_type=docs&p=443 You might have noticed there is an additional module in the Class of Service section. This is the Customer Codes module. This is a simple module that is not really related to Classes of Service but to outbound calling as a whole.

Customer codes can be used to identify outgoing calls in the CDR reports. To create a customer code, you must go to PBX > Class of Service > Customer Codes.

The module is self-explanatory. You just need to enter the Customer Code you are going to use, a Description to identify the customer code, and whether or not the code is Enabled. Save and Apply Changes.

To use the customer code dial from a registered extension the code *78. This will prompt you to enter the customer code. Enter the customer code you just created. Next, you will be prompted to dial the number you wish to call. Once the call is finished, this will add the Customer Code to the CDR so you can easily search for these calls. We will see more about the CDR later, but for now, this is how you can use Customer codes.

]]>
https://wiki.vitalpbx.org/wiki/class-of-service/customer-codes/feed/ 0
Route Selection https://wiki.vitalpbx.org/wiki/class-of-service/route-selection/ https://wiki.vitalpbx.org/wiki/class-of-service/route-selection/#respond Wed, 08 Nov 2023 16:07:44 +0000 https://wiki.vitalpbx.org/?post_type=docs&p=435 Next, let’s take a look at Route Selections. Route selections allow you to prioritize outbound routes based on time and selection. To create your route selections we must go to PBX > Class of Service > Route Selections.

This module is a very straightforward one. First, you must enter a Description to identify the route selection. Next, we have the Route Selection Members. These are the outbound routes you want to associate with this route selection, by selecting the Outbound Route from the dropdown menu. Next, you can select a Time Group to establish a schedule of when you are going to use this route. Finally, if you want to Enable or not this route for the route selection.

You can then click on Save and Apply Changes.

We will see more about Time Groups in the next lesson, but this helps you see how to select the specific routes for a Class of Service. You can create as many route selections as you need.

]]>
https://wiki.vitalpbx.org/wiki/class-of-service/route-selection/feed/ 0