[sr-dev] git:master: dialog(k): Do not consider late requests for dialogs in " deleted"

Timo Reimann timo.reimann at 1und1.de
Wed Sep 28 20:06:05 CEST 2011


Module: sip-router
Branch: master
Commit: 908f674978349fbabb2d79d6e45381a77a716ffc
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=908f674978349fbabb2d79d6e45381a77a716ffc

Author: Timo Reimann <timo.reimann at 1und1.de>
Committer: Timo Reimann <timo.reimann at 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.

---

 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 ddfd714..5795dbd 100644
--- a/modules_k/dialog/dlg_hash.c
+++ b/modules_k/dialog/dlg_hash.c
@@ -737,6 +737,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);
@@ -747,6 +748,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);




More information about the sr-dev mailing list