Module: kamailio Branch: 5.1 Commit: bc8dd9263715479f682062b1fb5a16e265fc4ae0 URL: https://github.com/kamailio/kamailio/commit/bc8dd9263715479f682062b1fb5a16e2...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2018-01-22T11:25:27+01:00
cnxcc: fixed kemi export for signature for ki_get_channel_count()
(cherry picked from commit c668854d05e548bf9d138778307891e914cc565e)
---
Modified: src/modules/cnxcc/cnxcc_mod.c
---
Diff: https://github.com/kamailio/kamailio/commit/bc8dd9263715479f682062b1fb5a16e2... Patch: https://github.com/kamailio/kamailio/commit/bc8dd9263715479f682062b1fb5a16e2...
---
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 +}