Module: kamailio
Branch: master
Commit: a10d8b133edef697ec3bd40e5babd76dc881b2cb
URL:
https://github.com/kamailio/kamailio/commit/a10d8b133edef697ec3bd40e5babd76…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-09-03T17:34:10+02:00
usrloc: mi commands with aor caseness
- reported in GH#264
---
Modified: modules/usrloc/ul_mi.c
---
Diff:
https://github.com/kamailio/kamailio/commit/a10d8b133edef697ec3bd40e5babd76…
Patch:
https://github.com/kamailio/kamailio/commit/a10d8b133edef697ec3bd40e5babd76…
---
diff --git a/modules/usrloc/ul_mi.c b/modules/usrloc/ul_mi.c
index 561b387..3e158d6 100644
--- a/modules/usrloc/ul_mi.c
+++ b/modules/usrloc/ul_mi.c
@@ -34,6 +34,7 @@
#include "../../ut.h"
#include "../../qvalue.h"
#include "../../ip_addr.h"
+#include "../../dset.h"
#include "ul_mi.h"
#include "dlist.h"
#include "udomain.h"
@@ -111,7 +112,8 @@ static inline int mi_fix_aor(str *aor)
if (p)
aor->len = p - aor->s;
}
- strlower(aor);
+ if(!get_aor_case_sensitive())
+ strlower(aor);
return 0;
}