[sr-dev] git:master:e319a22f: usrloc: take in consideration aor case sensitive value for rpc commands
Daniel-Constantin Mierla
miconda at gmail.com
Wed Aug 26 13:57:19 CEST 2015
Module: kamailio
Branch: master
Commit: e319a22f80d425f39611857fddc1e948e76ebe87
URL: https://github.com/kamailio/kamailio/commit/e319a22f80d425f39611857fddc1e948e76ebe87
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at 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/e319a22f80d425f39611857fddc1e948e76ebe87.diff
Patch: https://github.com/kamailio/kamailio/commit/e319a22f80d425f39611857fddc1e948e76ebe87.patch
---
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;
}
More information about the sr-dev
mailing list