10-17-2011 01:25 AM - edited 03-12-2019 09:41 AM
This document covers the Configuration steps to Implement After-Hours Call blocking on Cisco Unified Communications Manager Express (CME). After-hours call blocking helps the user to block specific calls which are placed after the working hours.After-hours blocking can also be used to restrict calls to numbers/area codes known as fraudulent calling patterns.
There have been may recorded incidents of business phone calls being placed After-hours, when staff has left for the evening. To prevent this you can implement After-hours call blocking on CME
After-Hours call blocking allows you to define ranges of times specified as After-hours intervals. User has an option to list number patterns that are not allowed during those intervals. If any user places a call during the After-hours time range that matches one of the defined patterns, CME will play a tone and disconnect the call.
After-hours call blocking has three major steps of configuration
Step1 : Define days and/or hours of the day that your company considers off-hours.
Step2 : Specify the patterns that you want to bock during the time specified as off-hours.
Step3 : Create exemptions to the policy, if needed.
Configure the After-Hours call blocking from telephony-service configuration mode.
Note:-
There are some patterns that may be benificial to block all the time. Say 1-900 numbers are always high-cost and needs to be blocked at all the times. CME allows you to create a 24/7 non exemptible patterns that is disallowed at all the times using After-hours call blocking system.
Configuration Example
CME_Router(Config) # telephony-service
CME_Router(Config-telephony)# after-hours day mon 18:00 8:00
! -- day - define day in week ! -- hh:mm - Time to start and stop
CME_Router(Config-telephony)# after-hours day mon 18:00 8:00 CME_Router(Config-telephony)# after-hours day tue 18:00 8:00 CME_Router(Config-telephony)# after-hours day wed 18:00 8:00 CME_Router(Config-telephony)# after-hours day thu 18:00 8:00 CME_Router(Config-telephony)# after-hours day fri 18:00 8:00 |
Configuration Example
Implementing After-hours call blocking for the entire day dec 25 (Christmas) and jan 1 (New year)
CME_Router(Config-telephony)# after-hours date dec 25 00:00 00:00 CME_Router(Config-telephony)# after-hours date jan 1 00:00 00:00 |
Configuration Example
Define the block patterns that CME should block during the After-Hours configured in Sample configuration - 1
CME_Router(Config) # telephony-service CME_Router(Config-telephony)# after-hours block pattern 1 91........ CME_Router(Config-telephony)# after-hours block pattern 2 9011T |
Configuration Example
CME_Router(Config-telephony)# after-hours block pattern 3 91900........ 7-24
! -- 7-24 block pattern works fof 7*24. This syntax tells the CME to block calls to this pattern at all the times |
Configuration Example
Configure ephone1 to exempt from the After-hours call blocking policy
CME_Router(Config)# ephone 1 CME_Router(Config)# after-hour exempt CME_Router(Config)# exit ephone 2 is configured with PIN to exempt from the After-hours call blocking policy
CME_Router(Config)# ephone 2 CME_Router(Config)# pin 5555 ! -- pin - pin number can be any number between four-eight digits.
CME_Router(Config)# exit CME_Router(Config)# telephony-service CME_Router(Config-telephony)# login timeout 120 clear 23:00 |
Step 1 Use the show running-config command to display an entire configuration, including call-blocking number patterns and time periods and the phones that are marked as exempt from call blocking.
telephony-service
fxo hook-flash
load 7960-7940 P00305000600
load 7914 S00103020002
max-ephones 100
max-dn 500
ip source-address 10.115.43.121 port 2000
timeouts ringing 10
voicemail 7189
max-conferences 8 gain -6
moh music-on-hold.au
web admin system name sys3 password sys3
dn-webedit
time-webedit
transfer-system full-consult
transfer-pattern .T
secondary-dialtone 9
after-hours block pattern 1 91900 7-24
after-hours block pattern 2 9976 7-24
after-hours block pattern 3 9011 7-24
after-hours block pattern 4 91...976.... 7-24
!
create cnf-files version-stamp 7960 Jul 13 2004 03:39:28
Step 2 Use the show ephone login command to display the login status of all phones.
Router# show ephone login
ephone 1 Pin enabled:TRUE Logged-in:FALSE
ephone 2 Pin enabled:FALSE
ephone 3 Pin enabled:FALSE
Step 3 The show voice register dial-peer command displays all the dial peers created dynamically by SIP phones that have registered, along with configurations for after hours blocking.
Hi
Where is the PIN Option for SIP Phones?
I can't see anything under:
voice register dn 1
voice register pool 1
PIN does not display in CME 8.6
but i can see in CME 11.0
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: