08-07-2008 04:31 AM - edited 03-15-2019 12:28 PM
With Unified Communications Manger 4.1.3sr5d is it possible to block specific incoming PSTN callers based on their callerid-number?
08-07-2008 04:46 AM
Hi,
You can use a combination of call-block and xlation profile to achive this..example below:
Here I am blocking all incoming calls beginning with 202456...
voice translation-rule 1
rule 1 reject \^2024561212\
voice translation-profile block
translate calling 1
Router(config)# dial-peer voice 5 pots
Router(config-dial-peer)# call-block translation-profile incoming block
Router(config-dial-peer)# call-block disconnect-cause incoming invalid-number
From this excellent doc..
08-07-2008 04:51 AM
My Gateways are MGCP. Would this still work?
08-07-2008 04:54 AM
Yes,
Because the xlation profile is applied at your POTS ports, which is where the call hits first before it goes to callmanager
08-07-2008 04:55 AM
Sweet I will gave that a try thanks.
08-07-2008 04:59 AM
It's great under H323, whereas I don't think the translation profile can work under MGCP.
It seems it doesn't work under MGCP
08-07-2008 05:13 AM
Thats true, Zhang. With MGCP, the dial plan intelligence resides on the CUCM, so any configuration on the gateway is ignored. There's no easy way to do this when the gateway is MGCP controlled.
Regards,
Michael.
08-07-2008 06:48 AM
Thanks michael. So how to make this goal in CCM under MGCP?
08-07-2008 07:08 AM
Hi Zhang,
This tech note on CCO states it can't be done, and recommends using H.323 and then using translation rules like Deji described earlier:
http://www.ciscotaccc.com/kaidara-advisor/voice/showcase?case=K16722513
I've seen suggestions of using CRS to accomplish the goal. Your CRS script can be coded to inspect the ANI of all incoming calls, and then route the call based on whether the ANI matches a given string. This would work, but the obvious downside here is the added layer of complexity, and the overhead of routing all incoming calls through CRS. If you are not already CRS, this is also an expensive solution.
Hope this helps.
Regads,
Michael.
08-07-2008 07:12 AM
Thanks for the responses. Yes I kind of thought MGCP would not work that is why I asked.
We are using IPCC currently for all call flows so I will give that work around a try.
Thanks all...
08-07-2008 07:23 AM
You're welcome Todd. Let us know how it works out for you.
Happy Thursday!
Michael.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide