smalltalk
/
osmo-st-msc
Archived
1
0
Fork 0

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.
This commit is contained in:
Holger Hans Peter Freyther 2014-04-03 21:48:16 +02:00
parent b98ef6f373
commit fab3bf3d7c
1 changed files with 3 additions and 1 deletions

View File

@ -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]].