cache db entries longer

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10640 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2008-12-06 17:35:37 +00:00
parent 1eac1c84f5
commit 60159bf8a1
1 changed files with 1 additions and 1 deletions

View File

@ -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);