Revert "feat(asterisk): add telecom.kz IP trunk for DID 87273901485"
This reverts commit 436821737e.
This commit is contained in:
@@ -8,7 +8,6 @@ DEPLOY_DIR="${DEPLOY_DIR:-/home/gitlab-runner/deploy/call-center}"
|
||||
APP_IMAGE_NAME="${APP_IMAGE_NAME:-call-center-app}"
|
||||
APP_IMAGE_TAG="${APP_IMAGE_TAG:-${CI_COMMIT_SHORT_SHA:-latest}}"
|
||||
COMPOSE_FILE="${COMPOSE_FILE:-$DEPLOY_DIR/deployment/docker-compose.server.yml}"
|
||||
ASTERISK_COMPOSE_FILE="${ASTERISK_COMPOSE_FILE:-$DEPLOY_DIR/deployment/docker-compose.asterisk.server.yml}"
|
||||
HEALTHCHECK_URL="${HEALTHCHECK_URL:-http://127.0.0.1:8080/health}"
|
||||
HEALTHCHECK_TIMEOUT_SECONDS="${HEALTHCHECK_TIMEOUT_SECONDS:-120}"
|
||||
|
||||
@@ -132,20 +131,3 @@ fi
|
||||
wait_for_health
|
||||
|
||||
docker ps --filter "name=^call-center-app$" --format 'table {{.Names}}\t{{.Image}}\t{{.Status}}'
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Asterisk PBX container.
|
||||
#
|
||||
# The asterisk compose file is kept separate because it uses network_mode:host
|
||||
# and a dedicated Dockerfile. Source-based deploy now also brings it up so the
|
||||
# voice channel (SIP trunks, WebRTC softphones) stays in sync with the rest of
|
||||
# the platform on every push to the default branch.
|
||||
# ---------------------------------------------------------------------------
|
||||
if [[ -f "$ASTERISK_COMPOSE_FILE" ]]; then
|
||||
echo "Deploying Asterisk PBX via $ASTERISK_COMPOSE_FILE"
|
||||
"${COMPOSE_CMD[@]}" -f "$ASTERISK_COMPOSE_FILE" config -q
|
||||
"${COMPOSE_CMD[@]}" -f "$ASTERISK_COMPOSE_FILE" up -d --build --force-recreate
|
||||
docker ps --filter "name=^call-center-asterisk$" --format 'table {{.Names}}\t{{.Image}}\t{{.Status}}'
|
||||
else
|
||||
echo "Asterisk compose file not found at $ASTERISK_COMPOSE_FILE, skipping" >&2
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user