You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Unable to render {include} The included page could not be found.

A 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. The 

Unable to show "metadata-from": No such page "_space_variables"
is shipped with a number of pre-defined CoS profile scripts.

You can also use the 

Unable to show "metadata-from": No such page "_space_variables"
Service Profile Editor (SPE) to provision additional scripts, which you can then select in Class of Service profiles.

 Command Syntax

% 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

Command Parameters

The Class of Service Parameters are as shown:

Class of Service Parameters

Parameter

Length/Range

Description

classOfService

N/A

A unique identifier for Class Of Service.

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 below).
  • service – Flag to enable/disable the blocking service.
  • disable (default)
  • enable

nonSubscriberCallTypeFiltering

N/A

Use this parameter 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.

  • BLOCKING
  • DEFAULT_TERMINATING
  • NONSUB_DENY
  • NO_ROUTES_FOUND
  • SCREENING
  • TANDEM

Command Example

The following example accomplishes the following actions:

  • Creates and enables a class of service called "BLOCK_COUNTRY_CODES" to block two specific international country codes (20 and 27).
  • Assigns the class of service to a trunk group named "APBX5TEST".
% 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 

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

% set addressContext default zone zonePublicTrunking sipTrunkGroup APBX5TEST policy services classOfService BLOCK_COUNTRY_CODES 
  • No labels