[Freeswitch-svn] [commit] r10640 - freeswitch/trunk/src/mod/endpoints/mod_sofia
FreeSWITCH SVN
anthm at freeswitch.org
Sat Dec 6 09:35:38 PST 2008
Author: anthm
Date: Sat Dec 6 12:35:37 2008
New Revision: 10640
Log:
cache db entries longer
Modified:
freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_presence.c
Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_presence.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_presence.c (original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_presence.c Sat Dec 6 12:35:37 2008
@@ -1498,7 +1498,7 @@
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);
More information about the Freeswitch-svn
mailing list