[sr-dev] git:master:6a9c892f: dialog: mark slot as lock if dialog found in state deleted for spiral detection

Daniel-Constantin Mierla miconda at gmail.com
Mon Sep 14 12:06:18 CEST 2015


Module: kamailio
Branch: master
Commit: 6a9c892fd0a7a526ec6ced4b40479875477d96db
URL: https://github.com/kamailio/kamailio/commit/6a9c892fd0a7a526ec6ced4b40479875477d96db

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2015-09-14T12:05:27+02:00

dialog: mark slot as lock if dialog found in state deleted for spiral detection

---

Modified: modules/dialog/dlg_handlers.c

---

Diff:  https://github.com/kamailio/kamailio/commit/6a9c892fd0a7a526ec6ced4b40479875477d96db.diff
Patch: https://github.com/kamailio/kamailio/commit/6a9c892fd0a7a526ec6ced4b40479875477d96db.patch

---

diff --git a/modules/dialog/dlg_handlers.c b/modules/dialog/dlg_handlers.c
index 9f74e10..1ba3b5a 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;
 




More information about the sr-dev mailing list