From 42445d70bb8b42c87226e52117cf34e77295ecb1 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Fri, 10 Jul 2009 00:40:54 +0000 Subject: [PATCH] Mon Jul 6 15:36:25 CDT 2009 Pekka Pessi * nua_notifier.c: more logging git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14178 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- libs/sofia-sip/.update | 2 +- libs/sofia-sip/libsofia-sip-ua/nua/nua_notifier.c | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/libs/sofia-sip/.update b/libs/sofia-sip/.update index a746706851..7a778b8274 100644 --- a/libs/sofia-sip/.update +++ b/libs/sofia-sip/.update @@ -1 +1 @@ -Thu Jul 9 19:38:10 CDT 2009 +Thu Jul 9 19:39:12 CDT 2009 diff --git a/libs/sofia-sip/libsofia-sip-ua/nua/nua_notifier.c b/libs/sofia-sip/libsofia-sip-ua/nua/nua_notifier.c index 1cd476b80d..a7b884b3e2 100644 --- a/libs/sofia-sip/libsofia-sip-ua/nua/nua_notifier.c +++ b/libs/sofia-sip/libsofia-sip-ua/nua/nua_notifier.c @@ -832,10 +832,19 @@ static int nua_notify_usage_shutdown(nua_handle_t *nh, nu->nu_substate = nua_substate_terminated; if (cr) { + SU_DEBUG_5(("%s(%p, %p, %p): using existing cr=%p\n", + "nua_notify_usage_shutdown", + (void *)nh, (void *)ds, (void *)du, (void *)cr)); + if (nua_client_resend_request(cr, 1) >= 0) return 0; } else { + SU_DEBUG_5(("%s(%p, %p, %p): new NOTIFY cr for %s\n", + "nua_notify_usage_shutdown", + (void *)nh, (void *)ds, (void *)du, + du->du_event ? du->du_event->o_type : "")); + if (nua_client_tcreate(nh, nua_r_notify, &nua_notify_client_methods, SIPTAG_EVENT(du->du_event),