cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
416
Views
0
Helpful
4
Replies

How to right correctly this destination pattern?

SludnevTN_2
Level 1
Level 1

My mobile operator have the folowing number range in it's dialplan:

+7950 start 0500000

+7950 end 1499999

The problem is that i can not right the destination pattern in this way:

destination-pattern 7950[05-14].....

Is there any way to solve this problem without dividing this dial-peer in to multiple dial-peers?

Thank you.

4 Replies 4

gogasca
Level 10
Level 10

Just one dial-peer

7959[01]...... should work or

First digit we know it must be 0 or 1

Second digit can be any digit from 0 to 9, same for the rest

The problem is that we have a range from

05 to 14.

destination-pattern 7950[01].....?

Yep you can add $ at the end

Thank you.

But there is another broblem. and I will explain it this in 3 hours, if you don't mind. I have to run now, thank you anyway