[sr-dev] git:master:46f4aaec: Merge pull request #2450 from kamailio/grumvalski/fix_async_ms_route

GitHub noreply at github.com
Thu Aug 20 15:34:08 CEST 2020


Module: kamailio
Branch: master
Commit: 46f4aaecbd95acea4877d072fecf787bd9f65a40
URL: https://github.com/kamailio/kamailio/commit/46f4aaecbd95acea4877d072fecf787bd9f65a40

Author: Federico Cabiddu <federico.cabiddu at gmail.com>
Committer: GitHub <noreply at github.com>
Date: 2020-08-20T15:33:59+02:00

Merge pull request #2450 from kamailio/grumvalski/fix_async_ms_route

async: fix async_ms_route and export it to kemi

---

Modified: src/modules/async/async_mod.c

---

Diff:  https://github.com/kamailio/kamailio/commit/46f4aaecbd95acea4877d072fecf787bd9f65a40.diff
Patch: https://github.com/kamailio/kamailio/commit/46f4aaecbd95acea4877d072fecf787bd9f65a40.patch

---

diff --git a/src/modules/async/async_mod.c b/src/modules/async/async_mod.c
index aae3c65500..3415d60224 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,




More information about the sr-dev mailing list