mncc_{test,mt_loedgen}.py: don't start calls automatically

Change-Id: I3173b94f5a5b8baea4a111193a7894b673272a24
This commit is contained in:
Oliver Smith 2020-03-04 17:22:25 +01:00 committed by Harald Welte
parent 41af37de9f
commit cf8e58e5fb
2 changed files with 12 additions and 10 deletions

View File

@ -173,8 +173,12 @@ def mt_call(msisdn_called, msisdn_calling = '123456789', codecs = GSM48.AllCodec
call_conn.start_call(msisdn_called, msisdn_calling)
return call_conn
# start one call automatically
mt_call('90001')
log.info("")
log.info("")
log.info("Start calls by typing:")
log.info(" mt_call('90001')")
log.info("")
log.info("")
# start a shell to enable the user to add more calls as needed
vars = globals().copy()

View File

@ -65,15 +65,13 @@ def connect_call(msisdn_a, msisdn_b, rtp_bridge = True, codecs = GSM48.AllCodecs
return call_conn
# start a first bogus call
connect_call("7839", "3802")
connect_call("3809", "3814")
connect_call("3805", "3806")
connect_call("3812", "3815")
connect_call("3807", "3811")
connect_call("3804", "3808")
connect_call("3803", "3813")
time.sleep(1)
log.info("")
log.info("")
log.info("Start calls by typing:")
log.info(' connect_call("90001", "90002")')
log.info("")
log.info("")
# start a shell to enable the user to add more calls as needed
vars = globals().copy()