aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authoroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2009-09-07 13:08:17 +0000
committeroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2009-09-07 13:08:17 +0000
commitfd57d243a467d95d066a628178a1c629f02d9054 (patch)
tree9a89834cc2f63f27c87a3bbaed318b6bd8f4d34f /channels
parent4481a886a78ff73c29b157e5e327d19e378087ef (diff)
Merged revisions 216695 via svnmerge from
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 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: http://svn.digium.com/svn/asterisk/branches/1.6.0@216696 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_sip.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 8a4ee97a8..d73859fb0 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;