From 298da777bd26aea9d50c5c74f3a88187c51ac481 Mon Sep 17 00:00:00 2001 From: Olle Johansson Date: Mon, 7 Sep 2009 13:08:17 +0000 Subject: [PATCH] Merged revisions 216695 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ........ r216695 | oej | 2009-09-07 15:06:19 +0200 (MÃ¥n, 07 Sep 2009) | 8 lines If there is no session timer in the INVITE, set it to default value (not unset minimum = -1) Patch by oej closes issue #15621 Reported by: fnordian Tested by: atis ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@216696 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_sip.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 8a4ee97a85..d73859fb05 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -17852,7 +17852,8 @@ static int handle_request_invite(struct sip_pvt *p, struct sip_request *req, int st_interval = uac_max_se; } } else { - st_interval = uac_min_se; + /* Set to default max value */ + st_interval = global_max_se; } break;