somleng / freeswitch-config

FreeSWITCH config for Somleng
MIT License
8 stars 7 forks source link

Upload Recordings #12

Closed dwilkie closed 7 years ago

dwilkie commented 7 years ago

Possible Issues

Because we're using --volumes-from if there's a recording and then FreeSWITCH docker container changes before the cron job has been run it will not mount the recordings from the new container. That old container's volume should be still available though at sudo docker volume ls

Possible solution

Write another cron job which goes through all volumes (except for current volume) and does sync

Todo

Done

Notes

Docker

Use volumes-from to mount volumes

$ sudo docker run -it --volumes-from 9cc3b6fdfc31 garland/aws-cli-docker /bin/sh

Find the Container ID from the AWS Name tag

$ sudo docker ps -aqf "label=com.amazonaws.ecs.container-name=freeswitch"