On Mon, 2009-06-22 at 08:51 +0200, Andrew Nowrot wrote:
> Hi
>
> I am having a problem with extension matching in asterisk (I am using
> asterisk 1.6.0.6). Is there a difference between extensions matching
> in realtime architecture and extensions matching in extensions.conf
> file.
>
> For example when I have these two extensions:
>
> -- _0699[134]XXXXX
> -- _06[069]XXXXXXX
>
> that are in the database and number 0699123123 comes in asterisk will
> always choose exten _06[069]XXXXXXX
> and when they are in the extensions.conf file asterisk always choose
> exten _0699[134]XXXXX.
>
> My question is why? Is it my misconfiguration or that's how it works.
>
It probably has to do with the way your database is sorting the
dialplan. In extensions.conf you have complete control over the order
of the dialplan, in realtime the database sorts the dialplan depending
on the query so one rule may appear before another.-- Telecomunicaciones Abiertas de México S.A. de C.V. Carlos Chávez Prats Director de Tecnología +52-55-91169161 ext 2001
signature.asc
Description: This is a digitally signed message part
_______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
