09-12-2012 08:45 AM - edited 03-21-2019 06:17 AM
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 ?
09-12-2012 09:02 AM
Apply the translation-profile under voice-port, not dial-peer.
09-12-2012 11:11 AM
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
!
09-12-2012 11:18 AM
when i refer to this it says to user dial-peer : https://supportforums.cisco.com/thread/2020843
09-14-2012 11:49 PM
I can tell you what works, then it's up to you to try it or not.
09-17-2012 06:00 AM
like I told you when I try to enter the command line under Voice-port cisco ios won't let me enter the command..
09-17-2012 10:53 AM
That is what command?
Anyway that method of blocking call might not work with FXO at all.
09-17-2012 01:54 PM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide