I cherry-picked it to 4.2.7
Dialog was deleted a after 5mins (according to tdlg->end_ts
May be unref dialog after DLG_EVENT_RPL3xx at once? I can't dive into dialog module source code now, so not sure is this safe, but it works:
diff --git a/modules/dialog/dlg_hash.c b/modules/dialog/dlg_hash.c
index a305468..202f0b9 100644
--- a/modules/dialog/dlg_hash.c
+++ b/modules/dialog/dlg_hash.c
@@ -965,6 +965,7 @@ void next_state_dlg(dlg_cell_t *dlg, int event,
case DLG_STATE_UNCONFIRMED:
case DLG_STATE_EARLY:
dlg->state = DLG_STATE_DELETED;
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub