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

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:
Holger Hans Peter Freyther 2011-06-30 12:10:40 +02:00
parent f720f9ea0a
commit ef0823526f
1 changed files with 7 additions and 1 deletions

View File

@ -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'>