cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
947
Views
0
Helpful
5
Replies

Blocking incoming calls using ANI

p8riots2004
Level 1
Level 1

Is there a way to block incoming calls in CCM 4.1 using ANI as the trigger?

5 Replies 5

lpezj
Level 7
Level 7

Hi,

You can not block calls by ANI directly in CallManager.

You could use Cisco IP/IVR or IPCC Express to do it, or if you are using H.323 Cisco gaetways, take a look to this post:

http://forums.cisco.com/eforum/servlet/NetProf?page=netprof&forum=Unified%20Communications%20and%20Video&topic=IP%20Telephony&CommCmd=MB%3Fcmd%3Ddisplay_location%26location%3D.1ddda200

Hope this helps,

Juan Luis

Hi Juan,

So you mentioned that we can block the incoming calls using ANI on IPCC.  do you have any instruction on how to do it?

Thanks,

Sp

Sp,

For simplicity sake use the dial-peers if this is an H323 gateway with the call-block statement as previously noted..

If you really feel like you want to do it in IPCC, it depends on whether you are using UCCX or UCCE.

For UCCX you would use the "Get Call Contact Info" step to grab the ANI.  Create an if statement and send the true leg to a terminate step - or if you want to mess with them send it to a queue that no one ever logs into so they sit in limbo ; ^))

On UCCE you would do a similar match using the "CLID" call routing node and then send it to an "End" node (I think - it's been awhile).

If you aren't familiar with scripting for these products you might want to read the configuration guides and other documentation.  UCCX isn't bad to pick up, UCCE is a bit more complicated.

Cheers!

Art

Hi Art,

Thank you for your reply,

Do you have the sample scripts for "Get Call Contact Info" and the "if" statement?

For "Get Call Contact Info", I have created:

- New Variable: (with the phone number that i want to block, example:) xxx-yyy-zzzz with the name "BLOCK"

- "Get Call Contact Info" script and set the variable to "BLOCK"

For the "if" statement:

I have difficulty creating the "If then" statement and set the condition to it will match the "BLOCK" variable/phone number:

However i have done these

- I have created the if it is TRUE, it will Goto "End Call"

- I have created the if it is FALSE, it will Goto "Menu"

Can you help?

thanks,

sp

thisisshanky
Level 11
Level 11

If using a h323 gateway you may use call-block command to create call blocking rules.

Sankar Nair
UC Solutions Architect
Pacific Northwest | CDW
CCIE Collaboration #17135 Emeritus
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: