From 08381d765f13844db0c9c71d04804a722d7317a7 Mon Sep 17 00:00:00 2001 From: "Alfred E. Heggestad" Date: Sun, 1 Nov 2015 12:05:43 +0100 Subject: ua: additional debug --- src/ua.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/ua.c b/src/ua.c index 3de306c..7997a88 100644 --- a/src/ua.c +++ b/src/ua.c @@ -92,6 +92,9 @@ static void exit_handler(void *arg) { (void)arg; + debug("ua: sip-stack exit\n"); + module_app_unload(); + re_cancel(); } @@ -1067,6 +1070,7 @@ int ua_debug(struct re_printf *pf, const struct ua *ua) return 0; err = re_hprintf(pf, "--- %s ---\n", ua->acc->aor); + err |= re_hprintf(pf, " nrefs: %u\n", mem_nrefs(ua)); err |= re_hprintf(pf, " cuser: %s\n", ua->cuser); err |= re_hprintf(pf, " pub-gruu: %s\n", ua->pub_gruu); err |= re_hprintf(pf, " af: %s\n", net_af2name(ua->af)); -- cgit v1.2.3