From 52cd8cdd640f17eb37cd9b36098370987d8523e5 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Mon, 31 May 2010 09:39:36 -0400 Subject: [PATCH] mod_sofia: use rfc recommended default session timeout of 30 min according to RFC 4028 4.2 (MODSOFIA-76) --- conf/sip_profiles/internal-ipv6.xml | 2 +- conf/sip_profiles/internal.xml | 2 +- src/mod/endpoints/mod_sofia/mod_sofia.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/sip_profiles/internal-ipv6.xml b/conf/sip_profiles/internal-ipv6.xml index 1e9019a720..37ff58b310 100644 --- a/conf/sip_profiles/internal-ipv6.xml +++ b/conf/sip_profiles/internal-ipv6.xml @@ -35,7 +35,7 @@ - + diff --git a/conf/sip_profiles/internal.xml b/conf/sip_profiles/internal.xml index 45058c247f..dd1595d5ba 100644 --- a/conf/sip_profiles/internal.xml +++ b/conf/sip_profiles/internal.xml @@ -118,7 +118,7 @@ - + diff --git a/src/mod/endpoints/mod_sofia/mod_sofia.h b/src/mod/endpoints/mod_sofia/mod_sofia.h index d16b9e2c7b..be50dba83f 100644 --- a/src/mod/endpoints/mod_sofia/mod_sofia.h +++ b/src/mod/endpoints/mod_sofia/mod_sofia.h @@ -45,7 +45,7 @@ #define HAVE_APR #include #include -#define SOFIA_NAT_SESSION_TIMEOUT 20 +#define SOFIA_NAT_SESSION_TIMEOUT 1800 #define SOFIA_MAX_ACL 100 #ifdef _MSC_VER #define HAVE_FUNCTION 1