]> git.ipfire.org Git - thirdparty/asterisk.git/commit
It turns out that the 0x0XX00 codes being returned for
authorSteve Murphy <murf@digium.com>
Wed, 12 Nov 2008 19:36:16 +0000 (19:36 +0000)
committerSteve Murphy <murf@digium.com>
Wed, 12 Nov 2008 19:36:16 +0000 (19:36 +0000)
commit3557bc1b4d6bae333000589745dcf44cfaa48d7a
treef831f4c46f1e451420072b1f6414f1ae64f6afd7
parent7e353eeaa1a4b0b7b6ab54df9b59a5df453e745b
It turns out that the 0x0XX00 codes being returned for
N, X, and Z are off by one, as per conversation with
jsmith on #asterisk-dev;  he was teaching a class
and disconcerted that this published rule was not
being followed, with patterns _NXX, _[1-8]22 and
_[2-9]22... and NXX was winning, but [1-8] should
have been.

This change, tested on these 3 patterns now
picks the proper one.

However, this change may surprise users who
set up dialplans based on previous behavior,
which has been there for what, 2 and half
years or so now.

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