aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2015-12-05 13:57:51 +0100
committerHarald Welte <laforge@gnumonks.org>2015-12-05 13:57:51 +0100
commit5010316fd2185fdb9ad7bf37b4b9f9ef8f874dda (patch)
tree7433a37645acb9f6ffe22ddc557cbaccfc055c12
parent6ae54d430d8af3d224caab549bfae583f3980212 (diff)
GsmCallFsm: Initialize calling/called during constructor
-rw-r--r--gsm_call_fsm.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/gsm_call_fsm.py b/gsm_call_fsm.py
index 0c36ddb..644a784 100644
--- a/gsm_call_fsm.py
+++ b/gsm_call_fsm.py
@@ -127,6 +127,7 @@ class GsmCallFsm(pykka.ThreadingActor):
def __init__(self, mncc_ref, ctrl_ref = None, rtp_bridge = True, codecs_permitted = GSM48.AllCodecs):
super(GsmCallFsm, self).__init__()
self.mncc_ref = mncc_ref;
+ self.calling = self.called = None
self.callref = self._get_next_callref()
self.ctrl_ref = ctrl_ref
self.rtp_bridge = rtp_bridge