[asterisk-users] Can't get Lua Pattern Matching to work

Danny Nicholas danny at debsinc.com
Tue Oct 23 14:34:25 CDT 2012


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: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] 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 <danny at debsinc.com> 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: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Cody Harris
Sent: Tuesday, October 23, 2012 2:17 PM
To: asterisk-users at lists.digium.com
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

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20121023/1990a2ab/attachment.htm>


More information about the asterisk-users mailing list