Module: kamailio
Branch: master
Commit: 4e49c0e21747b9c4344acb16e0013c178ec45dff
URL:
https://github.com/kamailio/kamailio/commit/4e49c0e21747b9c4344acb16e0013c1…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-04-21T15:25:25+02:00
presence: rpc presence.presentity_list is returning an array
---
Modified: src/modules/presence/presence.c
---
Diff:
https://github.com/kamailio/kamailio/commit/4e49c0e21747b9c4344acb16e0013c1…
Patch:
https://github.com/kamailio/kamailio/commit/4e49c0e21747b9c4344acb16e0013c1…
---
diff --git a/src/modules/presence/presence.c b/src/modules/presence/presence.c
index 84997b4230..cbbc23feb3 100644
--- a/src/modules/presence/presence.c
+++ b/src/modules/presence/presence.c
@@ -1932,7 +1932,7 @@ rpc_export_t presence_rpc[] = {
{"presence.updateWatchers", rpc_presence_update_watchers,
rpc_presence_update_watchers_doc, 0},
{"presence.presentity_list", rpc_presence_presentity_list,
- rpc_presence_presentity_list_doc, 0},
+ rpc_presence_presentity_list_doc, RET_ARRAY},
{0, 0, 0, 0}
};