Module: kamailio
Branch: master
Commit: acf0432cafdaa4b464f1069996e46d54ab0c22e4
URL:
https://github.com/kamailio/kamailio/commit/acf0432cafdaa4b464f1069996e46d5…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-08-26T13:56:59+02:00
registrar: propagate value of case_sensitive for aor to core
---
Modified: modules/registrar/reg_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/acf0432cafdaa4b464f1069996e46d5…
Patch:
https://github.com/kamailio/kamailio/commit/acf0432cafdaa4b464f1069996e46d5…
---
diff --git a/modules/registrar/reg_mod.c b/modules/registrar/reg_mod.c
index 7a57cb6..98b136b 100644
--- a/modules/registrar/reg_mod.c
+++ b/modules/registrar/reg_mod.c
@@ -41,6 +41,7 @@
#include "../../error.h"
#include "../../socket_info.h"
#include "../../pvar.h"
+#include "../../dset.h"
#include "../../modules/usrloc/usrloc.h"
#include "../../lib/kcore/statistics.h"
#include "../../lib/srutils/sruid.h"
@@ -386,6 +387,8 @@ static int mod_init(void)
sock_flag = (sock_flag!=-1)?(1<<sock_flag):0;
tcp_persistent_flag = (tcp_persistent_flag!=-1)?(1<<tcp_persistent_flag):0;
+ set_aor_case_sensitive(cfg_get(registrar, registrar_cfg, case_sensitive));
+
return 0;
}