03-02-2015 06:26 AM - edited 03-17-2019 02:10 AM
Hi all,
I want to block some calls for some ANI numbers. Our CUBE has several SIP connections to different devices
Calls come from Telco SPCUBE to our cube and then it goes to either CVP or CUCM
Here are dial peers and translation rules
I created voice otranslation rule 999 and voice translation-profile call_block below.
********** config deleted for security reasons**************
Solved! Go to Solution.
03-02-2015 07:27 AM
Hmm, this behaves differently than I remember. Try this:
call-block translation-profile incoming call_block
call-block disconnect-cause incoming call-reject
On each dial-peer (of course, test it with one first). What I don't know is if that will interfere with the normal translation-profile. I don't think it will, but if there is a conflict, the CLI will likely tell you when you try to enter it.
FYI: I found this in this document: http://www.cisco.com/c/en/us/support/docs/voice/call-routing-dial-plans/64020-number-voice-translation-profiles.html#con13
03-02-2015 06:43 AM
Normally you would just add the incoming blocked translation rule to your incoming dial-peer.
03-02-2015 06:47 AM
Hi Brandon Yes but how? Do I need to add new dial peer or modify the existing ones?
03-02-2015 07:06 AM
Just modify the existing one. Just make sure you are not opening holes or closing call routing paths for your existing call rules.
http://www.cisco.com/c/en/us/support/docs/voice/call-routing-dial-plans/64020-number-voice-translation-profiles.html
Example:
dial-peer voice 29 voip translation-profile incoming FXS29
03-02-2015 07:15 AM
The problem is that most of your inbound dial-peers already have translation-profile and only one translation profile can be applied to a dial-peer in each direction. I think you will need that add the 'translate calling 999' command to each 'IN' translation profile.
03-02-2015 07:15 AM
Well, I couldn't do this, If I modify the existing one, then I think the translation profile will change on the dial peer. So, the old translation profile will be removed. In this case the other translation rule will not work.And it will effect to whole calls.
How is it possible to add this blocking rule , so that CUBE, will check the dial peer and block the ANI number if needed,but other calls will work properly.
Isn't it possible?
03-02-2015 07:27 AM
Hmm, this behaves differently than I remember. Try this:
call-block translation-profile incoming call_block
call-block disconnect-cause incoming call-reject
On each dial-peer (of course, test it with one first). What I don't know is if that will interfere with the normal translation-profile. I don't think it will, but if there is a conflict, the CLI will likely tell you when you try to enter it.
FYI: I found this in this document: http://www.cisco.com/c/en/us/support/docs/voice/call-routing-dial-plans/64020-number-voice-translation-profiles.html#con13
03-02-2015 11:17 PM
Hi Chris
It worked as you suggested yesterday. I added
call-block translation-profile incoming call_block
call-block disconnect-cause incoming call-reject
to my all incoming dial peers And it worked properly
Thanks a lot.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide