callagent: Add a clearCallId that can be used in the used state
This commit is contained in:
parent
4d9e98f694
commit
813b227be1
|
@ -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
|
||||
|
|
Reference in New Issue