cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

Get the latest Cisco news in this February issue of the Cisco Small Business Monthly Newsletter

1761
Views
0
Helpful
7
Replies
Beginner

block specific incoming call number FXO

I try to block incoming calls from specific number on fxo

here's what I did :

voice translation-rule 11000

rule 1 reject /**********/    (I enter my phone number)

!

!

voice translation-profile CALL_BLOCK

translate calling 11000

!

dial-peer voice 50 pots

description ** incoming dial peer **

incoming called-number ^AAAA$

port 0/1/0

!

dial-peer voice 51 pots

description ** incoming dial peer **

call-block translation-profile incoming CALL_BLOCK

call-block disconnect-cause incoming invalid-number

incoming called-number ^AAAA$

port 0/1/1

!

dial-peer voice 54 pots

description ** FXO pots dial-peer **

call-block translation-profile incoming CALL_BLOCK

call-block disconnect-cause incoming invalid-number

destination-pattern A0

port 0/1/0

no sip-register

!

dial-peer voice 55 pots

description ** FXO pots dial-peer **

destination-pattern A1

port 0/1/1

no sip-register

!

I tried 2 methods, one on my fxo port 0 and one of my fxo port 1,

when i call port 0 everything's normal but when I call port 1, it takes like 5 rings to get to the phone and it shows anonymous as the caller Id instead of my phone number

why it's not working ?

7 REPLIES 7
Highlighted
Hall of Fame Master

block specific incoming call number FXO

Apply the translation-profile under voice-port, not dial-peer.

Highlighted
Beginner

block specific incoming call number FXO

in this ???

when i try to, i can't enter the cmd line

!

voice-port 0/1/0

trunk-group ALL_FXO 64

cptone CA

connection plar opx 296

description Configured by CCA 4 FXO-0/1/0-Custom-OP

caller-id enable

!

voice-port 0/1/1

trunk-group ALL_FXO 64

cptone CA

connection plar opx 296

description Configured by CCA 4 FXO-0/1/1-Custom-OP

caller-id enable

!

voice-port 0/1/2

trunk-group ALL_FXO 64

cptone CA

connection plar opx 296

description Configured by CCA 4 FXO-0/1/2-Custom-OP

caller-id enable

!

voice-port 0/1/3

trunk-group ALL_FXO 64

cptone CA

connection plar opx 296

description Configured by CCA 4 FXO-0/1/3-Custom-OP

caller-id enable

!

Highlighted
Beginner

block specific incoming call number FXO

when i refer to this it says to user dial-peer : https://supportforums.cisco.com/thread/2020843

Highlighted
Hall of Fame Master

block specific incoming call number FXO

I can tell you what works, then it's up to you  to try it or not.

Highlighted
Beginner

block specific incoming call number FXO

like I told you when I try to enter the command line under Voice-port cisco ios won't let me enter the command..

Highlighted
Hall of Fame Master

Re: block specific incoming call number FXO

That is what command?

Anyway that method of blocking call might not work with FXO at all.

Highlighted
Beginner

Re: block specific incoming call number FXO

call-block translation-profile incoming CALL_BLOCK

call-block disconnect-cause incoming invalid-number

I follow this doc :http://www.cisco.com/en/US/docs/ios/12_2t/12_2t11/feature/guide/ftgwrepg.html#wp1038689