mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Add missing host flag to pjsua_call script
This commit is contained in:
committed by
Dan Christian Bogos
parent
178ae35d9b
commit
85f9bc410e
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user