01-14-2020 12:03 AM
how can i block specific incoming calls due to them being prank/nuisance calls ?
i was told that it can be done using translation rules
eg, if i need to block 67823456 and 92909878
how should i configure the translation rules
i currently have the following translation rules in my voice gateway
do i add rule 5 in translation-rule 4 ??
voice translation-rule 1
!
voice translation-rule 2
rule 1 // /9/
!
voice translation-rule 3
rule 1 /^9/ //
!
voice translation-rule 4
rule 1 /^81\(.*\)/ /+65665381\1/
rule 2 /^665381\(.*\)/ /+65665381\1/
rule 3 /^665382\(.*\)/ /+65665382\1/
rule 4 /^620619\(.*\)/ /+65620619\1/
Solved! Go to Solution.
01-15-2020 06:50 AM
In my opinion if you want to configure something then you might as well block rather than redirect to voicemail.
You can block on the gateway by creating a specific form of translation rule in the form ..
voice translation-rule 20 rule 1 reject /01234567890/ voice translation-profile BLOCK-CALLING translate calling 20
And apply to your inbound PSTN dial peer
dial-peer voice 2 voip call-block translation-profile incoming BLOCK-CALLING call-block disconnect-cause incoming unassigned-number
You can test your wildcards and regular expressions with the "test voice translation-rule" command
01-14-2020 12:18 AM
You may read the following thread:
https://community.cisco.com/t5/ip-telephony-and-phones/block-internal-calls-on-cme/td-p/2328387
G
01-15-2020 05:54 AM
this links are for internal calls and it seems like the links are broken.
i am more interested in blocking incoming external calls.
is it advisable to forward these calls to voice mail instead of dropping them
01-15-2020 06:50 AM
In my opinion if you want to configure something then you might as well block rather than redirect to voicemail.
You can block on the gateway by creating a specific form of translation rule in the form ..
voice translation-rule 20 rule 1 reject /01234567890/ voice translation-profile BLOCK-CALLING translate calling 20
And apply to your inbound PSTN dial peer
dial-peer voice 2 voip call-block translation-profile incoming BLOCK-CALLING call-block disconnect-cause incoming unassigned-number
You can test your wildcards and regular expressions with the "test voice translation-rule" command
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