tags:

views:

70

answers:

2

Hello,

im my dialplan, i want to know when a 7 digit number was dialed by the user. But, the dialplan already contains an extension _X. , which would override the seven digit number check. So,can someone please tell me the right extension to use to match a seven digit number dialed by the user considering the dial plan already contains _X. .

Thank You.

A: 

7 should never override _X. because patterns are always checked after non-patterns. See voip-info.org for more details.

Bombe
im not matching for a number 7 but a seven digit number, so i used _XXXXXXX , which i think is a pattern to match a seven digit number, correct me if im wrong. So, _X. which means any digit from 0 to 9 followed by any number of digits would override _XXXXXXX . So, is there a way to prevent that from happening ?
A: 

Is this a duplicate of your question here? If so please see my answer to that question.

paracycle