(closes issue #12298)
authorSteve Murphy <murf@digium.com>
Tue, 1 Apr 2008 20:02:19 +0000 (20:02 +0000)
committerSteve Murphy <murf@digium.com>
Tue, 1 Apr 2008 20:02:19 +0000 (20:02 +0000)
commit2fb0bfba352f60e32448e2ae1932e7a439ae623e
tree693849024de7e9ff1fe9256f2b21c7007f6863fc
parenta734470a2bf1883afc8e08c1c4ebad59c316b80e
(closes issue #12298)
Reported by: falves11
Patches:
      12298.patch1 uploaded by murf (license 17)
Tested by: murf

I have hopes that the changes made over the last few days will
finalize and solidify this code. While there are bound to be
small tweaks still needed, I feel that the job (at last) is
somewhat completed. Finally, I had a chance to comprehend how
the scoring of extension patterns was done in the previous
version, and I've come very close to using the exact same
criteria in the new pattern matching code. The left-right
sorting is now replicated in the trie structure itself, such
that the first match found will the 'best' match. Compared
the results against 1.4 for several extensions. Replicated
falves11's setup and it works. Used some devious patterns
provided by jsmith, supplemented with a few of my own.
Looks good.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@112289 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/pbx.c