From b29615561cb72554d342952d34e55550a940e1c1 Mon Sep 17 00:00:00 2001 From: Evgeniy Khramtsov Date: Thu, 12 Jun 2014 09:28:34 +0400 Subject: [PATCH] Change default flow timeout as recommended per the RFC --- src/mod_sip_registrar.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod_sip_registrar.erl b/src/mod_sip_registrar.erl index 9f5243603..8662ed74c 100644 --- a/src/mod_sip_registrar.erl +++ b/src/mod_sip_registrar.erl @@ -25,7 +25,7 @@ -define(CALL_TIMEOUT, timer:seconds(30)). -define(DEFAULT_EXPIRES, 3600). -define(FLOW_TIMEOUT_DATAGRAM, 29). --define(FLOW_TIMEOUT_STREAM, 180). +-define(FLOW_TIMEOUT_STREAM, 120). -record(sip_session, {us = {<<"">>, <<"">>} :: {binary(), binary()}, socket = #sip_socket{} :: #sip_socket{},