[sr-dev] git:master:b198b390: dialog: completed previous commit for spiral handling
Daniel-Constantin Mierla
miconda at gmail.com
Thu Oct 1 16:09:36 CEST 2015
Module: kamailio
Branch: master
Commit: b198b390106924df2279d94f28305c25c86b435e
URL: https://github.com/kamailio/kamailio/commit/b198b390106924df2279d94f28305c25c86b435e
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2015-10-01T16:08:13+02:00
dialog: completed previous commit for spiral handling
---
Modified: modules/dialog/dlg_handlers.c
---
Diff: https://github.com/kamailio/kamailio/commit/b198b390106924df2279d94f28305c25c86b435e.diff
Patch: https://github.com/kamailio/kamailio/commit/b198b390106924df2279d94f28305c25c86b435e.patch
---
diff --git a/modules/dialog/dlg_handlers.c b/modules/dialog/dlg_handlers.c
index 3117e33..123330b 100644
--- a/modules/dialog/dlg_handlers.c
+++ b/modules/dialog/dlg_handlers.c
@@ -796,8 +796,10 @@ int dlg_new_dialog(sip_msg_t *req, struct cell *t, const int run_initial_cbs)
dlg = dlg_search(&callid, &ftag, &ttag, &dir);
if(dlg) {
if (detect_spirals) {
- if (spiral_detected == 1)
+ if (spiral_detected == 1) {
+ dlg_hash_release(&callid);
return 0;
+ }
if ( dlg->state != DLG_STATE_DELETED ) {
LM_DBG("Callid '%.*s' found, must be a spiraled request\n",
More information about the sr-dev
mailing list