2020-09-16 00:24:38 +02:00
|
|
|
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
|
|
|
|
cd $(dirname $0)/..
|
|
|
|
|
2022-01-27 09:53:45 +01:00
|
|
|
# load .env
|
|
|
|
if [ -f .env ]
|
|
|
|
then
|
|
|
|
export $(cat .env | sed 's/#.*//g' | grep "FSESL_PASSWORD" | xargs)
|
|
|
|
fi
|
|
|
|
|
|
|
|
docker-compose exec freeswitch fs_cli -H 10.7.7.1 -p "$FSESL_PASSWORD"
|