Exchange based diversion

Unanswered Question
May 30th, 2009


Im trying to work out how to put a number on one key so that a user can enable exchange based diversion.

The number dialled would be something like *21 (number) # and to cancel #21#.

So far i can see two issues

1. The outgoing dialled digits wont let me add a * or # from CCA 2.0

2. Can i program this under 1 key?

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Marcos Hernandez Sun, 05/31/2009 - 12:01

CCA won't allow you to do this on a line button, nor will the Speed Dial menus from the phone services (My Phone Apps). You need to use CLI:

UC500(config)#ephone 1

UC500(config-ephone)#speed-dial 9*21333# label test


Notice that I added the PSTN access code first. You will also need a dial-peer, for example:

dial-peer voice 5500 pots

destination-pattern 9*.T

port 0/1/0

Finally, you cannot do this with the same line button. You will need two, to add the disable string.


Marcos Hernandez
Technical Marketing Engineer
Cisco Systems, Inc.

jpotamitis1 Sun, 05/31/2009 - 19:22

Hi Marcos,

seems the like the system is dropping the * and #.

We had to change the dial peer and speed dial to actually make it dial

destination-pattern *.T

speed-dial 1 *21333# label test

Marcos Hernandez Sun, 05/31/2009 - 20:43

Very true. I neglected to mention this. A POTS dial peer will drop any digits explicitly defined in the destination pattern (not the case for a VoIP peer).

I would make the destination pattern more deterministic, and would add "forward-digits" command to let IOS dial out the right-most digits. That way you don't have to wait for the interdigit timeout ("T").



jpotamitis Mon, 06/01/2009 - 00:44

So we have a dial-peer with *.T as the destination pattern and I have tried forward-digit all and forward-digit extra but these both dont work.

The # at the end gets dropped off

Marcos Hernandez Mon, 06/01/2009 - 05:53

The default dial-peer terminator is # in IOS...but you can change it using
the below command:

dial-peer terminator A

Change the terminator to something other than # (DTMF "A" as in the example above).

From the docs:

The calling party can immediately terminate the interdigit timeout by
entering the # character. If the # character is entered while the router
is waiting for additional digits, the # character is treated as a
terminator; it is not treated as part of the dial string or sent across
the network. But if the # character is entered before the router begins
waiting for additional digits (meaning that the # is entered as part of
the fixed-length destination pattern), then the # character is treated
as a dialed digit.

For example, if the destination pattern is configured as 2222...T, then
the entire dialed string of 2222#9999 is collected, but if the dialed
string is 2222#99#99, the #99 at the end of the dialed digits is not
collected because the final # character is treated as a terminator. You
can change the termination character by using the dial-peer terminator

Let me know,


jpotamitis1 Mon, 06/01/2009 - 23:30

worked like a treat.. knew it was the terminate to dial function just didnt know where it was to change.


This Discussion