Displaying 2 results from an estimated 2 matches for "can_match".
2003 Jul 04
3
switch => priority in the dialplan.. (probably an issue for Mark)
Hi,
It seems that the "switch" parameter has a priority in the dialplan that is higher than the wildcard extensions.. This I am finding to be a problem..
My setup..
UA1--[AST1]--{IAX}--[AST2]--UA2
| |
PSTN1 PSTN2
I use switch on AST1 to connect to AST2... As you can see I have PSTN connections on both and also the IAX connection is not permanent..
I
2003 Oct 17
3
Switch statement taking over my local dialplan
I have two Asterisk servers, one of which uses a
switch statement (Server 2).
On Server 2, the dialplan is as follows:
[provider]
switch...
[default]
include=>provider
exten=>451,1,Dial,Zap/1
...
(No extensions defined for Server 2 are "can_match"
(eg. exten=>_9XX...))
The problem is that when I pick up a phone and dial
451, it searches Server 1 before using the extension
defined in the default context.
Is there a way to set Asterisk up to search the local
dialplan before checking the switched server?
- Thank you for your time....