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

jerk face jerkface2098 at yahoo.com
Mon Oct 20 07:16:04 MST 2003


That's likely what's happening because it eventually
does make the call (after searching the remote
server).  To get around the problem I just set up an
extension to send outgoing calls to my other server.

- Jerkface


--- Mark Spencer <markster at digium.com> wrote:
> 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
> >
> 
> _______________________________________________
> 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