[Asterisk-Users] Fast question on extension matching

James H. Cloos Jr. cloos at jhcloos.com
Fri Feb 6 17:26:37 MST 2004


>>>>> "T" == T Chan <tommy.chan at utimail.com> writes:

T> if I configure that way, even 01163 calls will all go to the second
T> IP address as per 011.,1,Application(). If I take out the 011.,
T> then calls WILL go to 01163., if I put the two together it will
T> always go to 011. extension.

The list archives have a lot to say about this.  You need to create a
context for each option and include them into the main context in the
order you want them matched.

So, include the context that matches _01163. before the context that
matches _011. to get the ordering you want.

But take a look at the archives for details.

-JimC




More information about the asterisk-users mailing list