Browse code

usrloc: mi commands with aor caseness

- reported in GH#264

Daniel-Constantin Mierla authored on 03/09/2015 15:34:10
Showing 1 changed files
... ...
@@ -34,6 +34,7 @@
34 34
 #include "../../ut.h"
35 35
 #include "../../qvalue.h"
36 36
 #include "../../ip_addr.h"
37
+#include "../../dset.h"
37 38
 #include "ul_mi.h"
38 39
 #include "dlist.h"
39 40
 #include "udomain.h"
... ...
@@ -111,7 +112,8 @@ static inline int mi_fix_aor(str *aor)
111 111
 		if (p)
112 112
 			aor->len = p - aor->s;
113 113
 	}
114
-	strlower(aor);
114
+	if(!get_aor_case_sensitive())
115
+		strlower(aor);
115 116
 
116 117
 	return 0;
117 118
 }