aboutsummaryrefslogtreecommitdiffstats
path: root/pbx.c
diff options
context:
space:
mode:
authorcitats <citats@f38db490-d61c-443f-a65b-d21fe96a405b>2004-04-18 05:50:55 +0000
committercitats <citats@f38db490-d61c-443f-a65b-d21fe96a405b>2004-04-18 05:50:55 +0000
commit4f6b05fd62abf7242239a04341802465b2097d2b (patch)
treee6f1c96537568e30eef269b93bf9d838e1d3ead0 /pbx.c
parent7ec4d0f77b2bdd23b0c6cc3cd38659fa72deeaa8 (diff)
Make extension matching non case sensitive. So 'T' and 't' are
different extensions (bug 1327) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2706 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx.c')
-rwxr-xr-xpbx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbx.c b/pbx.c
index cb7c6446b..e78fc2afb 100755
--- 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;