cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1232
Views
5
Helpful
1
Replies

blocking phone numbers

cooperben
Level 1
Level 1

3825 with 12.4.24T AdvIPServices IOS with 2 PRI's.  Internal 4-digit extensions are from 3600-3899.

I've configured the 3825 in order to set up call blocking so that from now on, we only need to add new rules to the voice translation rule.  However, when I test using my cell phone number, it does not get rejected.  Did I miss something?  I have shut/no shut the PRI ports already.  Relevant config below.  Thanks in advance.


voice translation-rule 77
rule 1 reject /5045551212/
!
voice translation-profile call-blocking
translate calling 77

!

!

voice-port 0/0/0:23
translation-profile incoming call-blocking
timeouts interdigit 3
!
voice-port 0/0/1:23

translation-profile incoming call-blocking
timeouts interdigit 3

!

!

dial-peer voice 10 voip
call-block translation-profile incoming call-blocking
call-block disconnect-cause incoming call-reject
destination-pattern 36..
session target ipv4:x.x.x.x
incoming called-number .
dtmf-relay h245-alphanumeric
!
dial-peer voice 20 voip
call-block translation-profile incoming call-blocking
call-block disconnect-cause incoming call-reject
destination-pattern 37..
  session target ipv4:x.x.x.x
incoming called-number .
dtmf-relay h245-alphanumeric
!
dial-peer voice 30 voip
call-block translation-profile incoming call-blocking
call-block disconnect-cause incoming call-reject
destination-pattern 38..
session target ipv4:x.x.x.x
incoming called-number .
dtmf-relay h245-alphanumeric

1 Reply 1

William Bell
VIP Alumni
VIP Alumni

Well, actually you need to make a few adjustments here:

1. remove the translation profiles under the voice ports

voice-port 0/0/0:23

no translation-profile incoming call-blocking

voice-port 0/0/1:23

no translation-profile incoming call-blocking

2. Remove the call-block under the voip dial-peers

dial-peer voice 10 voip

no call-block translation-profile incoming call-blocking

no call-block disconnect-cause incoming call-reject

!

dial-peer voice 20 voip

no call-block translation-profile incoming call-blocking

no call-block disconnect-cause incoming call-reject

!

dial-peer voice 30 voip

no call-block translation-profile incoming call-blocking

no call-block disconnect-cause incoming call-reject

3. Add new pots dial-peers

dial-peer voice 1 pots

incoming called-number .

direct-inward-dial

!

dial-peer voice 100 pots

incoming called-number 3[6-8]..

direct-inward-dial

call-block translation-profile incoming call-blocking

call-block disconnect-cause incoming call-reject

hth.

Regards,

Bill

HTH -Bill (b) http://ucguerrilla.com (t) @ucguerrilla

Please remember to rate helpful responses and identify

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: