提交 52cd8cdd authored 作者: Michael Jerris's avatar Michael Jerris

mod_sofia: use rfc recommended default session timeout of 30 min according to…

mod_sofia: use rfc recommended default session timeout of 30 min according to RFC 4028 4.2 (MODSOFIA-76)
上级 19253d83
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
<!--max number of open dialogs in proceeding --> <!--max number of open dialogs in proceeding -->
<!--<param name="max-proceeding" value="1000"/>--> <!--<param name="max-proceeding" value="1000"/>-->
<!--session timers for all call to expire after the specified seconds --> <!--session timers for all call to expire after the specified seconds -->
<!--<param name="session-timeout" value="120"/>--> <!--<param name="session-timeout" value="1800"/>-->
<!--<param name="multiple-registrations" value="true"/>--> <!--<param name="multiple-registrations" value="true"/>-->
<!--set to 'greedy' if you want your codec list to take precedence --> <!--set to 'greedy' if you want your codec list to take precedence -->
<param name="inbound-codec-negotiation" value="generous"/> <param name="inbound-codec-negotiation" value="generous"/>
......
...@@ -118,7 +118,7 @@ ...@@ -118,7 +118,7 @@
<!--max number of open dialogs in proceeding --> <!--max number of open dialogs in proceeding -->
<!--<param name="max-proceeding" value="1000"/>--> <!--<param name="max-proceeding" value="1000"/>-->
<!--session timers for all call to expire after the specified seconds --> <!--session timers for all call to expire after the specified seconds -->
<!--<param name="session-timeout" value="120"/>--> <!--<param name="session-timeout" value="1800"/>-->
<!-- Can be 'true' or 'contact' --> <!-- Can be 'true' or 'contact' -->
<!--<param name="multiple-registrations" value="contact"/>--> <!--<param name="multiple-registrations" value="contact"/>-->
<!--set to 'greedy' if you want your codec list to take precedence --> <!--set to 'greedy' if you want your codec list to take precedence -->
......
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
#define HAVE_APR #define HAVE_APR
#include <switch.h> #include <switch.h>
#include <switch_version.h> #include <switch_version.h>
#define SOFIA_NAT_SESSION_TIMEOUT 20 #define SOFIA_NAT_SESSION_TIMEOUT 1800
#define SOFIA_MAX_ACL 100 #define SOFIA_MAX_ACL 100
#ifdef _MSC_VER #ifdef _MSC_VER
#define HAVE_FUNCTION 1 #define HAVE_FUNCTION 1
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论