Sorry for the reply so quick,<div>I should mention I&#39;m running on 10.9.0</div><div><br><div class="gmail_quote">On Tue, Oct 23, 2012 at 3:15 PM, Cody Harris <span dir="ltr">&lt;<a href="mailto:qbasicer@gmail.com" target="_blank">qbasicer@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">l can&#39;t see to get the Lua extension matching to work:<div><br></div><div><div>[Oct 23 19:13:12] NOTICE[4288]: chan_sip.c:23577 handle_request_invite: Call from &#39;user&#39; (XXX.XXX.XXX.XXX:33962) to extension &#39;107&#39; rejected because extension not found in context &#39;luaentry&#39;.</div>

</div><div><br></div><div><div>extensions = {}</div><div>extensions.luaentry = {}</div><div>extensions.luaentry[&quot;_NXX&quot;] =   function(c,e)</div><div>                                        return app.goto(&quot;ael-dial-exten&quot;, e, 1);</div>

<div>                                end</div></div><div><br></div><div><br></div><div>Shouldn&#39;t _NXX match 107?</div><div><br></div><div>I also tried:</div><div><br></div><div><div>extensions = {</div><div>      [&quot;luaentry&quot;] = {</div>

<div>              [&quot;NXX&quot;] = function(c,e)</div><div>                      app.verbose(&quot;Redirecting to internal extension&quot;)</div><div>                      return app.goto(&quot;ael-dial-exten&quot;, e, 1);</div>

<div>              end;</div><div>              [&quot;_1NXXNXXXXXX&quot;] = function(c,e)</div><div>                      internalDialOut(e)</div><div>              end;</div><div>              [&quot;_NXXNXXXXXX&quot;] = function(c,e)</div>

<div>                      internalDialOut(&quot;1&quot;..e)</div><div>              end;</div><div>              i = function()</div><div>                      app.playback(&quot;invalid&quot;)</div><div>                      app.hangup()</div>

<div>              end;</div><div>      };</div><div>};</div></div><div><br></div><div>And that didn&#39;t work either.</div><div><br></div><div>Any tips or tricks?</div><div><br></div><div>My users.conf looks like:</div>

<div><br></div><div><div>[503]</div><div>fullname = Cody Harris</div><div>email = <a href="mailto:qbasicer@gmail.com" target="_blank">qbasicer@gmail.com</a></div><div>secret = XXXXXX</div><div>vmsecret = XXXX</div><div>context = luaentry</div>

<div>hasvoicemail = yes</div><div>callwaiting = yes</div><div>hasip = yes</div><div>qualify=yes</div><div>nat=yes</div><div>host=dynamic</div><div>canreinvite=no</div></div><div><br></div>
</blockquote></div><br></div>