aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2009-09-07 13:10:39 +0000
committeroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2009-09-07 13:10:39 +0000
commitaa7f075cd5f0ce5b1408332a39261a11f2aed512 (patch)
tree7c9d86f675841bd3359a6a19e585865e5d37aa44
parent71f5123a0909fc15ad05e58eaeed543c141de92f (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 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: http://svn.digium.com/svn/asterisk/branches/1.6.1@216697 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--channels/chan_sip.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 62d2e8a04..4ddcce902 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -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;