Module: kamailio
Branch: master
Commit: a84a3ea618f0e602a8892c37fce7f4e72ab7371c
URL:
https://github.com/kamailio/kamailio/commit/a84a3ea618f0e602a8892c37fce7f4e…
Author: Charles Chance <charles.chance(a)sipcentric.com>
Committer: Charles Chance <charles.chance(a)sipcentric.com>
Date: 2018-07-26T12:07:33+01:00
dialog: unset DMQ flag on replicated dialog removal
- prevents looping back to other nodes
- reported by Patrick Murphy on sr-users list
---
Modified: src/modules/dialog/dlg_dmq.c
---
Diff:
https://github.com/kamailio/kamailio/commit/a84a3ea618f0e602a8892c37fce7f4e…
Patch:
https://github.com/kamailio/kamailio/commit/a84a3ea618f0e602a8892c37fce7f4e…
---
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;