Browse code

dlgs: adjusted the route blocks allowed for exported functions

Daniel-Constantin Mierla authored on 09/07/2020 13:23:18
Showing 1 changed files
... ...
@@ -65,11 +65,11 @@ static int dlgs_sip_reply_out(sr_event_param_t *evp);
65 65
 /* clang-format off */
66 66
 static cmd_export_t cmds[]={
67 67
 	{"dlgs_init", (cmd_function)w_dlgs_init, 3, fixup_spve_all,
68
-		fixup_free_spve_all, REQUEST_ROUTE|BRANCH_ROUTE|ONSEND_ROUTE},
68
+		fixup_free_spve_all, REQUEST_ROUTE|BRANCH_ROUTE|ONREPLY_ROUTE|ONSEND_ROUTE},
69 69
 	{"dlgs_update", (cmd_function)w_dlgs_update, 0, 0,
70 70
 		0, REQUEST_ROUTE|BRANCH_ROUTE|ONSEND_ROUTE},
71 71
 	{"dlgs_count", (cmd_function)w_dlgs_count, 3, fixup_spve_all,
72
-		fixup_free_spve_all, REQUEST_ROUTE|BRANCH_ROUTE|ONSEND_ROUTE},
72
+		fixup_free_spve_all, ANY_ROUTE},
73 73
 	{"dlgs_tags_add", (cmd_function)w_dlgs_tags_add, 1, fixup_spve_null,
74 74
 		fixup_spve_null, ANY_ROUTE},
75 75
 	{"dlgs_tags_rm", (cmd_function)w_dlgs_tags_rm, 1, fixup_spve_null,