aboutsummaryrefslogtreecommitdiffstats
path: root/gsm_call_fsm.py
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2020-03-07 15:56:08 +0100
committerHarald Welte <laforge@osmocom.org>2020-03-07 21:48:08 +0100
commit6ecdaf6c016be838e45735b9622ee67db0e41d8a (patch)
treedd3679319843e54078bce232536871b6fe19e4c6 /gsm_call_fsm.py
parent5e6d9d359490406ca7eaa13bd3c050e95ae2bb2e (diff)
mncc_mt_loadgen: Don't call GsmCallFsm() with rtp_bridge=True
rtp_bridge=True triggers the automatic transmission of a MNCC_RTP_CREATE when that call goes into ACTIVE state. We don't want this in the case of mncc_mt_loadgen, as we perform this at a much sooner point in time. Change-Id: I8816ccb8c7dce2958496c81a95f1a91bc33e772b
Diffstat (limited to 'gsm_call_fsm.py')
-rw-r--r--gsm_call_fsm.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/gsm_call_fsm.py b/gsm_call_fsm.py
index c8bcf39..5f846e1 100644
--- a/gsm_call_fsm.py
+++ b/gsm_call_fsm.py
@@ -228,8 +228,6 @@ class GsmCallFsm(pykka.ThreadingActor):
# RTP
def _do_mncc_rtp_create_ind(self, mncc_msg):
- if self.rtp_bridge == False:
- raise Exception('GsmCallFsm', 'rtp_create_ind but not in RTP bridge mode')
self.rtp = mncc_msg
# notify the call controller about this
self.ctrl_ref.tell({'type':'rtp_create_ind', 'called':self.called, 'rtp':self.rtp})
@@ -336,8 +334,6 @@ class GsmCallConnector(pykka.ThreadingActor):
def rtp_created(self, msisdn, rtp):
log.info('CallConnector:rtp_created(%s) %s' % (msisdn, rtp))
- if self.rtp_bridge == False:
- raise Exception('GsmCallConnector', 'rtp_created but not in RTP bridge mode')
if msisdn == self.msisdn_a: # A->B leg
self.rtp_a = rtp
elif msisdn == self.msisdn_b: # B->A leg