l can't see to get the Lua extension matching to work:
[Oct 23 19:13:12] NOTICE[4288]: chan_sip.c:23577 handle_request_invite:
Call from 'user' (XXX.XXX.XXX.XXX:33962) to extension '107' rejected
because extension not found in context 'luaentry'.
extensions = {}
extensions.luaentry = {}
Sorry for the reply so quick,
I should mention I'm running on 10.9.0
On Tue, Oct 23, 2012 at 3:15 PM, Cody Harris qbasi...@gmail.com wrote:
l can't see to get the Lua extension matching to work:
[Oct 23 19:13:12] NOTICE[4288]: chan_sip.c:23577 handle_request_invite:
Call from 'user'
: [asterisk-users] Can't get Lua Pattern Matching to work
Sorry for the reply so quick,
I should mention I'm running on 10.9.0
On Tue, Oct 23, 2012 at 3:15 PM, Cody Harris qbasi...@gmail.com wrote:
l can't see to get the Lua extension matching to work:
[Oct 23 19:13:12] NOTICE[4288
[mailto:
asterisk-users-boun...@lists.digium.com] *On Behalf Of *Cody Harris
*Sent:* Tuesday, October 23, 2012 2:17 PM
*To:* asterisk-users@lists.digium.com
*Subject:* Re: [asterisk-users] Can't get Lua Pattern Matching to work
Shouldn't _NXX match 107?**
**
--
**
-Chris Harrington
l can't see to get the Lua extension matching to work:
[Oct 23 19:13:12] NOTICE[4288]: chan_sip.c:23577
handle_request_invite: Call from 'user' (XXX.XXX.XXX.XXX:33962) to
extension '107' rejected because extension not found in context
'luaentry'.
extensions = {}
: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 da...@debsinc.com wrote:
_NXX is only going to match a 3 digit number. I think you need _NXX. For this
case
On Tue, Oct 23, 2012 at 2:34 PM, Danny Nicholas da...@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.
Ah great, thanks guys for the help!
I have it working now!
On Tue, Oct 23, 2012 at 3:37 PM, Christopher Harrington ch...@acsdi.comwrote:
On Tue, Oct 23, 2012 at 2:34 PM, Danny Nicholas da...@debsinc.com wrote:
Nope – see page 138 of the Asterisk manual – N matches 2-9 and X matches
0-9 so