diff --git a/res/res_pjsip.c b/res/res_pjsip.c index 81386c7d7bc9bd165b9c881dade28875ecfc5981..506f5b163fe5a24d12c084e982c26e748d7a6675 100644 --- a/res/res_pjsip.c +++ b/res/res_pjsip.c @@ -1726,7 +1726,7 @@ <configOption name="max_forwards" default="70"> <synopsis>Value used in Max-Forwards header for SIP requests.</synopsis> </configOption> - <configOption name="keep_alive_interval" default="0"> + <configOption name="keep_alive_interval" default="90"> <synopsis>The interval (in seconds) to send keepalives to active connection-oriented transports.</synopsis> </configOption> <configOption name="contact_expiration_check_interval" default="30"> diff --git a/res/res_pjsip/config_global.c b/res/res_pjsip/config_global.c index 2a803128d90bae514ac26b7a3b66be2eaee4ddad..b3d6fa28b851b99f1313b756e200be0ee1b28195 100644 --- a/res/res_pjsip/config_global.c +++ b/res/res_pjsip/config_global.c @@ -29,7 +29,7 @@ #include "asterisk/res_pjsip_cli.h" #define DEFAULT_MAX_FORWARDS 70 -#define DEFAULT_KEEPALIVE_INTERVAL 0 +#define DEFAULT_KEEPALIVE_INTERVAL 90 #define DEFAULT_USERAGENT_PREFIX "Asterisk PBX" #define DEFAULT_OUTBOUND_ENDPOINT "default_outbound_endpoint" #define DEFAULT_DEBUG "no"