ttcn3-sip: Update default mp_mncc_version

Keep it using the older version in MNCC_Emulation for older versions of
osmo-sip-connector (last tagged released), since those doesn't support
MNCC7 yet.

Change-Id: I5dbacdd4bd8110b7f6cf6bdb561af420b65c035f
This commit is contained in:
Pau Espin 2020-09-10 18:16:07 +02:00
parent be98438d94
commit f63ab39214
2 changed files with 7 additions and 1 deletions

View File

@ -13,7 +13,7 @@
SIP_Tests.mp_local_host := "172.18.11.103" SIP_Tests.mp_local_host := "172.18.11.103"
SIP_Tests.mp_osmosip_host := "172.18.11.10" SIP_Tests.mp_osmosip_host := "172.18.11.10"
SIP_Tests.mp_mncc := "/data/unix/mncc" SIP_Tests.mp_mncc := "/data/unix/mncc"
MNCC_Emulation.mp_mncc_version := 6 MNCC_Emulation.mp_mncc_version := 7
[MAIN_CONTROLLER] [MAIN_CONTROLLER]

View File

@ -13,6 +13,12 @@ mkdir $VOL_BASE_DIR/sip-tester
mkdir $VOL_BASE_DIR/sip-tester/unix mkdir $VOL_BASE_DIR/sip-tester/unix
cp SIP_Tests.cfg $VOL_BASE_DIR/sip-tester/ cp SIP_Tests.cfg $VOL_BASE_DIR/sip-tester/
# Can be removed once osmo-sip-connector > 1.4.1 is available
if [ "$IMAGE_SUFFIX" = "latest" ]; then
sed "s/MNCC_Emulation.mp_mncc_version := 7/MNCC_Emulation.mp_mncc_version := 6/" -i \
"$VOL_BASE_DIR/sip-tester/SIP_Tests.cfg"
fi
mkdir $VOL_BASE_DIR/sip mkdir $VOL_BASE_DIR/sip
mkdir $VOL_BASE_DIR/sip/unix mkdir $VOL_BASE_DIR/sip/unix
cp osmo-sip-connector.cfg $VOL_BASE_DIR/sip/ cp osmo-sip-connector.cfg $VOL_BASE_DIR/sip/