Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Block a Specific Number

Status
Not open for further replies.

msteeler

Technical User
Jan 29, 2003
324
US
Is there a way to block a specific number from calling in. I’ve tried the below config on the router but I’m missing something. Thanks

voice translation-rule 3
rule 1 reject /Ten digit number here/

voice translation-profile call_block
translate calling 3
 
Now you need to apply it to your voice interface so it takes effect.
 
Thanks. Another question... for this statement "translate calling 3" is the 3 supposed to match the 3 from voice translation-rule 3? Also, below are the dial peer statements which also have each of the translation statements in them. Do I need to create another dial peer statement referencing voice translation-profile call_block or add it to one of the below statements? Thanks

dial-peer voice 200 pots
translation-profile outgoing Add6
destination-pattern 8T
port 0/0/0:23
!
dial-peer voice 100 pots
translation-profile incoming Strip515
incoming called-number .
direct-inward-dial
port 0/0/0:23
!
dial-peer voice 201 pots
translation-profile outgoing Add6
destination-pattern 911
port 0/0/0:23
forward-digits 3




 
Found this on line on Cisco for H323 gateway... see if it helps:

Call Blocking Specific Calling Numbers
Configure a voice translation rule to block the desired calling number you want to block. This example uses 9193927393.

voice translation-rule 1
rule 1 reject /9193927393/

!--- Matches the defined number string and rejects the call.

!

!--- Apply the rule to a translation profile for the calling number.
!--- You could also reject based on called or redirect-called numbers.

!
voice translation-profile call_block
translate calling 1

!--- Invokes voice translation rule 1 in order to determine
!--- which calls to reject based on the calling number.

!

!--- Include the translation profile within a dial peer definition.

!
dial-peer voice 100 pots
call-block translation-profile incoming call_block

!--- Invokes the voice translation profile “call_block” on
!--- inbound POTS calls that match this peer
!--- in order to determine which calls to reject.

call-block disconnect-cause incoming call-reject
incoming called-number

!--- Matches this peer for all inbound POTS calls.

port 1/1:23
 
Thank you. I founds that post yesterday but I'm a litle confused on if I have to create another dial peer statement or if I just add it to one of the others ones that are already there.
 
Beware also that there's a limit of 15 "reject" statements per rule.


Original MUG/NAMU Charter Member
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top