Make extension matching non case sensitive. So 'T' and 't' are

different extensions (bug 1327)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2706 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
James Golovich 2004-04-18 05:50:55 +00:00
parent e7f819bed1
commit 295ce9fc8d
1 changed files with 1 additions and 1 deletions

2
pbx.c
View File

@ -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;