[Asterisk-Users] Switch statement taking over my local dialplan
jerk face
jerkface2098 at yahoo.com
Fri Oct 17 07:44:46 MST 2003
I have tried all of that.
I have found that the order of includes don't matter
at all. Regardless of where they are placed, I have
to wait for Asterisk to check the other server for the
extension before dialing the local one.
--- Florian Overkamp <florian at obsimref.com> wrote:
> 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/)
>
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
>
http://lists.digium.com/mailman/listinfo/asterisk-users
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
More information about the asterisk-users
mailing list