Module: kamailio Branch: 5.6 Commit: 5fc4cca395e057714376b681bbad4935a9570d0d URL: https://github.com/kamailio/kamailio/commit/5fc4cca395e057714376b681bbad4935a9570d0d
Author: Daniel-Constantin Mierla <[email protected]> Committer: Daniel-Constantin Mierla <[email protected]> Date: 2023-07-17T10:44:58+02:00 sst: fix condition on sst_min_se for sst_check_min() (cherry picked from commit a059af04ac47fd31238ca4f22ad868529e035c43) (cherry picked from commit febfc9722f83d992a3c1643fa373468b73cb3fa0) --- Modified: src/modules/sst/sst_handlers.c --- Diff: https://github.com/kamailio/kamailio/commit/5fc4cca395e057714376b681bbad4935a9570d0d.diff Patch: https://github.com/kamailio/kamailio/commit/5fc4cca395e057714376b681bbad4935a9570d0d.patch --- diff --git a/src/modules/sst/sst_handlers.c b/src/modules/sst/sst_handlers.c index 55010baaee2..690c03ddfac 100644 --- a/src/modules/sst/sst_handlers.c +++ b/src/modules/sst/sst_handlers.c @@ -672,7 +672,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]
