Module: kamailio
Branch: master
Commit: b4120c53a1ba2ae2bad8b9c04963b4becc0a9700
URL:
https://github.com/kamailio/kamailio/commit/b4120c53a1ba2ae2bad8b9c04963b4b…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-10-11T14:35:46+02:00
uac: uac.reg_dump returns an array rpc result
---
Modified: modules/uac/uac_reg.c
---
Diff:
https://github.com/kamailio/kamailio/commit/b4120c53a1ba2ae2bad8b9c04963b4b…
Patch:
https://github.com/kamailio/kamailio/commit/b4120c53a1ba2ae2bad8b9c04963b4b…
---
diff --git a/modules/uac/uac_reg.c b/modules/uac/uac_reg.c
index 7b7d2de..39499b6 100644
--- a/modules/uac/uac_reg.c
+++ b/modules/uac/uac_reg.c
@@ -1747,7 +1747,7 @@ static void rpc_uac_reg_refresh(rpc_t* rpc, void* ctx)
}
rpc_export_t uac_reg_rpc[] = {
- {"uac.reg_dump", rpc_uac_reg_dump, rpc_uac_reg_dump_doc, 0},
+ {"uac.reg_dump", rpc_uac_reg_dump, rpc_uac_reg_dump_doc, RET_ARRAY},
{"uac.reg_info", rpc_uac_reg_info, rpc_uac_reg_info_doc, 0},
{"uac.reg_enable", rpc_uac_reg_enable, rpc_uac_reg_enable_doc, 0},
{"uac.reg_disable", rpc_uac_reg_disable, rpc_uac_reg_disable_doc, 0},