[sr-dev] git:master:c668854d: cnxcc: fixed kemi export for signature for ki_get_channel_count()

Daniel-Constantin Mierla miconda at gmail.com
Sat Jan 20 11:46:37 CET 2018


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2018-01-20T11:42:44+01:00

cnxcc: fixed kemi export for signature for ki_get_channel_count()

---

Modified: src/modules/cnxcc/cnxcc_mod.c

---

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

---

diff --git a/src/modules/cnxcc/cnxcc_mod.c b/src/modules/cnxcc/cnxcc_mod.c
index 2cd8a87c6a..d429a50ee5 100644
--- a/src/modules/cnxcc/cnxcc_mod.c
+++ b/src/modules/cnxcc/cnxcc_mod.c
@@ -2133,7 +2133,7 @@ static sr_kemi_t sr_kemi_cnxcc_exports[] = {
 	},
 	{ str_init("cnxcc"), str_init("get_channel_count"),
 		SR_KEMIP_INT, ki_get_channel_count,
-		{ SR_KEMIP_STR, SR_KEMIP_INT, SR_KEMIP_NONE,
+		{ SR_KEMIP_STR, SR_KEMIP_STR, SR_KEMIP_NONE,
 			SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
 	},
 	{ str_init("cnxcc"), str_init("terminate_all"),
@@ -2150,4 +2150,4 @@ int mod_register(char *path, int *dlflags, void *p1, void *p2)
 {
 	sr_kemi_modules_add(sr_kemi_cnxcc_exports);
 	return 0;
-}
\ No newline at end of file
+}




More information about the sr-dev mailing list