Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Noprint
Panel
borderColorgreen
bgColortransparent
borderWidth2

Back to Table of Contents

Back to CLI Configure Mode

Back to Profiles - CLI

Back to Services - CLI

Include PageProfile_NA_for_ePSXProfile_NA_for_ePSXA Class of Service (CoS) Profile is a classification of common services shared by a group of entities (trunk groups, carriers, subscribers) giving them particular rights and privileges. CoS profiles can be provisioned using a number of call type filters and screening scripts as described below. The 

Spacevars
0series4
is shipped with a number of pre-defined CoS profile scripts.You can also use the 
Spacevars
0company
Service Profile Editor (SPE) to provision additional scripts, which you can then select in Class of Service profilespredefined CoS profile scripts.


 Command Syntax

Code Block
% set profiles services classOfService <CoS name> 
	blocking 
		entry <called number, country, call type>
		service <disable | enable> 	
	nonSubscriberCallTypeFiltering
		carrierCutThrough | internationalOperator | 
		internationalType | ipVpnService | localOperator | 
		longDistanceOperator | mobile | nationalOperator | 
		nationalType | otherCarrierChosen | private | test | 
		transit | userName 
	screening script
		BLOCKING | DEFAULT_TERMINATING | NONSUB_DENY | 
		NO_ROUTES_FOUND | SCREENING | TANDEM <script>

Command Parameters

The Class of Service Parameters are as shown:

Caption
0Table
1Class of Service Parameters


ParameterLength/Range

Description

classOfService

N/A

<name>A unique identifier for the Class Of of Service Profile.

blocking

N/A

Parameters associated with blocking service.

  • entry <called# countryCode callType> – Enter both the called number, country code and call type, separated by a space (callType default is "nationalOperator") against which the blocking service applies. To block any number in the country code, use double quotes "" (see example Command Example below).
  • service – Flag to enable/disable the blocking service.
    • disable (default)
    • enable

nonSubscriberCallTypeFiltering

N/A

Use this parameter Select one or more call types (using comma-separated format) to specify the type of calls allowed for non-subscriber call routing. By default, all options are selected.

  • carrierCutThrough
  • internationalOperator
  • internationalType
  • ipVpnService
  • localOperator
  • longDistanceOperator
  • mobile
  • nationalOperator
  • nationalType
  • otherCarrierChosen
  • private
  • test
  • transit
  • userName

screening script

N/A

Use this parameter to select the screening script to use with this class of service.CoS Profile.

 

  • BLOCKING
  • DEFAULT_TERMINATING
  • NONSUB_DENY
  • NO_ROUTES_FOUND
  • SCREENING
  • SONS_PLAY_ANN_MK_CALL
  • SONS_ROUTES_EXHAUSTED
  • SONS_ROUTES_EXHAUSTED_1
  • SONS_ROUTES_EXHAUSTED_2
  • SONS_ROUTES_EXHAUSTED_3
  • SONS_ROUTES_EXHAUSTED_4
  • SONS_ROUTES_EXHAUSTED_5
  • SONS_ROUTES_EXHAUSTED_6
  • SONS_ROUTES_EXHAUSTED_7
  • SONS_ROUTES_EXHAUSTED_8
  • SONS_ROUTES_EXHAUSTED_9
  • SONS_SIP_REFER_RELAY
  • TANDEM


Command Example

The following example accomplishes the following actions:

...


StepAction
1

Create and enable a class of service called "BLOCK_COUNTRY_CODES" to block two specific international country codes (20 and 27)

...

.

Code Block
languagenone

...

set profiles services classOfService BLOCK_COUNTRY_CODES blocking service enable entry "" 20 callType internationalType

...

set profiles services classOfService BLOCK_COUNTRY_CODES blocking entry "" 27 callType internationalType 
commit

...

show profiles services classOfService BLOCK_COUNTRY_CODES
 blocking {
	service enable;
	entry "" 20 {
		callType internationalType;
	}
	entry "" 27 {
		callType internationalType;
	}
}

...



2

Assign the class of service to a trunk group named "APBX5TEST".

Code Block
languagenone
set addressContext default zone zonePublicTrunking sipTrunkGroup APBX5TEST policy services classOfService BLOCK_COUNTRY_CODES

...


commit


Pagebreak