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:
parent
b98ef6f373
commit
fab3bf3d7c
|
@ -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]].
|
||||
|
|
Reference in New Issue