docker/scripts/fs_cli
2023-05-07 11:07:09 +02:00

13 lines
238 B
Bash
Executable File

#!/bin/bash
set -e
cd $(dirname $0)/..
# load .env
if [ -f .env ]
then
export $(cat .env | sed 's/#.*//g' | grep "FSESL_PASSWORD" | xargs)
fi
docker compose exec freeswitch /opt/freeswitch/bin/fs_cli -H 10.7.7.1 -p "$FSESL_PASSWORD"