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

Mark Spencer markster at digium.com
Sun Oct 19 03:36:12 MST 2003


Now it *is* notworthy that even if he finds your "451" it may still check
the other server to see if there is anything else beginning with 451 since
that could allow a "matchmore".

Mark

On Fri, 17 Oct 2003, jerk face wrote:

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