cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
775
Views
0
Helpful
3
Replies

UC560 can't get call blocking for stcapp analog phone

iridiumind
Level 1
Level 1

Hi all,

I'm trying to create an stcapp extension for an analog phone as an ephone-dn. However, I need to block long distance and international calling from the handset as it's in a public area of the building.

I was able to successfully get this working as a dial-peer on voice port 0/0/2, but I'd prefer to set it up as an ephone so it shows up properly in the directory and when calling internally as well as adding a monitor button for the receptionist.

Here's the config I am using right now, which is working as a dial peer:

! voice translation-rule 999 rule 1 reject /^91..\(.*\)/ rule 2 reject /^90\(.*\)/ rule 3 reject /77./ rule 4 reject /191/ ! voice translation-profile callblock translate called 999 ! voice-port 0/0/2 caller-id enable ! dial-peer voice 254 pots description x397 Plant Phone translation-profile incoming callblock translation-profile outgoing callblock call-block translation-profile incoming callblock destination-pattern 397 port 0/0/2 !

However, when I change it to this:

! voice translation-rule 999 rule 1 reject /^91..\(.*\)/ rule 2 reject /^90\(.*\)/ rule 3 reject /77./ rule 4 reject /191/ ! voice translation-profile callblock translate called 999 ! voice-port 0/0/2 caller-id enable ! dial-peer voice 254 pots description x397 Plant Phone translation-profile incoming callblock translation-profile outgoing callblock call-block translation-profile incoming callblock service stcapp port 0/0/2 ! ephone-dn  41  dual-line number 397 no-reg primary label Plant description Plant name Plant ! ephone  97 device-security-mode none mac-address FBD4.091A.2002 max-calls-per-button 2 provision-tag 397 type anl button  1:41 !

The call blocks no longer work and the phone can call any number.

Any insight would be appreciated,

Thank you.

Edit: I should add, we are using SIP Trunks for all calls

3 Replies 3

Steven DiStefano
VIP Alumni
VIP Alumni

Use CCA 2.2.5 to create the analog phone connected to an FXS port as User Mode phone.

This adds it as an ephone and ephone-dn.

Then it will appear in Telephony:VOice: User Extensions, where you can select restrictions (bottom right).

CCA will create everything for you.

Thanks for the quick reply steve.

I would love to use CCA, it certainly would make my life a lot easier with this stuff... However, the cisco partner who did the initial configuration used CLI for everything and left a huge mess behind.  Because of that, when I go into CCA Voice Tab, I am greeted with over 20 errors.  Some are just user name / first name / last name errors that could be resolved, but there are 6 extension not unique errors that concern me. I'm hesistant to go deleting phones or even changing extensions since we finally managed to get everything working to a point we're comfortable with.

Thanks again

Nathan Compton
Level 4
Level 4

The translation-profile should be applied incoming on the ephone-dn instead of dial-peer.  When CCA sets up an STCAPP dial-peer it should look like this:

dial-peer voice 254 pots
description x397 Plant Phone
service stcapp
port 0/0/2

ephone-dn  41  dual-line
number 397 no-reg primary
label Plant
description Plant
name Plant

translation-profile incoming callblock

Regards,

Adam Compton