[asterisk-users] Asterisk not matching longest prefix with include

Dovid Bender dovid at telecurve.com
Tue Jun 26 18:51:35 CDT 2018


On Tue, Jun 26, 2018 at 7:40 PM, Joshua Colp <jcolp at digium.com> wrote:

> On Tue, Jun 26, 2018, at 8:31 PM, Dovid Bender wrote:
> > On Tue, Jun 26, 2018 at 7:28 PM, Doug Lytle <support at drdos.info> wrote:
> >
> > > On 06/26/2018 07:20 PM, Dovid Bender wrote:
> > >
> > > Doug,
> > >
> > > I tried that as well. Even with my dialplan looking like this:
> > >
> > >
> > >
> > > Ordering by includes works for me under Asterisk 11 and 13
>
> The context always takes priority over includes. Includes are only
> examined if there are no matches in the current context. It's always worked
> this way. Ordering includes as such is one way to control that. As it is
> the matching is working as expected.
>
> --
>

Thanks Josh.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20180626/97d42bf2/attachment.html>


More information about the asterisk-users mailing list