Module: kamailio
Branch: 5.1
Commit: e2eda1376def48ab1c78db7a766c1811d19205be
URL:
https://github.com/kamailio/kamailio/commit/e2eda1376def48ab1c78db7a766c181…
Author: Charles Chance <charles.chance(a)sipcentric.com>
Committer: Charles Chance <charles.chance(a)sipcentric.com>
Date: 2018-07-26T13:54:31+01:00
dialog: unset DMQ flag on replicated dialog removal
- prevents looping back to other nodes
- reported by Patrick Murphy on sr-users list
(cherry picked from commit a84a3ea618f0e602a8892c37fce7f4e72ab7371c)
---
Modified: src/modules/dialog/dlg_dmq.c
---
Diff:
https://github.com/kamailio/kamailio/commit/e2eda1376def48ab1c78db7a766c181…
Patch:
https://github.com/kamailio/kamailio/commit/e2eda1376def48ab1c78db7a766c181…
---
diff --git a/src/modules/dialog/dlg_dmq.c b/src/modules/dialog/dlg_dmq.c
index 8ed9dce1d3..0cfd8a522e 100644
--- a/src/modules/dialog/dlg_dmq.c
+++ b/src/modules/dialog/dlg_dmq.c
@@ -365,6 +365,7 @@ int dlg_dmq_handle_msg(struct sip_msg* msg, peer_reponse_t* resp,
dmq_node_t* no
}
/* prevent DB sync */
dlg->dflags |= DLG_FLAG_NEW;
+ dlg->iflags &= ~DLG_IFLAG_DMQ_SYNC;
unref++;
break;