09-20-2009 05:16 PM - edited 03-15-2019 07:49 PM
For blocking 1900 calls on sccp phones we usually use after-hours block-pattern under telephony-service.
What is the best way for blocking particular patterns for sip endpoints ?
09-20-2009 08:00 PM
if you want to block certain calls going from SIP phones on CME,
Use the voice translation-rule command to create the definition of a translation rule.
These translation rules are grouped into profiles that are referenced by trunk groups, dial peers, source IP groups, voice ports, and interfaces.
Examples
The following example initiates translation rule 150, Which includes two rules:
Router(config)# voice translation-rule 150
Router(cfg-translation-rule)# rule 1 reject /^408\(.(\)/
Router(cfg-translation-rule)# rule 2 /\(^...\)853\(...\)/ /\1525\2/
apply this to translation-profile
use profile in sip dial-peer
Hope it helps!
09-21-2009 12:41 AM
Just make sure your destinaiton-pattern do not cover that number. eg:
destination-pattern 1[1-8]......T
If your country uses is fixed length numbers, configure it without T
09-21-2009 04:02 AM
Thanks for advise , but we do not use destination-pattern at all. we rely on digit-collect kpml because most of our phones are 7961.
As I understand (correct me if Im wrong) destination-pattern needs only if phone do not support digit-by-digit dialing
I would try translation-pattern from first posting.
09-21-2009 04:08 AM
How kpml collection works ? That is a SIP only setting to my knowledge.
You best choice is to use SCCP on the phones so they also will support your national language.
note whatever setting under telephony-service DO NOT apply to SIP phones. Anoter good reason to avoid SIP.
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: