cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5327
Views
0
Helpful
12
Replies

CME: Block Call Forwarding On Phones

rossporubski
Level 4
Level 4

Hello,

It has been requested by the business unit to address an issue with employees forwarding their office phones outside the business. No phones are to be forwarded to outside lines at any time.

In Call Manager it's simple. We select the option to disallow CFA to outside lines.

Unfortunately in CME, I don't see an option on the GUI.


I'll assume the change can only be made on the router. In this case I'd like to request assistance as to what the command line should be in order to block our subscribers from forwarding to outside lines.


Thank you!

2 Accepted Solutions

Accepted Solutions

Rob Huffman
Hall of Fame
Hall of Fame

Hi Ross,

Here is one such method;

call-forward max-length

To restrict the number of digits that can be entered using the CfwdALL soft key on an IP phone, use the call-forward max-length command in ephone-dn or ephone-dn-template configuration mode. To remove a restriction on the number of digits that can be entered, use the no form of this command.

call-forward max-length length

no call-forward max-length

Syntax Description

length

Number of digits that can be entered using the CfwdAll soft key on an IP phone.

This command can be used to prevent a phone user from using the CfwdALL soft key on an IP phone to forward calls to numbers that will incur toll charges when they receive forwarded calls.

If the length argument is set to 0, the CfwdALL soft key is completely disabled. If the ephone-dn associated with the first line button has an active call forward number when this command is used to set the length argument to 0, the CfwdALL soft key will be disabled after the next phone restart

http://www.cisco.com/en/US/docs/voice_ip_comm/cucme/command/reference/cme_c1ht.html#wp1013281

Hope this helps!

Rob

View solution in original post

Hi Ross,

You are most welcome my friend

Yes, you are most correct.

The following example restricts the number of digits that a phone user can enter using the CfwdALL soft key to four. In this example, extensions in the phone user's Cisco Unified CME system have four digits, so that means the user can use the IP phone to forward all calls to any extension in the system, but not to any number outside the system.

Router(config)# ephone-dn 1

Router(config-ephone-dn)# number 5001

Router(config-ephone-dn)# call-forward max-length 4

The following example uses an ephone-dn-template to restrict the number of digits that a phone user can enter using the CfwdALL soft key to four.

Router(config)# ephone-dn-template 4

Router(config-ephone-dn-template)# call-forward max-length 4

Router(config-ephone-dn-template)# exit

Router(config)# ephone-dn 1

Router(config-ephone-dn)# number 5001

Router(config-ephone-dn)# ephone-dn-template 4

Cheers!

Rob

View solution in original post

12 Replies 12

Rob Huffman
Hall of Fame
Hall of Fame

Hi Ross,

Here is one such method;

call-forward max-length

To restrict the number of digits that can be entered using the CfwdALL soft key on an IP phone, use the call-forward max-length command in ephone-dn or ephone-dn-template configuration mode. To remove a restriction on the number of digits that can be entered, use the no form of this command.

call-forward max-length length

no call-forward max-length

Syntax Description

length

Number of digits that can be entered using the CfwdAll soft key on an IP phone.

This command can be used to prevent a phone user from using the CfwdALL soft key on an IP phone to forward calls to numbers that will incur toll charges when they receive forwarded calls.

If the length argument is set to 0, the CfwdALL soft key is completely disabled. If the ephone-dn associated with the first line button has an active call forward number when this command is used to set the length argument to 0, the CfwdALL soft key will be disabled after the next phone restart

http://www.cisco.com/en/US/docs/voice_ip_comm/cucme/command/reference/cme_c1ht.html#wp1013281

Hope this helps!

Rob

Hello Rob,

Thank you for taking the time to review my query.

We still must have the subscribers be able to forward to voicemail from their phone. So if I want to block anything over 4 characters, would this be the syntax:

call-forward max-length 4

Thank you

Hi Ross,

You are most welcome my friend

Yes, you are most correct.

The following example restricts the number of digits that a phone user can enter using the CfwdALL soft key to four. In this example, extensions in the phone user's Cisco Unified CME system have four digits, so that means the user can use the IP phone to forward all calls to any extension in the system, but not to any number outside the system.

Router(config)# ephone-dn 1

Router(config-ephone-dn)# number 5001

Router(config-ephone-dn)# call-forward max-length 4

The following example uses an ephone-dn-template to restrict the number of digits that a phone user can enter using the CfwdALL soft key to four.

Router(config)# ephone-dn-template 4

Router(config-ephone-dn-template)# call-forward max-length 4

Router(config-ephone-dn-template)# exit

Router(config)# ephone-dn 1

Router(config-ephone-dn)# number 5001

Router(config-ephone-dn)# ephone-dn-template 4

Cheers!

Rob

Exceptional.

Thank you very much for your assistance.

Hi Rob,

How to restrict call forwarding for a SIP phone registered to CME?

Thanks,

Perci

Hello,

Looking for solution to restrict call forwarding on SIP Phones registered with CME 10.0.

Please share.

Just remove call forward all key from softkey template. Doing so, user won't be able to set call forward.

- Vivek

Requirement is to block call forward all only PSTN numbers. Call forward all to local extensions should work.

rossporubski
Level 4
Level 4

Hi Rob, I tried this both ways. I tried the first option:

#Router(config)# ephone-dn 59

#

Router(config-ephone-dn)# number 4664

#

Router(config-ephone-dn)# call-forward max-length 6

#

Router(config-ephone-dn)#cntrl z

Router# wr mem

Then I test the line and it still forwards. Did I miss something?

Thank you

Hi Ross,

That's strange....did you reset/restart the phone after the config change?

I noticied in your example, that you chose;

call-forward max-length 6

In our discussion I thought you were going to use;

call-forward max-length 4

Just checking

Cheers!

Rob

Well Rob, (not that I doubted you) you were 100% correct. I went to my eng dept and ran it by them. They ran the same commands and it worked fine. Weird.

Thanks for your help!

Hi Rob,

Our engineering dept. devised a plan to use a series of 2 digit prefixes for all our facilities to append to their 4 digit extension. This enables the business to interconnect all of the facilities over MPLS and 6 digit dial between eachother.

I did reset the phone after running the command on the router but no luck. I'm still able to forward to 7 digit local, and any variation long distance, toll and international.

Thank you