Module: kamailio Branch: master Commit: b4f0b373654a6f5ed4123e868e8f14d980a006c3 URL: https://github.com/kamailio/kamailio/commit/b4f0b373654a6f5ed4123e868e8f14d9...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2020-07-09T15:23:18+02:00
dlgs: adjusted the route blocks allowed for exported functions
---
Modified: src/modules/dlgs/dlgs_mod.c
---
Diff: https://github.com/kamailio/kamailio/commit/b4f0b373654a6f5ed4123e868e8f14d9... Patch: https://github.com/kamailio/kamailio/commit/b4f0b373654a6f5ed4123e868e8f14d9...
---
diff --git a/src/modules/dlgs/dlgs_mod.c b/src/modules/dlgs/dlgs_mod.c index c0e7feed9d..e26e0d9899 100644 --- a/src/modules/dlgs/dlgs_mod.c +++ b/src/modules/dlgs/dlgs_mod.c @@ -65,11 +65,11 @@ static int dlgs_sip_reply_out(sr_event_param_t *evp); /* clang-format off */ static cmd_export_t cmds[]={ {"dlgs_init", (cmd_function)w_dlgs_init, 3, fixup_spve_all, - fixup_free_spve_all, REQUEST_ROUTE|BRANCH_ROUTE|ONSEND_ROUTE}, + fixup_free_spve_all, REQUEST_ROUTE|BRANCH_ROUTE|ONREPLY_ROUTE|ONSEND_ROUTE}, {"dlgs_update", (cmd_function)w_dlgs_update, 0, 0, 0, REQUEST_ROUTE|BRANCH_ROUTE|ONSEND_ROUTE}, {"dlgs_count", (cmd_function)w_dlgs_count, 3, fixup_spve_all, - fixup_free_spve_all, REQUEST_ROUTE|BRANCH_ROUTE|ONSEND_ROUTE}, + fixup_free_spve_all, ANY_ROUTE}, {"dlgs_tags_add", (cmd_function)w_dlgs_tags_add, 1, fixup_spve_null, fixup_spve_null, ANY_ROUTE}, {"dlgs_tags_rm", (cmd_function)w_dlgs_tags_rm, 1, fixup_spve_null,