Module: kamailio
Branch: master
Commit: e319a22f80d425f39611857fddc1e948e76ebe87
URL:
https://github.com/kamailio/kamailio/commit/e319a22f80d425f39611857fddc1e94…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-08-26T13:56:59+02:00
usrloc: take in consideration aor case sensitive value for rpc commands
- reported by GH#264
---
Modified: modules/usrloc/ul_rpc.c
---
Diff:
https://github.com/kamailio/kamailio/commit/e319a22f80d425f39611857fddc1e94…
Patch:
https://github.com/kamailio/kamailio/commit/e319a22f80d425f39611857fddc1e94…
---
diff --git a/modules/usrloc/ul_rpc.c b/modules/usrloc/ul_rpc.c
index c4e234e..e547c21 100644
--- a/modules/usrloc/ul_rpc.c
+++ b/modules/usrloc/ul_rpc.c
@@ -18,6 +18,7 @@
#include "../../ip_addr.h"
#include "../../dprint.h"
+#include "../../dset.h"
#include "../../lib/srutils/sruid.h"
#include "ul_rpc.h"
@@ -321,7 +322,8 @@ static inline int rpc_fix_aor(str *aor)
if (p)
aor->len = p - aor->s;
}
- strlower(aor);
+ if(!get_aor_case_sensitive())
+ strlower(aor);
return 0;
}