02-27-2009 07:07 AM - edited 03-18-2019 10:34 PM
For the Application Dial Rules what is the best way to specify a rule that will be applied for dial strings greater than N digits. For example, if I want to set a rule saying that will prepend a "9011" to any string that is more than 11 digits but may not have a "+" at the begining.
Thanks in advance,
Shrenik
05-25-2011 01:43 PM
"Number begins with" is not a required field, if you leave it empty and specify a pattern 12 digits inlength and prefix 9011 that should work for you.
05-28-2011 07:54 AM
Application dial rules are processed in order, and once a match is found it needs to stop processing. Knowing that you simply first create rules for patterns that start with plus, and next for patterns without to prefix. Also you may want to prevent patterns that already have 9011 at start to be prefixed again. So for example:
lenght | starts with | prefx | strip |
---|---|---|---|
14 | 9011 | ||
15 | 9011 | ||
11 | + | ||
12 | + | ||
13 | + | ||
14 | + | ||
15 | + | ||
11 | 9011 | ||
12 | 9011 | ||
13 | 9011 | ||
14 | 9011 | ||
15 | 9011 |
Make sure you cover all scenarios possible in your dial plan.
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