Information About Call Blocking
Call Blocking Based on Date and Time (After-Hours Toll Bar)
Call blocking to prevent unauthorized use of phones is implemented by matching dialed numbers against a pattern of specified digits and matching the time against the time of day and day of week or date that has been specified for Call Blocking. You can specify up to 32 patterns of digits for blocking.
When a user attempts to place a call to digits that match a pattern that has been specified for Call Blocking during a time period that has been defined for Call Blocking, a fast busy signal is played for approximately 10 seconds. The call is then terminated and the line is placed back in on-hook status.
The Cisco Unified CME session application accesses the current after-hours configuration and applies it to calls originated by phones that are registered to the Cisco Unified CME router. Call blocking applies to all IP phones in Cisco Unified CME, although individual IP phones can be exempted from all call blocking.
In Cisco CME 3.4 and later versions, the same time-based call-blocking mechanism that is provided for SCCP phone and on analog phones connected to SCCP-controlled analog telephone adaptors (Cisco ATA) or SCCP-controlled foreign exchange station (FXS) ports is expanded to SIP endpoints.
In Cisco CME 3.4 and later, call-blocking configuration applies to all SCCP, H.323, SIP and POTS calls that go through the Cisco Unified CME router. All incoming calls to the router, except calls from an exempt phone, are also checked against the after-hours configuration.
Prior to Cisco Unified CME 4.2(1), all Call Blocking features are implemented globally and uniformly on each phone in the system. All phones are similarly restricted according to time, date, location, and other call blocking characteristics. Call Blocking is not supported on ephone-dns that are configured to use the trunk feature, and Call Blocking did not apply to second-stage trunk dialing.
In Cisco Unified CME 4.2(1) and later versions, you have the flexibility to set different call block calendars and call block patterns to phones in different departments, to block certain trunk dialing as required, and to configure Call Blocking on a particular SCCP IP phone by creating and applying a template to that phone.
For configuration information, see Configure Call Blocking.
After-Hours Pattern-Blocking Support for Regular Expressions
In Cisco Unified CME 9.5, support for afterhours pattern blocking is extended to regular expression patterns for dial plans on Cisco Unified SIP phones and Cisco Unified SCCP IP phones. With this support, users can add a combination of fixed dial plans and regular expression-based dial plans.
When a call is initiated after hours, the dialed number is matched against a combination of dial plans. If a match is found, the call is blocked.
To enable regular expression patterns to be included when configuring afterhours pattern blocking, the after-hours block pattern command is modified to include regular expressions as a value for the pattern argument in the following command syntax:
after-hours block pattern pattern-tag pattern
-
telephony-service—For both SCCP and SIP Phones.
-
ephone-template—For SCCP phones only.
Note |
The maximum length of a regular expression pattern is 32 for both Cisco Unified SIP and Cisco Unified SCCP IP phones. |
-
numbers beginning with ‘0’ and ‘00’
-
numbers beginning with 1800, followed by four digits
-
numbers 9876512340 to 9876512345
-
after-hours block pattern 1 0*
-
after-hours block pattern 2 00*
-
after-hours block pattern 3 1800….
-
after-hours block pattern 4 987651234[0-5]
Note |
There is no change in the number of afterhours patterns that can be added. The maximum number is still 100. |
After-hours block pattern 0* blocks all numbers, and 00* blocks any number starting from 0. 0* and 00* must not be denoted as regular expressions.
For more configuration examples, see Example for Configuring After-Hours Block Patterns of Regular Expressions section.
For a summary of the basic Cisco IOS regular expression characters and their functions, see Cisco Regular Expression Pattern Matching Characters section of Terminal Services Configuration Guide.
Call Blocking Override
-
directory number—To configure an exception for an individual directory number.
-
phone-level—To configure an exception for all directory numbers associated to a Cisco Unified IP phone regardless of any configuration for an individual directory number.
-
dial peer—To configure an exception for a particular dial peer.
Individual phone users can be allowed to override call blocking associated with designated time periods by entering personal identification numbers (PINs) that have been assigned to their phones. For IP phones that support soft keys, such as the Cisco Unified IP Phone 7940G and the Cisco Unified IP Phone 7960G, the call-blocking override feature allows individual phone users to override the call blocking that has been defined for designated time periods. The system administrator must first assign a personal identification number (PIN) to any phone that will be allowed to override Call Blocking.
Logging in to a phone with a PIN only allows the user to override call blocking that is associated with particular time periods. Blocking patterns that are in effect 7 days a week, 24 hours a day, and they cannot be overridden by using a PIN.
When PINs are configured for call-blocking override, they are cleared at a specific time of day or after phones have been idle for a specific amount of time. The time of day and amount of time can be set by the system administrator, or the defaults can be accepted.
For configuration information, see Configure Call Blocking.
Class of Restriction
Class of restriction (COR) is the capability to deny certain call attempts based on the incoming and outgoing class of restrictions provisioned on the dial peers. COR specifies which incoming dial peer can use which outgoing dial peer to make a call. Each dial peer can be provisioned with an incoming and an outgoing COR list.
COR functionality provides flexibility in network design by allowing users to block calls (for example, calls to 900 numbers) and allowing different restrictions to call attempts from different originators.
For SIP phones, multiple COR lists can be applied under the voice register pool . A maximum of ten lists (five incoming and five outgoing) can be defined. The final COR list that is applied depends on the DN that the phone registers with the CME. This DN should match any one of the ranges defined in the COR list under the voice register pool.
For SIP Phones on Unified CME Release 12.1 and later versions, COR lists can be applied under voice register template configuration mode as well. If the COR list is configured under voice register pool and voice register template , the configuration under voice register pool takes precedence. If the COR list configuration under voice register pool is removed, the configuration under voice register template is applied.