Ayodeji Okanlawon Thu, 08/07/2008 - 04:46
User Badges:
  • Super Bronze, 10000 points or more
  • Cisco Designated VIP,

    2017 IP Telephony

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


http://www.cisco.com/en/US/tech/tk652/tk90/technologies_configuration_example09186a00803f818a.shtml#con11

Ayodeji Okanlawon Thu, 08/07/2008 - 04:54
User Badges:
  • Super Bronze, 10000 points or more
  • Cisco Designated VIP,

    2017 IP Telephony

Yes,


Because the xlation profile is applied at your POTS ports, which is where the call hits first before it goes to callmanager

zhangjianping Thu, 08/07/2008 - 04:59
User Badges:

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

Michael Owuor Thu, 08/07/2008 - 05:13
User Badges:
  • Cisco Employee,

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.

Michael Owuor Thu, 08/07/2008 - 07:08
User Badges:
  • Cisco Employee,

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.



TODD BERGMAN Thu, 08/07/2008 - 07:12
User Badges:

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

Michael Owuor Thu, 08/07/2008 - 07:23
User Badges:
  • Cisco Employee,

You're welcome Todd. Let us know how it works out for you.


Happy Thursday!


Michael.

Actions

This Discussion