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

Author: Stefan Mititelu <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
Date: 2026-07-13T16:12:59+02:00

dialog: revert replicate if same state

This reverts commit b3b35bc55aa825a5a0aab98ba705fda9afb4fb06.

---

Modified: src/modules/dialog/dlg_handlers.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/93e2ea6e9516b06b9dd0f9e0faea6e81400d61fa.diff
Patch: 
https://github.com/kamailio/kamailio/commit/93e2ea6e9516b06b9dd0f9e0faea6e81400d61fa.patch

---

diff --git a/src/modules/dialog/dlg_handlers.c 
b/src/modules/dialog/dlg_handlers.c
index f4edafe230e..b25a8c782ea 100644
--- a/src/modules/dialog/dlg_handlers.c
+++ b/src/modules/dialog/dlg_handlers.c
@@ -599,7 +599,7 @@ static void dlg_onreply(struct cell *t, int type, struct 
tmcb_params *param)
 
 done:
        if(dlg_enable_dmq && (dlg->iflags & DLG_IFLAG_DMQ_SYNC)
-                       && new_state >= old_state) {
+                       && new_state > old_state) {
                dlg_dmq_replicate_action(DLG_DMQ_STATE, dlg, 0, 0);
        }
 
@@ -1580,7 +1580,7 @@ void dlg_onroute(struct sip_msg *req, str *route_params, 
void *param)
 
 done:
        if(dlg_enable_dmq && (dlg->iflags & DLG_IFLAG_DMQ_SYNC)
-                       && new_state >= old_state) {
+                       && new_state > old_state) {
                dlg_dmq_replicate_action(DLG_DMQ_STATE, dlg, 0, 0);
        }
 
@@ -1700,7 +1700,7 @@ void dlg_ontimeout(struct dlg_tl *tl)
        }
 
        if(dlg_enable_dmq && (dlg->iflags & DLG_IFLAG_DMQ_SYNC)
-                       && new_state >= old_state) {
+                       && new_state > old_state) {
                dlg_dmq_replicate_action(DLG_DMQ_STATE, dlg, 0, 0);
        }
 

_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to