diff options
author | Olle Johansson <oej@edvina.net> | 2009-09-07 13:06:19 +0000 |
---|---|---|
committer | Olle Johansson <oej@edvina.net> | 2009-09-07 13:06:19 +0000 |
commit | e1c711b7de8ebbb2c2c83a1cedb6ba64c864b1f8 (patch) | |
tree | f40f1a733a4cfaea515c7bc8155cf92778a24630 | |
parent | 8af3a908a971eecaff4d613ccd69a282b49441c4 (diff) |
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/trunk@216695 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r-- | channels/chan_sip.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 90b8742dd..84075b8c3 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -20631,7 +20631,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; |