aboutsummaryrefslogtreecommitdiffstats
path: root/callagent/MGCPEndpoint.st
diff options
context:
space:
mode:
Diffstat (limited to 'callagent/MGCPEndpoint.st')
-rw-r--r--callagent/MGCPEndpoint.st13
1 files changed, 13 insertions, 0 deletions
diff --git a/callagent/MGCPEndpoint.st b/callagent/MGCPEndpoint.st
index 53de003..fd2750b 100644
--- a/callagent/MGCPEndpoint.st
+++ b/callagent/MGCPEndpoint.st
@@ -92,6 +92,8 @@ Object subclass: MGCPEndpoint [
<category: 'allocation'>
self requireState: self class stateUsed.
state := self class stateUnused.
+ sdp := nil.
+ callid := nil.
]
tryBlock [
@@ -117,6 +119,17 @@ Object subclass: MGCPEndpoint [
sdp: aSdp [
<category: 'sdp'>
+ self requireState: self class stateUsed.
sdp := aSdp.
]
+
+ callId [
+ <category: 'callid'>
+ ^ callid
+ ]
+
+ callId: aCallId [
+ self requireState: self class stateReserved.
+ callid := aCallId.
+ ]
]