cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2427
Views
0
Helpful
7
Replies

block specific incoming call number FXO

datak2011
Level 1
Level 1

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

paolo bevilacqua
Hall of Fame
Hall of Fame

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

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

!

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

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

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

That is what command?

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

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

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: