From 426570b1058655590e61796a883adaaa4f634b2e Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Tue, 12 Aug 2008 17:07:20 +0000 Subject: [PATCH] Fri Aug 8 07:55:01 EDT 2008 Pekka Pessi * nua_subnotref.c: do not terminate SUBSCRIBE usage if Expires: 0 is used Terminate subscription only when NOTIFY is received or timeout occurs. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9277 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- libs/sofia-sip/.update | 2 +- libs/sofia-sip/libsofia-sip-ua/nua/nua_subnotref.c | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/libs/sofia-sip/.update b/libs/sofia-sip/.update index 903b6b6c66..bb8a062df4 100644 --- a/libs/sofia-sip/.update +++ b/libs/sofia-sip/.update @@ -1 +1 @@ -Tue Aug 12 13:06:53 EDT 2008 +Tue Aug 12 13:07:15 EDT 2008 diff --git a/libs/sofia-sip/libsofia-sip-ua/nua/nua_subnotref.c b/libs/sofia-sip/libsofia-sip-ua/nua/nua_subnotref.c index fa2898b105..70934c7bbe 100644 --- a/libs/sofia-sip/libsofia-sip-ua/nua/nua_subnotref.c +++ b/libs/sofia-sip/libsofia-sip-ua/nua/nua_subnotref.c @@ -256,11 +256,6 @@ static int nua_subscribe_client_request(nua_client_request_t *cr, struct event_usage *eu = nua_dialog_usage_private(du); sip_event_t *o = sip->sip_event; - if (eu->eu_notified && - sip->sip_expires && - sip->sip_expires->ex_delta == 0) - cr->cr_terminating = 1; - if (nua_client_bind(cr, du) < 0) return -1;