From 29242f86a1a41cfea35e01983c3547b8c1f6f036 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 5 Jun 2014 17:24:39 +0200 Subject: [PATCH] call: End the session at any hangup result E.g. the hangup could have failed due the other side already having hung up but at some point we need to stop caring about it. --- callagent/session/SIPCallBase.st | 3 +++ 1 file changed, 3 insertions(+) diff --git a/callagent/session/SIPCallBase.st b/callagent/session/SIPCallBase.st index 5d5772e..0a1707e 100644 --- a/callagent/session/SIPCallBase.st +++ b/callagent/session/SIPCallBase.st @@ -75,6 +75,7 @@ sessions (calls). The common code goes here'> self logNotice: ('SIPCallBase(<1s>) hang-up timedout.' expandMacrosWith: self callId) area: #sip. + self sessionEnd. ] hangupSuccess: aResponse dialog: aDialog [ @@ -87,6 +88,7 @@ sessions (calls). The common code goes here'> self logNotice: ('SIPCallBase(<1s>) hang-up success.' expandMacrosWith: self callId) area: #sip. + self sessionEnd. ] hangupFailure: aResponse dialog: aDialog [ @@ -99,6 +101,7 @@ sessions (calls). The common code goes here'> self logNotice: ('SIPCallBase(<1s>) hang-up failure.' expandMacrosWith: self callId) area: #sip. + self sessionEnd. ] remoteHangup: aRequest dialog: aDialog [