[sr-dev] git:5.3:65136e5d: topos: fix event_mode parameter type (GH #2115)

Henning Westerholt hw at skalatan.de
Thu Oct 31 12:35:33 CET 2019


Module: kamailio
Branch: 5.3
Commit: 65136e5df6926c7757b52da79eae9ecef26235e1
URL: https://github.com/kamailio/kamailio/commit/65136e5df6926c7757b52da79eae9ecef26235e1

Author: Bastian Triller <bastian.triller at gmail.com>
Committer: Henning Westerholt <hw at skalatan.de>
Date: 2019-10-31T12:34:58+01:00

topos: fix event_mode parameter type (GH #2115)

(cherry picked from commit d9c603d3fcc93a3a160a03e7e3c5500d744957db)

---

Modified: src/modules/topos/topos_mod.c

---

Diff:  https://github.com/kamailio/kamailio/commit/65136e5df6926c7757b52da79eae9ecef26235e1.diff
Patch: https://github.com/kamailio/kamailio/commit/65136e5df6926c7757b52da79eae9ecef26235e1.patch

---

diff --git a/src/modules/topos/topos_mod.c b/src/modules/topos/topos_mod.c
index 942c545d58..fa70d06bb9 100644
--- a/src/modules/topos/topos_mod.c
+++ b/src/modules/topos/topos_mod.c
@@ -121,15 +121,15 @@ static cmd_export_t cmds[]={
 };
 
 static param_export_t params[]={
-	{"storage",			PARAM_STR, &_tps_storage},
-	{"db_url",			PARAM_STR, &_tps_db_url},
+	{"storage",		PARAM_STR, &_tps_storage},
+	{"db_url",		PARAM_STR, &_tps_db_url},
 	{"mask_callid",		PARAM_INT, &_tps_param_mask_callid},
 	{"sanity_checks",	PARAM_INT, &_tps_sanity_checks},
 	{"branch_expire",	PARAM_INT, &_tps_branch_expire},
 	{"dialog_expire",	PARAM_INT, &_tps_dialog_expire},
 	{"clean_interval",	PARAM_INT, &_tps_clean_interval},
 	{"event_callback",	PARAM_STR, &_tps_eventrt_callback},
-	{"event_mode",		PARAM_STR, &_tps_eventrt_mode},
+	{"event_mode",		PARAM_INT, &_tps_eventrt_mode},
 	{"contact_host",	PARAM_STR, &_tps_contact_host},
 	{0,0,0}
 };




More information about the sr-dev mailing list