[Asterisk-Users] Switch statement taking over my local dialplan

Mark Spencer markster at digium.com
Sun Oct 19 03:29:49 MST 2003


It should always check your local plan first.  Are you sure it's looking
in default?  Does it work if you do not include => provider?

Mark

On Fri, 17 Oct 2003, jerk face wrote:

> 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.
>
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Shopping - with improved product search
> http://shopping.yahoo.com
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
>




More information about the asterisk-users mailing list