Module: sip-router
Branch: 3.1
Commit: e17caaf8354f8fefb1d9558347c18fc96b3a6011
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=e17caaf…
Author: Timo Reimann <timo.reimann(a)1und1.de>
Committer: Timo Reimann <timo.reimann(a)1und1.de>
Date: Tue Aug 23 15:36:45 2011 +0200
modules_k/dialog: Add reference count to list of items returned
via RPC.
(cherry picked from commit cf8e80cbe53380e628476edf0cff0e05b77e25f9)
---
modules_k/dialog/dialog.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules_k/dialog/dialog.c b/modules_k/dialog/dialog.c
index e581ca3..971de1e 100644
--- a/modules_k/dialog/dialog.c
+++ b/modules_k/dialog/dialog.c
@@ -1154,8 +1154,8 @@ static inline void internal_rpc_print_dlg(rpc_t *rpc, void *c,
struct dlg_cell *
{
rpc_cb_ctx_t rpc_cb;
- rpc->printf(c, "hash:%u:%u state:%u timestart:%u timeout:%u",
- dlg->h_entry, dlg->h_id, dlg->state, dlg->start_ts, dlg->tl.timeout);
+ rpc->printf(c, "hash:%u:%u state:%u ref_count:%u timestart:%u timeout:%u",
+ dlg->h_entry, dlg->h_id, dlg->state, dlg->ref, dlg->start_ts,
dlg->tl.timeout);
rpc->printf(c, "\tcallid:%.*s from_tag:%.*s to_tag:%.*s",
dlg->callid.len, dlg->callid.s,
dlg->tag[DLG_CALLER_LEG].len, dlg->tag[DLG_CALLER_LEG].s,