[sr-dev] git:master:95bf86dc: siprepo: updates to kemi exports signatures

Daniel-Constantin Mierla miconda at gmail.com
Tue Apr 19 08:52:00 CEST 2022


Module: kamailio
Branch: master
Commit: 95bf86dc2900b707d4b9bfa2005fcea6c17c3410
URL: https://github.com/kamailio/kamailio/commit/95bf86dc2900b707d4b9bfa2005fcea6c17c3410

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2022-04-19T08:50:51+02:00

siprepo: updates to kemi exports signatures

---

Modified: src/modules/siprepo/siprepo_mod.c

---

Diff:  https://github.com/kamailio/kamailio/commit/95bf86dc2900b707d4b9bfa2005fcea6c17c3410.diff
Patch: https://github.com/kamailio/kamailio/commit/95bf86dc2900b707d4b9bfa2005fcea6c17c3410.patch

---

diff --git a/src/modules/siprepo/siprepo_mod.c b/src/modules/siprepo/siprepo_mod.c
index 59473b0388..35a9778743 100644
--- a/src/modules/siprepo/siprepo_mod.c
+++ b/src/modules/siprepo/siprepo_mod.c
@@ -344,18 +344,18 @@ static void siprepo_timer_exec(unsigned int ticks, int worker, void *param)
 static sr_kemi_t sr_kemi_sworker_exports[] = {
 	{ str_init("siprepo"), str_init("sr_msg_push"),
 		SR_KEMIP_INT, ki_sr_msg_push,
-		{ SR_KEMIP_STR, SR_KEMIP_NONE, SR_KEMIP_NONE,
+		{ SR_KEMIP_STR, SR_KEMIP_INT, SR_KEMIP_NONE,
 			SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
 	},
 	{ str_init("siprepo"), str_init("sr_msg_pull"),
 		SR_KEMIP_INT, ki_sr_msg_pull,
 		{ SR_KEMIP_STR, SR_KEMIP_STR, SR_KEMIP_STR,
-			SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
+			SR_KEMIP_INT, SR_KEMIP_NONE, SR_KEMIP_NONE }
 	},
 	{ str_init("siprepo"), str_init("sr_msg_async_pull"),
 		SR_KEMIP_INT, ki_sr_msg_async_pull,
 		{ SR_KEMIP_STR, SR_KEMIP_STR, SR_KEMIP_STR,
-			SR_KEMIP_STR, SR_KEMIP_NONE, SR_KEMIP_NONE }
+			SR_KEMIP_STR, SR_KEMIP_INT, SR_KEMIP_NONE }
 	},
 	{ str_init("siprepo"), str_init("sr_msg_rm"),
 		SR_KEMIP_INT, ki_sr_msg_rm,




More information about the sr-dev mailing list