[sr-dev] git:4.3:6306a8fe: uac: uac.reg_dump returns an array rpc result

Daniel-Constantin Mierla miconda at gmail.com
Sun Oct 11 14:41:10 CEST 2015


Module: kamailio
Branch: 4.3
Commit: 6306a8fe46fc7ebf2c8b8b52177d38f9178ba659
URL: https://github.com/kamailio/kamailio/commit/6306a8fe46fc7ebf2c8b8b52177d38f9178ba659

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2015-10-11T14:40:39+02:00

uac: uac.reg_dump returns an array rpc result

(cherry picked from commit b4120c53a1ba2ae2bad8b9c04963b4becc0a9700)

---

Modified: modules/uac/uac_reg.c

---

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

---

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},




More information about the sr-dev mailing list