[asterisk-dev] extension.conf and dialplan sort logic

Anton anton.vazir at gmail.com
Sun Apr 9 12:45:28 MST 2006


Guys,

Just discovered that extension logic of Asterisk is 
different than in most other applications in telephony 
world, so Asterisk is sorting extensions in a manner of 
shortest-first

so _. will have higher priority than _123.
Though it's manageable by splitting contextes, but it makes 
creation of dialplan less comfortable, you always need to 
create more contexts.

Why not make a config option like 
sortorder => type1 for current sorting logic
and 
sortorder => type2 
for logic of sorting extensions of "longest-first"

Regards,
Anton.



More information about the asterisk-dev mailing list