Module: sip-router
Branch: 3.1
Commit: 77101ce36e90c6ec37128c007fc92444812b5301
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=77101ce…
Author: Timo Reimann <timo.reimann(a)1und1.de>
Committer: Timo Reimann <timo.reimann(a)1und1.de>
Date: Wed Sep 28 20:04:36 2011 +0200
dialog(k): Do not consider late requests for dialogs in "deleted"
state as bogus messages.
(cherry picked from commit 908f674978349fbabb2d79d6e45381a77a716ffc)
---
modules_k/dialog/dlg_hash.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/modules_k/dialog/dlg_hash.c b/modules_k/dialog/dlg_hash.c
index c0dedb3..03754c0 100644
--- a/modules_k/dialog/dlg_hash.c
+++ b/modules_k/dialog/dlg_hash.c
@@ -724,6 +724,7 @@ void next_state_dlg(struct dlg_cell *dlg, int event,
switch (dlg->state) {
case DLG_STATE_EARLY:
case DLG_STATE_CONFIRMED_NA:
+ case DLG_STATE_DELETED:
break;
default:
log_next_state_dlg(event, dlg);
@@ -734,6 +735,7 @@ void next_state_dlg(struct dlg_cell *dlg, int event,
case DLG_STATE_EARLY:
case DLG_STATE_CONFIRMED_NA:
case DLG_STATE_CONFIRMED:
+ case DLG_STATE_DELETED:
break;
default:
log_next_state_dlg(event, dlg);