[asterisk-users] Match a Numer - then continue with dialplan

Douglas Garstang dgarstang at oneeighty.com
Wed Dec 20 08:15:45 MST 2006


> -----Original Message-----
> From: Tzafrir Cohen [mailto:tzafrir.cohen at xorcom.com]
> Sent: Tuesday, December 19, 2006 10:18 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [asterisk-users] Match a Numer - then continue with
> dialplan
> 
> 
> On Tue, Dec 19, 2006 at 05:19:57PM -0700, Douglas Garstang wrote:
> > > -----Original Message-----
> > > From: Watkins, Bradley [mailto:Bradley.Watkins at compuware.com]
> > > Sent: Tuesday, December 19, 2006 4:16 PM
> > > To: Asterisk Users Mailing List - Non-Commercial Discussion
> > > Subject: RE: [asterisk-users] Match a Numer - then continue with
> > > dialplan
> > > 
> > > 
> > > Please correct me if I'm misunderstanding your 
> requirements, but see
> > > below (inline) for what I would do: 
> > > 
> > > > -----Original Message-----
> > [snip]
> > > > 
> > > > [coo1_CallStart]
> > > > include => coo1_OnNet
> > > > include => syst_OnNet
> > > > include => syst_OffNet
> > > 
> > > Instead of including your system-wide logic for offnet calling,
> > > introduce a per-company offnet and include that instead:
> > > 
> > > [coo1_CallStart]
> > >  include => coo1_OnNet
> > >  include => syst_OnNet
> > >  include => coo1_OffNet 
> > > 
> > > [coo1_OffNet]
> > > 
> > > exten => _X.,1,Set(CALLERID(NUM)=3254000)
> > > exten => _X.,2,Set(CALLERID(NUM)=Widgets Inc.)
> > > exten => _X.,3,Goto(syst_OffNet,${EXTEN},1)
> > 
> > Bradley, If I do this, then I can no longer continue with further 
> > extensions in my dialplan as Asterisk has already matched a number. 
> 
> An explicit WaitExten?

No.... I don't want the user to have to enter another number. Processing should continue with the original number dialled.

*sigh*

Doug.


More information about the asterisk-users mailing list