mo-call: Second part of the GSM48CCStatus handling
If we did something wrong, log it somewhere and close the transaction.
This commit is contained in:
parent
b8730c4fc7
commit
039cb8a337
|
@ -127,6 +127,15 @@ GSMTransaction subclass: GSMMOCall [
|
|||
^ self logUnknown: aMsg.
|
||||
]
|
||||
|
||||
moStatus: aMsg [
|
||||
<category: 'mo-message'>
|
||||
"We did something wrong, just give up and see how it can be fixed."
|
||||
self logError: 'GSMOCall(srcref:%1) something wrong with call state.'
|
||||
% {con srcRef} area: #bsc.
|
||||
self cancel.
|
||||
con removeTransaction: self.
|
||||
]
|
||||
|
||||
dispatch: aMsg [
|
||||
aMsg dispatchMoCall: self.
|
||||
]
|
||||
|
|
Reference in New Issue