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

Florian Overkamp florian at obsimref.com
Fri Oct 17 07:07:44 MST 2003


Hi,

At 06:50 17-10-2003 -0700, you wrote:
>[provider]
>switch...
>
>[default]
>include=>provider
>exten=>451,1,Dial,Zap/1
>...



>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?


Have you tried

[default]
exten=>451,1,Dial,Zap/1
include=provider

??

Or maybe even:

[extensions]
exten=>451,1,Dial,Zap/1

[default]
include=extensions
include=provider


With the includes order seems to matter :)




Met vriendelijke groet,
Florian Overkamp
ObSimRef BV (http://www.obsimref.com/) 





More information about the asterisk-users mailing list