Browse code

topos: fix event_mode parameter type (GH #2115)

Bastian Triller authored on 31/10/2019 11:29:05 • Henning Westerholt committed on 31/10/2019 11:29:05
Showing 1 changed files
... ...
@@ -121,15 +121,15 @@ static cmd_export_t cmds[]={
121 121
 };
122 122
 
123 123
 static param_export_t params[]={
124
-	{"storage",			PARAM_STR, &_tps_storage},
125
-	{"db_url",			PARAM_STR, &_tps_db_url},
124
+	{"storage",		PARAM_STR, &_tps_storage},
125
+	{"db_url",		PARAM_STR, &_tps_db_url},
126 126
 	{"mask_callid",		PARAM_INT, &_tps_param_mask_callid},
127 127
 	{"sanity_checks",	PARAM_INT, &_tps_sanity_checks},
128 128
 	{"branch_expire",	PARAM_INT, &_tps_branch_expire},
129 129
 	{"dialog_expire",	PARAM_INT, &_tps_dialog_expire},
130 130
 	{"clean_interval",	PARAM_INT, &_tps_clean_interval},
131 131
 	{"event_callback",	PARAM_STR, &_tps_eventrt_callback},
132
-	{"event_mode",		PARAM_STR, &_tps_eventrt_mode},
132
+	{"event_mode",		PARAM_INT, &_tps_eventrt_mode},
133 133
 	{"contact_host",	PARAM_STR, &_tps_contact_host},
134 134
 	{0,0,0}
135 135
 };