You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kamailio-config-tests/sipp.sh

14 lines
341 B

#!/bin/bash
if [[ $# -ne 1 ]]; then
echo "Usage: sipp.sh scenario.xml"
exit 1
fi
if [ ! -f $1 ]; then
echo "No $1 file found"
exit 1
fi
BASE_DIR=$(dirname $1)
IP="127.0.0.1"
PORT="50603"
sipp -inf ${BASE_DIR}/../callee.csv -inf ${BASE_DIR}/../caller.csv -sf $1 -i $IP \
-nd -t ul -p $PORT $IP -m 1 -timeout 15 -timeout_error -trace_err