Add missing host flag to pjsua_call script

This commit is contained in:
ionutboangiu
2025-01-23 11:18:07 +02:00
committed by Dan Christian Bogos
parent 178ae35d9b
commit 85f9bc410e

View File

@@ -9,7 +9,7 @@ VERBOSE=false
DRYRUN=false
# Parse command line options
OPTS=$(getopt -o f:t:d:p:r:P:vDh --long from:,to:,dur:,port:,registrar:,passwd:,verbose,dryrun,help -n "$(basename "$0")" -- "$@")
OPTS=$(getopt -o f:t:d:H:p:r:P:vDh --long from:,to:,dur:,host:,port:,registrar:,passwd:,verbose,dryrun,help -n "$(basename "$0")" -- "$@")
if [ $? -ne 0 ]; then
echo "Failed to parse options." >&2
exit 1
@@ -104,4 +104,4 @@ if [ "${VERBOSE}" = true ]; then
fi
if [ "${DRYRUN}" = false ]; then
${cmd}
fi
fi