]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Make extension matching non case sensitive. So 'T' and 't' are
authorJames Golovich <james@gnuinter.net>
Sun, 18 Apr 2004 05:50:55 +0000 (05:50 +0000)
committerJames Golovich <james@gnuinter.net>
Sun, 18 Apr 2004 05:50:55 +0000 (05:50 +0000)
different extensions (bug 1327)

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

pbx.c

diff --git a/pbx.c b/pbx.c
index cb7c6446bbf1d6cfed04b9147158635130aff3ff..e78fc2afb7cd2513d91bad3b607c3ef74d421c93 100755 (executable)
--- a/pbx.c
+++ b/pbx.c
@@ -3682,7 +3682,7 @@ int ast_add_extension2(struct ast_context *con,
        }
        e = con->root;
        while(e) {
-               res= strcasecmp(e->exten, extension);
+               res= strcmp(e->exten, extension);
                if (!res) {
                        if (!e->matchcid && !tmp->matchcid)
                                res = 0;