diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-06-06 19:55:08 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-06-06 19:55:08 +0000 |
commit | 9229799e604b47d7ee304683ff1ee8fe5e79249d (patch) | |
tree | 2f659e033d5ba15205b2df2d4a1de4553b61df20 /main | |
parent | 8b857c9a9933451e1211dfa3a45247c98eca9eb3 (diff) |
Make extension match characters case-insensitive.
(closes issue #12777)
Reported by: jsmith
Patches:
lower_case_patterns-trunk-v1.patch uploaded by jsmith (license 15)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@121010 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-rw-r--r-- | main/pbx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/pbx.c b/main/pbx.c index 343ed85df..8f6fb83ff 100644 --- a/main/pbx.c +++ b/main/pbx.c @@ -1483,7 +1483,7 @@ static int ext_cmp1(const char **p) ; /* ignore some characters */ /* always return unless we have a set of chars */ - switch (c) { + switch (toupper(c)) { default: /* ordinary character */ return 0x0000 | (c & 0xff); |