Commit Graph

7 Commits

Author SHA1 Message Date
Oliver Smith aaf4e884ec mncc_mt_loadgen.py: add codec arg
Add codec parameter to start_call() and convenience functions mt_call()
and calls() with FR as default. While at it, update the help text.

Related: SYS#4924
Change-Id: I5879b8b9ccc63908b9f6629487e66eff1e4a1ab4
2020-04-30 10:05:44 +02:00
Oliver Smith 2d24cd48c9 rtpsource: CTRL call rtp_create: add codec arg
Instead of hardcoding FR in rtpsource, add an argument to set the codec
from mncc_mt_loadgen.py via CTRL call rtp_create. Hardcode FR in
mncc_mt_loadgen.py for now, a follow up patch will make it configurable
there, too.

Related: SYS#4924
Change-Id: If75e902b451d7e202a03e93afcd55bd24f517813
2020-04-30 10:05:39 +02:00
Harald Welte 6ecdaf6c01 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
2020-03-07 21:48:08 +01:00
Neels Hofmeyr 5e6d9d3594 mncc_test: add calls() to initiate series of calls
Change-Id: I0cec9e5dc52e62247da8a3bec47917f929bde5be
2020-03-07 21:48:08 +01:00
Neels Hofmeyr a765716b8c mncc_{test,mg_loadgen}.py: Add a manual call-release function
Change-Id: I30265b765f03bd0485bdaa7d6be6d95ad678b0ee
2020-03-07 21:48:08 +01:00
Oliver Smith cf8e58e5fb mncc_{test,mt_loedgen}.py: don't start calls automatically
Change-Id: I3173b94f5a5b8baea4a111193a7894b673272a24
2020-03-07 21:48:08 +01:00
Harald Welte 41af37de9f mncc_mt_loadgen.py: Program for MT call load testing with rtpsource
This program (derived from mncc_test.py) is used to start MT calls
via the MNCC interface of OsmoMSC.  Every calls RTP is connected
to the new 'rtpsource' process, which generates a realistic RTP
flow in terms of number of packets (20ms interval) and payload size.

Change-Id: I9e5d799aaeeff5188dc97061f0d6e1873d9bf653
2020-03-07 21:48:08 +01:00