From a84a3ea618f0e602a8892c37fce7f4e72ab7371c Mon Sep 17 00:00:00 2001 From: Charles Chance Date: Thu, 26 Jul 2018 12:07:33 +0100 Subject: [PATCH] dialog: unset DMQ flag on replicated dialog removal - prevents looping back to other nodes - reported by Patrick Murphy on sr-users list --- src/modules/dialog/dlg_dmq.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/dialog/dlg_dmq.c b/src/modules/dialog/dlg_dmq.c index 8ed9dce1d33..0cfd8a522e9 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;