[asterisk-dev] new priority of pattern matching in 1.4. Does it makes sense?

Tzafrir Cohen tzafrir.cohen at xorcom.com
Fri Feb 22 11:06:07 CST 2008


On Fri, Feb 22, 2008 at 10:58:15AM -0500, Jared Smith wrote:
> On Fri, 2008-02-22 at 18:40 +0200, Tzafrir Cohen wrote:
> > But this optimization is useful only for exact matches, right?
> > If there's no exact match, you have to search all the included contexts.
> 
> No, this is a common misconception.  If Asterisk finds *any* match in a
> context, it won't follow any more include statements.

How can it tell there's no exact match in the next included context?

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-dev mailing list