In article <[EMAIL PROTECTED]>, Eric Wieling <[EMAIL PROTECTED]> wrote:
> No that will not work.  You would want three exten => lines, one for 
> each area code.

And if you have a lot of common dialplan that you don't want to duplicate
between the three extension patterns, put the common stuff up at a higher
priority and use Goto to get there:

exten => _404NXXXXXX,1,Goto(200)
exten => _770NXXXXXX,1,Goto(200)
exten => _678NXXXXXX,1,Goto(200)

exten => _NXXNXXXXXX,200,NoOp(Start of common instructions)
exten => _NXXNXXXXXX,n,etc....

Cheers
Tony

> Michael Munger wrote:
> > Will this work to match any number from the 770,404, or 678 area codes? 
> > 
> >  
> > 
> > _[404|770|678]NXXXXXX
> > 
> >  
> > 
> > If this won't work, is there a pattern that will do this?
> > 
> >  
> > 
> > Yours,
> > 
> > Michael Munger, dCAP
> > 
> > 404-438-2128
> > 
> > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 
> > 
> >  
> > 
> > Attachment encrypted? click here
> > <http://www.highpoweredhelp.com/tutorials/wincrypt/> .
> > 
> >  
> > 
> > 
> > 
> > 
> > ------------------------------------------------------------------------
> > 
> > _______________________________________________
> > -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> > 
> > asterisk-users mailing list
> > To UNSUBSCRIBE or update options visit:
> >    http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> -- 
> Consulting for Asterisk, Polycom, Sangoma, Digium, Cisco, LAN, WAN, QoS, 
> T-1, PRI, Frame Relay, Linux, and network design.  Based near 
> Birmingham, AL.  Now accepting clients worldwide.
> 
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 


-- 
Tony Mountifield
Work: [EMAIL PROTECTED] - http://www.softins.co.uk
Play: [EMAIL PROTECTED] - http://tony.mountifield.org

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to