robertkwild
(robert wild)
September 20, 2021, 2:16pm
#1
hi all,
in my dial pattern i have X. which works for extensions/local numbers/country codes if they put a 00 infront of the number ie 001xxxxxxx
if they do put a + infront of the number what should i put in dial patterns for it to work
[+]X.
.X.
thanks,
rob
lgaetz
(Lorne Gaetz)
September 20, 2021, 2:20pm
#2
You will want a separate pattern of
+X.
1 Like
david55
(David55)
September 20, 2021, 2:33pm
#3
If you wanted a pattern that matched both you would need to use
[+0-9].
However, Iād really expect you to canonicalise the number as early as possible.
1 Like
sorvani
(Jared Busch)
September 20, 2021, 3:21pm
#4
The separate pattern as mentioned by @lgaetz should actually be a +
in the prefix and leave the X.
in the match. in order to canonicalise the number as mentioned by @david55 .
Basically your outbound routes should be designed to get all of your numbers into a single standardized format before it is passed to the trunk(s).
robertkwild
(robert wild)
September 20, 2021, 5:00pm
#5
so instead of two lines, i can do it all on one line ie
prefix=+
mtach pattern=X.
as atm i have two match patterns
+X.
X.
system
(system)
closed
October 21, 2021, 5:00pm
#6
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.