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

callagent: Add a clearCallId that can be used in the used state

This commit is contained in:
Holger Hans Peter Freyther 2011-06-25 10:10:28 +02:00
parent 4d9e98f694
commit 813b227be1
1 changed files with 7 additions and 0 deletions

View File

@ -130,10 +130,17 @@ Object subclass: MGCPEndpoint [
]
callId: aCallId [
<category: 'callid'>
self requireState: self class stateReserved.
callid := aCallId.
]
clearCallId [
<category: 'callid'>
self requireState: self class stateUsed.
callid := nil.
]
connId [
<category: 'connid'>
^ connid