[Asterisk-Users] Dial Plan

Brian West brian at bkw.org
Thu Nov 27 19:13:57 MST 2003


Yes I recall simlar from the handbook.

bkw

exten => _0119XXXXXXXXX,1,Congestion
exten => _011[0-8]XXXXXXXXX,1,Dial(Somechannel,${EXTEN})

On Thu, 27 Nov 2003, Steven Critchfield wrote:

> On Thu, 2003-11-27 at 19:17, Brian West wrote:
> > exten => _0119.,1,blah
> > exten => _011.,1,blah
> >
> > would that work?
>
> Unless you are in a location that needs to support varying length
> outbound phone numbers, you should really fully define the pattern. This
> will let asterisk know ahead of time how many digits it is expected to
> get from the user before commencing with the dialing.
>
> > On Fri, 28 Nov 2003, Isamar Maia wrote:
> >
> > >
> > > Hi Folks,
> > >
> > > I already know how to make a simple dialplan to specific number pattern.
> > > Now, I need the following:
> > >
> > > Calls to 0119XXXXXXX -> Blocked the calls
> > > Calls to 011XXXXXXXX -> Route the calls
> > >
> > >
> > > How can the first exception be done?
> > >
> > > Isamar
> > >
> > >
> > > _______________________________________________
> > > 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
> --
> Steven Critchfield <critch at basesys.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