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

Cody Harris qbasicer at gmail.com
Tue Oct 23 16:07:54 CDT 2012


Ah great, thanks guys for the help!

I have it working now!

On Tue, Oct 23, 2012 at 3:37 PM, Christopher Harrington <chris at acsdi.com>wrote:

> On Tue, Oct 23, 2012 at 2:34 PM, Danny Nicholas <danny at debsinc.com> wrote:
>
>> 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.****
>>
>> **
>>
> Ah, sorry, I was thrown off by you suggesting _NXX. which wouldn't have
> matched either. So Cody needs _ZXX as the pattern.
>
>
>>  **
>>
>> 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.****
>>
>>
>> --
> -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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20121023/c66e7a15/attachment.htm>


More information about the asterisk-users mailing list