]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 216695 via svnmerge from
authorOlle Johansson <oej@edvina.net>
Mon, 7 Sep 2009 13:10:39 +0000 (13:10 +0000)
committerOlle Johansson <oej@edvina.net>
Mon, 7 Sep 2009 13:10:39 +0000 (13:10 +0000)
https://origsvn.digium.com/svn/asterisk/trunk

........
r216695 | oej | 2009-09-07 15:06:19 +0200 (MÃ¥n, 07 Sep 2009) | 8 lines

If there is no session timer setting 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.1@216697 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 62d2e8a04c59e7392b966d27e31ef0879e94c2a0..4ddcce902b57a1c47542a27b603ce4d01e1edf40 100644 (file)
@@ -18705,6 +18705,7 @@ static int handle_request_invite(struct sip_pvt *p, struct sip_request *req, int
                                        st_interval = uac_max_se;
                                }
                        } else {
+                               /* Set to default max value */
                                st_interval = global_max_se;
                        }
                        break;