Ensuring Technical Readiness For Copilot in Microsoft 365
How to setup call blocking based off of incoming caller's ani
1. How to setup call blocking based off of incoming Caller's ANI
Block incoming Calls based off of ANI. (incoming or originating phone number): the
following is an example of how to setup call blocking based off of incoming Caller's ANI.
In this example, my voice enviornment consist of an 8.6 CUCM Pub with 3 Subscribers. I
have three Cisco 2911 h.323 voice gateways with 1 PRI each. I put together this simple
3 step process based off of a Cisco Configuration guide. I tested it on my cell phone and
a coupe of others and it worked great. Here are the three steps:
Block Incoming Calls based off of ANI.
The following configuration must be applied to each voice gateway. It is done in basically
3 steps:
1. Create a Translation Rule.
Within the translation rule you will use the reject command followed by the pattern you
wish to reject. In this case we use the entire phone number.
router#conf t
router(config)#voice translation-rule 1
router(config-xxx)#rule 1 reject /8055553538/
router(config-xxx)#rule 2 reject /4805557904/
Moving forward, you can continue to add rules to reject numbers as you see fit. example:
router(config-xxx)#rule 3 reject /4805557905/ and so on.
2. Apply the Translation rule to a Translation Profile and give it a name.
(This will be used to apply to the incoming Dial-peers.)
router#conf t
router(config)#voice translation-profile call_block
router(config-xxx)#call-block disconnect-cause incoming call-reject
in this case we named the Translation Profile "call_block"
3. Apply Translation Profile to incoming Dial-peers (only) on each router.
router#conf t
router(config)#dial-peer voice 1 pots
router(config-xxx)#call-block translation-profile incoming call_block
router(config-xxx)#call-block disconnect-cause incoming call-reject
1
2. In our case, we apply this to dial-peers 1 and 2 on each voice gateway as these are the
incoming dial-peers for each location.
Each dial-peer looks like this after configuration: (at least in our enviornment)
dial-peer voice 1 pots
call-block translation-profile incoming call_block
call-block disconnect-cause incoming call-reject
incoming called-number .T
direct-inward-dial
port 0/0/0:23
Hope this helps for anyone out there looking to block based off incoming numbers.
It is referred from: https://supportforums.cisco.com/docs/DOC-25415
More related:
Cisco router rules of nomenclature
Enterprise router recommendation: Cisco 2911 router
How To Recover Cisco Router Password
The Difference of The Cisco Catalyst 2900 and Cisco Catalyst 1900
More Cisco products and Reviews you can visit: http://www.3anetwork.com/blog
:
3Anetwork.com is a world leading Cisco networking products wholesaler, we wholesale
original new Cisco networking equipments, including Cisco Catalyst switches, Cisco
routers, Cisco firewalls, Cisco wireless products, Cisco modules and interface cards
products at competitive price and ship to worldwide.
Our website: http://www.3anetwork.com
Telephone: +852-3069-7733
Email: info@3Anetwork.com
Address: 23/F Lucky Plaza, 315-321 Lockhart Road, Wanchai, Hongkong
2