mirror of
https://github.com/asterisk/asterisk.git
synced 2026-07-22 03:47:12 -07:00
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
This commit is contained in:
+2
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user