Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

Call rejecting problem

I need 29 numbers to block. I have applied a rule in a profile that rejects 15 numbers on the dial-peer, my problem is how to add the other 14 numbers to reject, or if there is another way to do this??? Thanks for your attention

P.D.

  This is the config I try, but only rejects call from nums_bloq1 never on nums_bloq2

voice translation-rule 1
rule 1 reject /8113513300/
rule 2 reject /5551303900/
rule 3 reject /^558000/
rule 4 reject /5591143438/
rule 5 reject /3347804518/
rule 6 reject /8717505344/
rule 7 reject /5547370549/
rule 8 reject /5530671758/
rule 9 reject /3385251020/
rule 10 reject /3338265144/
rule 11 reject /3338260613/
rule 12 reject /3338262526/
rule 13 reject /3336100054/
rule 14 reject /3336100056/
rule 15 reject /8114934500/
!
voice translation-rule 2
rule 1 reject /5530030844/
rule 2 reject /3335639268/
rule 3 reject /4774930800/
rule 4 reject /5541956900/
rule 5 reject /3515208295/
rule 6 reject /4777137700/
rule 7 reject /5524544290/
rule 8 reject /8181505798/
rule 9 reject /6144997887/
rule 10 reject /3338276069/
rule 11 reject /3336100086/
rule 12 reject /3336100084/
rule 13 reject /3335763133/
rule 14 reject /3339545654/
!
!
voice translation-profile nums_bloq1
translate calling 1
!
voice translation-profile nums_bloq2
translate calling 2

dial-peer voice 1 pots
call-block translation-profile incoming nums_bloq1,nums_bloq2
preference 1
destination-pattern 7T
direct-inward-dial
port 0/1/0:0

!

2 REPLIES
VIP Purple

Re: Call rejecting problem

One option would be to apply one translation profile to the voice port and another to the inbound dial peer:

voice-port 0/1/0:0

translation-profile incoming nums_bloq1

dial-peer voice 1 pots
translation-profile incoming nums_bloq2
preference 1
destination-pattern 7T
direct-inward-dial
port 0/1/0:0

Hope this helps.

Brandon

Community Member

Re: Call rejecting problem


Thank you very much Brandon for your prompt response:

I try to apply the profile on the voice ports but only applies the profile that is in the dial peers

Any other ideas??

465
Views
0
Helpful
2
Replies
CreatePlease to create content