cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1042
Views
15
Helpful
7
Replies

Make the # optional in a route pattern

Hello.

My question is simple.

I have an existing route pattern.

Can I make add the # (

that indicates end of dialing sequence) at the end as an option

The idea is to avoid copying the same route pattern and duplicate..

BR

Davi

1 Accepted Solution

Accepted Solutions

Terry Cheema
Advocate
Advocate

Davi,

This can be done, if I am getting your question correctly. I have been using this for variable route patterns instead of creating duplicate route patterns, works very well.

For example:

For 9.011! Route pattern, instead of creating two route patterns 9.011! and 9.011!# - You can create one route pattern 9.011![0-9#]. This will make # as optional. If you enter # after the number it will dial the number correctly. If you dont enter the # then it will just wait for t302/interdigit timer to expire and route the pattern as per normal.

So just add [0-9#] after !. This way it will route anything ending with 0-9 or #.

Examples:

9.! -> can be created as  9.![0-9#]

9.011! ->  9.011![0-9#]


Terry

View solution in original post

7 Replies 7

will.alvord
Contributor
Contributor

According to the docs, it's not possible.

"The question mark (?) wildcard matches zero or more occurrences of the preceding digit or wildcard value."

...but the notes for # state:

"Ensure the # character is the last character in the pattern."

Leo Salcie Tejeda
Rising star
Rising star

Hi,

Like Will said, it's not posible, you will need to duplicate the router pattern to make it work as a option.

Regards

Please rate all useful posts 
_____________________________
LinkedIn Profile: do.linkedin.com/in/leosalcie
MDGDP, CCNA, CCNA Voice certified

__________________________________________________
Please remember to rate useful posts clicking on the stars below.
LinkedIn Profile: do.linkedin.com/in/leosalcie

You could do that with a route filter.

HTH,

Chris

Terry Cheema
Advocate
Advocate

Davi,

This can be done, if I am getting your question correctly. I have been using this for variable route patterns instead of creating duplicate route patterns, works very well.

For example:

For 9.011! Route pattern, instead of creating two route patterns 9.011! and 9.011!# - You can create one route pattern 9.011![0-9#]. This will make # as optional. If you enter # after the number it will dial the number correctly. If you dont enter the # then it will just wait for t302/interdigit timer to expire and route the pattern as per normal.

So just add [0-9#] after !. This way it will route anything ending with 0-9 or #.

Examples:

9.! -> can be created as  9.![0-9#]

9.011! ->  9.011![0-9#]


Terry

I learned something new today . Terry (5).

Regards

Favor calificar todos las respuestas útiles.
Please rate all useful posts
_____________________________
LinkedIn Profile: do.linkedin.com/in/leosalcie
MDGDP, CCNA, CCNA Voice certified

__________________________________________________
Please remember to rate useful posts clicking on the stars below.
LinkedIn Profile: do.linkedin.com/in/leosalcie

Thanks Leo!

Davi - Please let us know if you have any further questions on this. If this resolves your query please mark the thread as answered.

Terry
Sent from Cisco Technical Support iPhone App

Thank you Terry.

I have tested and it works.

Thanks for the kind help.

Cheers

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Recognize Your Peers