Do you need separate outbound routes for different call lengths?

Status
Not open for further replies.

AIC2000

Member
Feb 15, 2018
162
3
18
34
At the moment, we have outbound routes set like this:


Code:
^9(\d{3})$
^9(\d{10})$
^9(\d{11})$
^9(\d{12})$

Which covers international, national, shorter and emergency numbers.

Is it possible to do an | or 'or' symbol within these dial plans to just 'allow' any of these combinations? I know you can do any amount of numbers, but if you want to do it on an 'allow only' basis, do you have to create the multiple separate routes?

Thanks!
 

AIC2000

Member
Feb 15, 2018
162
3
18
34
Commas didn't work - but your first solution seems to be! What do you do in this scenario?
 

AIC2000

Member
Feb 15, 2018
162
3
18
34
Code:
^9(\d{3,11})$

That got it - now any numbers between 3 and 11 digits will be allowed (don't want to automatically allow international!)
 
Status
Not open for further replies.