Module: kamailio
Branch: master
Commit: a059af04ac47fd31238ca4f22ad868529e035c43
URL:
https://github.com/kamailio/kamailio/commit/a059af04ac47fd31238ca4f22ad8685…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-05-31T09:01:13+02:00
sst: fix condition on sst_min_se for sst_check_min()
---
Modified: src/modules/sst/sst_handlers.c
---
Diff:
https://github.com/kamailio/kamailio/commit/a059af04ac47fd31238ca4f22ad8685…
Patch:
https://github.com/kamailio/kamailio/commit/a059af04ac47fd31238ca4f22ad8685…
---
diff --git a/src/modules/sst/sst_handlers.c b/src/modules/sst/sst_handlers.c
index 9a159577af..549eeb0756 100644
--- a/src/modules/sst/sst_handlers.c
+++ b/src/modules/sst/sst_handlers.c
@@ -667,7 +667,7 @@ int ki_sst_check_min(struct sip_msg *msg, int flag)
* too small. We will take the smaller of the messages
* Session-expires and min-se if stated.
*/
- if(sst_min_se < MIN(minse, se.interval)) {
+ if(sst_min_se > MIN(minse, se.interval)) {
/*
* Too small. See if we need to send the 422 and are able
* to send it.