I recently found the document that details how to setup Translations patterns to Block Calls based on the incoming Calling Party ID.
https://supportforums.cisco.com/docs/DOC-18367#Blocking_Inbound_calls_to_Cisco_Unified_Communications_Manager_based_on_Caller_ID
I have a few customers that have asked about this type of functionality in the past so decided to get this setup for one of them. After having it setup my testing indicates the translation patterns work as desired blocking calls from specific numbers. When I apply the created search space to my MGCP PRI Gateway I can't get any inbound calls to work.
It appears that the translations are causing some ISDN PRI messaging errors that the carrier does not like. Does anyone have any insight into the "Message type not implemented" message when Calling Party ID Blocking has been configured?
After CLID Block Config - Allowed Call
pr 28 08:54:41.536 EDT: ISDN Se0/0/0:23 Q931: TX -> RELEASE_COMP pd = 8 callref = 0x807D
Apr 28 08:56:41.139 EDT: ISDN Se0/0/0:23 Q931: RX <- SETUP pd = 8 callref = 0x19EA
Bearer Capability i = 0x8090A2
Standard = CCITT
Transfer Capability = Speech
Transfer Mode = Circuit
Transfer Rate = 64 kbit/s
Channel ID i = 0xA98391
Exclusive, Channel 17
Calling Party Number i = 0x2183, '10 digit Number Removed'
Plan:ISDN, Type:National
Called Party Number i = 0xC1, '3435576'
Plan:ISDN, Type:Subscriber(local)
Apr 28 08:56:41.143 EDT: ISDN Se0/0/0:23 Q931: TX -> SETUP_ACK pd = 8 callref = 0x99EA
Channel ID i = 0xA98391
Exclusive, Channel 17
Apr 28 08:56:41.183 EDT: ISDN Se0/0/0:23 Q931: RX <- STATUS pd = 8 callref = 0x19EA
Cause i = 0x80E10D - Message type not implemented
Call State i = 0x06
Apr 28 08:56:45.139 EDT: ISDN Se0/0/0:23 Q931: RX <- SETUP pd = 8 callref = 0x19EA
Bearer Capability i = 0x8090A2
Standard = CCITT
Transfer Capability = Speech
Transfer Mode = Circuit
Transfer Rate = 64 kbit/s
Channel ID i = 0xA98391
Exclusive, Channel 17
Calling Party Number i = 0x2183, '10 digit Number Removed'
Plan:ISDN, Type:National
Called Party Number i = 0xC1, '3435576'
Plan:ISDN, Type:Subscriber(local)
Apr 28 08:56:47.175 EDT: ISDN Se0/0/0:23 Q931: TX -> CALL_PROC pd = 8 callref = 0x99EA
Apr 28 08:56:47.175 EDT: ISDN Se0/0/0:23 Q931: TX -> ALERTING pd = 8 callref = 0x99EA
Progress Ind i = 0x8088 - In-band info or appropriate now available
Apr 28 08:56:47.235 EDT: ISDN Se0/0/0:23 Q931: RX <- STATUS pd = 8 callref = 0x19EA
Cause i = 0x80E018 - Mandatory information element missing
Call State i = 0x06
Apr 28 08:56:47.239 EDT: ISDN Se0/0/0:23 Q931: RX <- STATUS pd = 8 callref = 0x19EA
Cause i = 0x80E018 - Mandatory information element missing
Call State i = 0x06
Apr 28 08:56:49.183 EDT: ISDN Se0/0/0:23 Q931: RX <- RELEASE_COMP pd = 8 callref = 0x19EA
Cause i = 0x80E6 - Recovery on timer expir
Any thoughts are appreciated.
Brian