[asterisk-users] Pattern matching....

Michael Munger michael at highpoweredhelp.com
Fri Feb 22 06:34:22 CST 2008


That's what I figured, and the way I've always done it. I was just
*hoping* someone knew of a better way that I didn't know about.

Yours,

Michael Munger, dCAP
404-438-2128
michael at highpoweredhelp.com


-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Jared
Smith
Sent: Thursday, February 21, 2008 1:46 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Pattern matching....

On Thu, 2008-02-21 at 13:34 -0500, Mike Trest - Personal wrote:
> [746][704][048]

Nope, that's not going to do exactly what you want either... that
pattern would match a lot of area codes besides the ones you're looking
for.  (For example, you could have 7 as the first digit and 0 as the
second digit and 0 as the third digit.)

You really need to have three separate patters; one for each area code.

-- 
Jared Smith
Community Relations Manager
Digium, Inc.


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





More information about the asterisk-users mailing list