[sr-dev] git:master:d9c603d3: topos: fix event_mode parameter type (GH #2115)

Henning Westerholt hw at skalatan.de
Thu Oct 31 12:32:57 CET 2019


Module: kamailio
Branch: master
Commit: d9c603d3fcc93a3a160a03e7e3c5500d744957db
URL: https://github.com/kamailio/kamailio/commit/d9c603d3fcc93a3a160a03e7e3c5500d744957db

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

topos: fix event_mode parameter type (GH #2115)

---

Modified: src/modules/topos/topos_mod.c

---

Diff:  https://github.com/kamailio/kamailio/commit/d9c603d3fcc93a3a160a03e7e3c5500d744957db.diff
Patch: https://github.com/kamailio/kamailio/commit/d9c603d3fcc93a3a160a03e7e3c5500d744957db.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