Fail a specific DDI, despite catch-all pattern

Answered Question
Oct 29th, 2008
User Badges:

I need to intentionally put a specific incoming DDI number "out of service" such that a caller from the PSTN hears a generic message from their carrier/exchange and believes the number is invalid.


Currently my H.323 gateway translates the called CLID to a potentially valid 4 digit extension number. I have a "catch-all" translation-rule which, if no specific match is found, will translate to the switchboard number. This has the affect of catching all calls to currently unassigned numbers.


Can I configure a specific called CLI to fail ? as my catch-all provision is working against me here.

Correct Answer by Ayodeji Okanlawon about 8 years 8 months ago

Hi,


you can use call reject to achive this...Below is an example of how to ocnfigure call reject


To block a call based on calling number (ANI):


1. Create a voice translation rule and add the numbers you want to block.


BR1(config)#voice translation-rule 1

BR1(cfg-translation-rule)#rule 1 reject /3234441234/

BR1(cfg-translation-rule)#rule 2 reject /3234442345/

BR1(cfg-translation-rule)#rule 3 reject /5155556*/


2. Create a voice translation profile.


BR1(config)#voice translation-profile reject_ANI

BR1(cfg-translation-profile)#translate calling 1


3. Apply the translation profile to your inbound dial-peer.


dial-peer voice 1 pots

Incoming called-number .

direct-inward-dial

port 0/2/0:23

call-block translation-profile incoming reject_ANI



HTH, pls rate useful posts

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4 (1 ratings)
Loading.
Correct Answer
Ayodeji Okanlawon Wed, 10/29/2008 - 09:10
User Badges:
  • Super Bronze, 10000 points or more
  • Cisco Designated VIP,

    2017 IP Telephony

Hi,


you can use call reject to achive this...Below is an example of how to ocnfigure call reject


To block a call based on calling number (ANI):


1. Create a voice translation rule and add the numbers you want to block.


BR1(config)#voice translation-rule 1

BR1(cfg-translation-rule)#rule 1 reject /3234441234/

BR1(cfg-translation-rule)#rule 2 reject /3234442345/

BR1(cfg-translation-rule)#rule 3 reject /5155556*/


2. Create a voice translation profile.


BR1(config)#voice translation-profile reject_ANI

BR1(cfg-translation-profile)#translate calling 1


3. Apply the translation profile to your inbound dial-peer.


dial-peer voice 1 pots

Incoming called-number .

direct-inward-dial

port 0/2/0:23

call-block translation-profile incoming reject_ANI



HTH, pls rate useful posts

ajenks Wed, 10/29/2008 - 10:17
User Badges:

Thanks for this reply.


I am looking to "fail" the call based on the CALLED number, not the CALLING number. ie. ANY external party calling a PARTICULAR DDI terminating on this gateway should get "unreachable". Although I think this may still be possible using the method you describe. Is this still your recommendation ?


I will have a look into this option further and rate as appropriate.


Many Thanks for the quick response

ajenks Fri, 10/31/2008 - 02:52
User Badges:

Used this example on CALLED number, not CALLING number.


Thanks for your help.

Actions

This Discussion