Module: kamailio
Branch: master
Commit: 6a9c892fd0a7a526ec6ced4b40479875477d96db
URL:
https://github.com/kamailio/kamailio/commit/6a9c892fd0a7a526ec6ced4b4047987…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)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/6a9c892fd0a7a526ec6ced4b4047987…
Patch:
https://github.com/kamailio/kamailio/commit/6a9c892fd0a7a526ec6ced4b4047987…
---
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;