Nope – see page 138 of the Asterisk manual – N matches 2-9 and X matches 0-9 so 
the N excludes numbers starting with 0 or 1.

 

From: [email protected] 
[mailto:[email protected]] On Behalf Of Christopher 
Harrington
Sent: Tuesday, October 23, 2012 2:31 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Can't get Lua Pattern Matching to work

 

On Tue, Oct 23, 2012 at 2:18 PM, Danny Nicholas <[email protected]> wrote:

_NXX is only going to match a 3 digit number.  I think you need _NXX.  For this 
case.

Wouldn't _NXX match 107? That's what he's saying isn't working.

 

 

From: [email protected] 
[mailto:[email protected]] On Behalf Of Cody Harris
Sent: Tuesday, October 23, 2012 2:17 PM
To: [email protected]
Subject: Re: [asterisk-users] Can't get Lua Pattern Matching to work

 

Shouldn't _NXX match 107?

 

 

-- 

-Chris Harrington

ACSDi Office: 763.559.5800

Mobile Phone: 612.326.4248

 

 

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

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

Reply via email to