05-30-2009 10:18 PM - edited 03-21-2019 01:09 AM
Hi.
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?
05-31-2009 12:01 PM
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
UC500(config-ephone)#restart
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.
Thanks,
Marcos Hernandez
Technical Marketing Engineer
Cisco Systems, Inc.
05-31-2009 07:22 PM
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
05-31-2009 08:43 PM
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").
Thanks,
Marcos
06-01-2009 12:44 AM
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
06-01-2009 05:53 AM
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
command.
Let me know,
Marcos
06-01-2009 11:30 PM
worked like a treat.. knew it was the terminate to dial function just didnt know where it was to change.
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