diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-06-05 17:24:39 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-06-05 17:24:39 +0200 |
commit | 29242f86a1a41cfea35e01983c3547b8c1f6f036 (patch) | |
tree | 056e6c018db4161ff079af925ba9d454f51192c1 | |
parent | a28c2ab64cc202b3d8466be7cd3ac7d9f0869912 (diff) |
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.
-rw-r--r-- | callagent/session/SIPCallBase.st | 3 |
1 files changed, 3 insertions, 0 deletions
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'> <category: 'hangup-result'> 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 [ |