callagent: Make it possible to store the connId here as well
This commit is contained in:
parent
4aff818878
commit
0645fa11d4
|
@ -17,7 +17,7 @@
|
||||||
"
|
"
|
||||||
|
|
||||||
Object subclass: MGCPEndpoint [
|
Object subclass: MGCPEndpoint [
|
||||||
| nr trunk state callid sdp|
|
| nr trunk state callid connid sdp|
|
||||||
<category: 'MGCP-Callagent'>
|
<category: 'MGCP-Callagent'>
|
||||||
<comment: 'I am one endpoint. I have a state...'>
|
<comment: 'I am one endpoint. I have a state...'>
|
||||||
|
|
||||||
|
@ -94,6 +94,7 @@ Object subclass: MGCPEndpoint [
|
||||||
state := self class stateUnused.
|
state := self class stateUnused.
|
||||||
sdp := nil.
|
sdp := nil.
|
||||||
callid := nil.
|
callid := nil.
|
||||||
|
connid := nil.
|
||||||
]
|
]
|
||||||
|
|
||||||
tryBlock [
|
tryBlock [
|
||||||
|
@ -132,4 +133,14 @@ Object subclass: MGCPEndpoint [
|
||||||
self requireState: self class stateReserved.
|
self requireState: self class stateReserved.
|
||||||
callid := aCallId.
|
callid := aCallId.
|
||||||
]
|
]
|
||||||
|
|
||||||
|
connId [
|
||||||
|
<category: 'connid'>
|
||||||
|
^ connid
|
||||||
|
]
|
||||||
|
|
||||||
|
connId: aConnId [
|
||||||
|
self requireState: self class stateUsed.
|
||||||
|
connid := aConnId.
|
||||||
|
]
|
||||||
]
|
]
|
||||||
|
|
Reference in New Issue