From 60159bf8a16625b18ca47b42b049329048ea3bdc Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Sat, 6 Dec 2008 17:35:37 +0000 Subject: [PATCH] cache db entries longer git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10640 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_sofia/sofia_presence.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_sofia/sofia_presence.c b/src/mod/endpoints/mod_sofia/sofia_presence.c index f181e60873..483bfd7aec 100644 --- a/src/mod/endpoints/mod_sofia/sofia_presence.c +++ b/src/mod/endpoints/mod_sofia/sofia_presence.c @@ -1498,7 +1498,7 @@ void sofia_presence_handle_sip_i_subscribe(int status, full_via = sip_header_as_string(profile->home, (void *) sip->sip_via); exp_raw = (sip->sip_expires ? sip->sip_expires->ex_delta : 600); - exp = (long) switch_timestamp(NULL) + exp_raw; + exp = (long) switch_timestamp(NULL) + exp_raw + 120; if (sofia_test_pflag(profile, PFLAG_MULTIREG)) { sql = switch_mprintf("delete from sip_subscriptions where call_id='%q'", call_id);