aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_sip.c
diff options
context:
space:
mode:
Diffstat (limited to 'channels/chan_sip.c')
-rw-r--r--channels/chan_sip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 5502c5ab8..132b8be69 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -9332,7 +9332,7 @@ static enum check_auth_result check_user_full(struct sip_pvt *p, struct sip_requ
if (peer->callingpres) /* Peer calling pres setting will override RPID */
p->callingpres = peer->callingpres;
if (peer->maxms && peer->lastms)
- p->timer_t1 = peer->lastms;
+ p->timer_t1 = peer->lastms < global_t1min ? global_t1min : peer->lastms;
if (ast_test_flag(&peer->flags[0], SIP_INSECURE_INVITE)) {
/* Pretend there is no required authentication */
ast_string_field_free(p, peersecret);