Module: kamailio
Branch: 4.3
Commit: 3763f689436b717b323d6d0337317ffc24d180a1
URL:
https://github.com/kamailio/kamailio/commit/3763f689436b717b323d6d0337317ff…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-09-14T12:06:31+02:00
dialog: mark slot as lock if dialog found in state deleted for spiral detection
(cherry picked from commit 6a9c892fd0a7a526ec6ced4b40479875477d96db)
---
Modified: modules/dialog/dlg_handlers.c
---
Diff:
https://github.com/kamailio/kamailio/commit/3763f689436b717b323d6d0337317ff…
Patch:
https://github.com/kamailio/kamailio/commit/3763f689436b717b323d6d0337317ff…
---
diff --git a/modules/dialog/dlg_handlers.c b/modules/dialog/dlg_handlers.c
index ad88faa..bfee1fa 100644
--- a/modules/dialog/dlg_handlers.c
+++ b/modules/dialog/dlg_handlers.c
@@ -823,6 +823,7 @@ int dlg_new_dialog(sip_msg_t *req, struct cell *t, const int
run_initial_cbs)
}
/* lock the slot - dlg found, but in dlg_state_deleted, do a new one */
dlg_hash_lock(&callid);
+ mlock = 1;
}
spiral_detected = 0;