From b787627819fc93dcc8c68a4950c9760d298ce555 Mon Sep 17 00:00:00 2001 From: Federico Cabiddu Date: Thu, 20 Aug 2020 11:06:56 +0200 Subject: [PATCH] async: fix async_ms_route and export it to kemi --- src/modules/async/async_mod.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/modules/async/async_mod.c b/src/modules/async/async_mod.c index aae3c655008..3415d60224a 100644 --- a/src/modules/async/async_mod.c +++ b/src/modules/async/async_mod.c @@ -404,7 +404,7 @@ static int w_async_ms_route(sip_msg_t *msg, char *rt, char *sec) LM_ERR("no async interval value\n"); return -1; } - return ki_async_route(msg, &rn, s); + return ki_async_ms_route(msg, &rn, s); } /** @@ -505,6 +505,11 @@ static sr_kemi_t sr_kemi_async_exports[] = { { SR_KEMIP_STR, SR_KEMIP_INT, SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE } }, + { str_init("async"), str_init("ms_route"), + SR_KEMIP_INT, ki_async_ms_route, + { SR_KEMIP_STR, SR_KEMIP_INT, SR_KEMIP_NONE, + SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE } + }, { str_init("async"), str_init("task_route"), SR_KEMIP_INT, ki_async_task_route, { SR_KEMIP_STR, SR_KEMIP_NONE, SR_KEMIP_NONE,