I have a client that wants to block all but one inbound calling number to a specific DID. Is there a way to exclude a number from a translation rule? For example. Could I do a rule that said:
voice translation-rule 1
rule 1 /5555551234/ /5555551234/
rule 2 reject /.*/
voice translation-profile BLOCK
translate calling 1
Dial-peer voice 100 voip
call-block translation-profile incoming BLOCK
I know the above does not work, but hopefully it helps get across what I am trying to accomplish. In short I want to block all calling numbers except for one that are destined for a specific dial-pattern.
The problem with call-block is that works on incoming DPs only. Also, you do not use "reject" with a translation-rule used for call-block. finally, while you want to protect that certin DID, you allow all the rest. So, it's abit tricky, but try the following. 4321 is the protected DID, 5551234 the external calling number.
Thank you for the quick response. Unfortunately that did not work. I see my call come in, but the inbound dial-peer that is being matched is always "10" regardless of the calling number.
I should also point out that I have an outbound dial-peer that is sending the call to UCM.
So as it currently stands I have 2 inbound dial-peers both with the same incoming called-number and one with a BLOCK rule and the other with the answer-address that I want to allow. I also have an outbound dial-peer with the destination pattern being a little more specific than the incoming called number on the afore mentioned dial-peers.
SIP traces provide key information in troubleshooting SIP Trunks, SIP
endpoints and other SIP related issues. Even though these traces are in
clear text, these texts can be gibberish unless you understand fully
what they mean. This document attempts to br...
Please find the attached HTML document, download and open it on your PC.
This provides an easy to use form where you simply answer a few
questions and it will render the proper jabber-config.xml file for you
to copy/paste. There is built in logic to verif...
CUCM Database Replication is an area in which Cisco customers and
partners have asked for more in-depth training in being able to properly
assess a replication problem and potentially resolve an issue without
involving TAC. This document discusses the bas...