From 65136e5df6926c7757b52da79eae9ecef26235e1 Mon Sep 17 00:00:00 2001 From: Bastian Triller Date: Thu, 31 Oct 2019 12:29:05 +0100 Subject: [PATCH] topos: fix event_mode parameter type (GH #2115) (cherry picked from commit d9c603d3fcc93a3a160a03e7e3c5500d744957db) --- src/modules/topos/topos_mod.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/topos/topos_mod.c b/src/modules/topos/topos_mod.c index 942c545d587..fa70d06bb92 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} };