aboutsummaryrefslogtreecommitdiffstats
path: root/ttcn3-sip-test
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-09-10 18:16:07 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2020-09-16 12:34:08 +0200
commitf63ab392145adaeae85af7ad3fd554ec3cc58f8c (patch)
tree3f610fdb8da51517aca36ad29a43fb95461c20c6 /ttcn3-sip-test
parentbe98438d941622ac1250e582f3405bde1fe2612a (diff)
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
Diffstat (limited to 'ttcn3-sip-test')
-rw-r--r--ttcn3-sip-test/SIP_Tests.cfg2
-rwxr-xr-xttcn3-sip-test/jenkins.sh6
2 files changed, 7 insertions, 1 deletions
diff --git a/ttcn3-sip-test/SIP_Tests.cfg b/ttcn3-sip-test/SIP_Tests.cfg
index 1ced5c3..b39d73d 100644
--- a/ttcn3-sip-test/SIP_Tests.cfg
+++ b/ttcn3-sip-test/SIP_Tests.cfg
@@ -13,7 +13,7 @@
SIP_Tests.mp_local_host := "172.18.11.103"
SIP_Tests.mp_osmosip_host := "172.18.11.10"
SIP_Tests.mp_mncc := "/data/unix/mncc"
-MNCC_Emulation.mp_mncc_version := 6
+MNCC_Emulation.mp_mncc_version := 7
[MAIN_CONTROLLER]
diff --git a/ttcn3-sip-test/jenkins.sh b/ttcn3-sip-test/jenkins.sh
index 36252b0..af5e40b 100755
--- a/ttcn3-sip-test/jenkins.sh
+++ b/ttcn3-sip-test/jenkins.sh
@@ -13,6 +13,12 @@ mkdir $VOL_BASE_DIR/sip-tester
mkdir $VOL_BASE_DIR/sip-tester/unix
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/unix
cp osmo-sip-connector.cfg $VOL_BASE_DIR/sip/