Class of Service
Class of services define a routeroute to take when an ExtensionsExtension is placing a call. A class of service can contain multiple components to place a call through in order of a priority system. These are explained in greater detail below. Hunt Groups as well as PhoneMap Groups also must have a class of service defined in order to function properly. Most systems will have default classes of services (as well as routes) however additional ones can be created in the CLI for more advanced routing configurations.
- Class of Service: A Class of service can be defined to take another class of service
- Route: A Class of Service can take a route which takes a trunk group, and then in turn a trunk.
- Phonegroup: A class of service can directly call out to
aanother phonegroup. - Literal: ??
Adding an Extension
1) Enter the CLI's configuration mode
2) Enter the name of the Trunk Group you wish to create. You will be prompted with the minimum required settings.
!! Notice: Editing new item: billing_reroute !! Notice: Minimum requirements needed for insert: !! desc vbox-nathan(config-cos billing_reroute)# desc "Rerouted calls to billing from specific extensions" |
3) After this you will need to define the includes that the class of service will take. This can be done with the following command withwhich takes a number indicating the first include that the class of service will attempt to take.
vbox-nathan(config-cos billing_reroute pos-
class of service can take, remember you are not limited to just routes cos:internal cos:internal+local cos:internal+local+ld cos:internal+local+ld+intl literal:catchall literal: default literal:services phonegroup:Billing phonegroup:internal phonegroup:outbound route:A_Route route:emerg route:intl route:ld10 route:ld10_reg route:ld11 route:ld11_reg route:local vbox-nathan(config-cos billing_reroute pos-
vbox-nathan(config-cos billing_reroute pos-
vbox-nathan(config-cos billing_reroute)# cos_include 2 ### second include a cos will attempt to take
vbox-nathan(config-cos billing_reroute pos-
vbox-nathan(config-cos billing_reroute pos-
vbox-nathan(config-cos billing_reroute)# |
4) Use the show command to ensure youyour settings have been saved. In this exampleexample, we have only added 2 includes, but you are able to add as many as necessary.
! Generating running-config !!! ! -------------- Class of Services ---------------- cos billing_reroute
desc "Rerouted calls to billing from specific extensions"
cos_include 1
include route:intl exit
cos_include 2
include route:A_Route exit
exit
exit
|
Class of Service Settings Description
You
Comments | |
cos_include | Create or change an include in this class of service |
desc |
(*) Description |
do |
To run exec commands in config mode |
exit | Exit from this level (with notification of incomplete |
no |
Clear settings |
reorder | Change the order of class of service includes |
show | Show the running-config for the current item |
include | (*) Item to include |