[asterisk-users] Realtime extensions

Carlos Chavez cursor at telecomabmex.com
Mon Jun 22 11:16:30 CDT 2009


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20090622/790a1014/attachment.pgp 


More information about the asterisk-users mailing list