transaction: Remember if an INVITE has been canceled.
Only the INVITE transaction can be canceled, when it gets canceled we might or might not get a confirmation or we might be too late to cancel things. With this flag we will be able to do something sensible when we get a late final response.
This commit is contained in:
parent
f720f9ea0a
commit
ef0823526f
|
@ -252,7 +252,7 @@ Object subclass: SIPTransaction [
|
|||
]
|
||||
|
||||
SIPTransaction subclass: SIPInviteTransaction [
|
||||
| sdp ack_branch |
|
||||
| sdp ack_branch canceled |
|
||||
<category: 'RFC3161 17.2.1'>
|
||||
|
||||
"200ms to get TRYING or OK"
|
||||
|
@ -264,6 +264,12 @@ SIPTransaction subclass: SIPInviteTransaction [
|
|||
yourself.
|
||||
]
|
||||
|
||||
initialize [
|
||||
<category: 'creation'>
|
||||
super initialize.
|
||||
canceled := false
|
||||
]
|
||||
|
||||
transmit [
|
||||
| invite |
|
||||
<category: 'transmit'>
|
||||
|
|
Reference in New Issue