GsmCallFsm: Initialize calling/called during constructor

changes/71/1971/1
Harald Welte 7 years ago
parent 6ae54d430d
commit 5010316fd2
  1. 1
      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

Loading…
Cancel
Save