Module: kamailio
Branch: master
Commit: a059af04ac47fd31238ca4f22ad868529e035c43
URL: 
https://github.com/kamailio/kamailio/commit/a059af04ac47fd31238ca4f22ad868529e035c43

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
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/a059af04ac47fd31238ca4f22ad868529e035c43.diff
Patch: 
https://github.com/kamailio/kamailio/commit/a059af04ac47fd31238ca4f22ad868529e035c43.patch

---

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.

_______________________________________________
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to [email protected]

Reply via email to