[Asterisk-Dev] Sorting the dialplan

Andrew Thompson andrewkt at aktzero.com
Tue May 24 05:37:39 MST 2005


Daniel Pocock wrote:
> 
> I understand from reading the Wiki that the dialplan is sorted in 
> alphabetical order, so _44. would come before _447. for instance.
> 
> Is there any plans to offer an option that sorts a context by some other 
> means, for instace, by looking for the longest matching prefix, or is 
> there some other way to achieve this?

Have you tried changing the _44. to _44[012345689]. or _44[01-689]. ? Or 
does this break further logic?

-- 
Andrew Thompson
http://aktzero.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: andrewkt.vcf
Type: text/x-vcard
Size: 153 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-dev/attachments/20050524/b7e97bfd/andrewkt.vcf


More information about the asterisk-dev mailing list