From 95a0eecb45ec530ce79fb04cf34d064d15742f83 Mon Sep 17 00:00:00 2001 From: Victor Seva Date: Tue, 7 Mar 2023 21:50:24 +0100 Subject: [PATCH] MT#56753 bin/check.sh: rtpengine info not needed for results * neither SIPP_VERSION Inside k-c-t-bullseye Docker image there's no rtpengine installed Change-Id: I7325391890a8b2857755cccfc92679363d4bdfe1 --- bin/check.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bin/check.sh b/bin/check.sh index 1d78c5a0..95ef6b7b 100755 --- a/bin/check.sh +++ b/bin/check.sh @@ -35,11 +35,6 @@ ERR_FLAG=0 RETRANS_SIZE=2 SIP_SERVER=127.0.0.1 -rtpengine_ctl_ip=$(grep 'listen-cli' /etc/rtpengine/rtpengine.conf|\ - awk '{print $3}') -RTPENGINE_CTL="rtpengine-ctl -ip ${rtpengine_ctl_ip}" -SIPP_VERSION=$(sipp -v | awk -F- '/SIPp/ { print $1 }' | awk '{print $2}') - # $1 kamailio msg parsed to yml # $2 destination png filename graph() { @@ -703,6 +698,11 @@ if ! "$SKIP" ; then fi if ! "$SKIP_RUNSIPP" ; then + rtpengine_ctl_ip=$(grep 'listen-cli' /etc/rtpengine/rtpengine.conf|\ + awk '{print $3}') + RTPENGINE_CTL="rtpengine-ctl -ip ${rtpengine_ctl_ip}" + SIPP_VERSION=$(sipp -v | awk -F- '/SIPp/ { print $1 }' | awk '{print $2}') + if [[ ${CHECK_TYPE} != sipp ]] ; then if ! [ -d "${KAM_DIR}" ] ; then echo "$(date) - dir and perms for ${KAM_DIR}"