From fab3bf3d7ce3f8fd05a83fab3959bb052244bcae Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 3 Apr 2014 21:48:16 +0200 Subject: [PATCH] call; Handle "180 ringing" as ringing as well Without handling "180 ringing" as alert we will not inform the other side of the leg about our progress. A mobile station will send a CC disconnect 30 seconds after it received the proceeding information. --- src/SIPCall.st | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/SIPCall.st b/src/SIPCall.st index 0019800..57ae025 100644 --- a/src/SIPCall.st +++ b/src/SIPCall.st @@ -75,9 +75,11 @@ Osmo.SIPCall subclass: SIPMTCall [ ] sessionNotification: aNot [ + | code | "The session has some information. We will use it to tell the other leg of the connection." - (aNot code asInteger = 183) ifTrue: [ + code := aNot code asInteger. + ((code = 180) or: [code = 183]) ifTrue: [ remoteLeg isNil ifFalse: [ sdp_alert := aNot sdp. remoteLeg netAlerting]].