GetOuttaHereAU / docker-asterisk

A docker image for Asterisk - a software implementation of private branch exchange (PBX)
1 stars 0 forks source link

Config symlinks broken & /var/www/ not carried over to final image. #6

Open realJoshByrnes opened 3 years ago

realJoshByrnes commented 3 years ago

Currently the /var/www directory isn't carried over to the final build.

Some of the configuration files found in /etc/asterisk/.conf are actually symlinks to /var/www/html/admin/modules/core/etc/.conf files.

The config files in /var/www should be moved into persistent storage, and the rest of the /var/www folder should be stored in the final built image.

eg

extensions.conf -> /var/www/html/admin/modules/core/etc/extensions.conf
features.conf -> /var/www/html/admin/modules/core/etc/features.conf
http.conf -> /var/www/html/admin/modules/core/etc/http.conf
iax.conf -> /var/www/html/admin/modules/core/etc/iax.conf
logger.conf -> /var/www/html/admin/modules/logfiles/etc/logger.conf
res_odbc.conf -> /var/www/html/admin/modules/core/etc/res_odbc.conf
rtp.conf -> /var/www/html/admin/modules/core/etc/rtp.conf
sip.conf -> /var/www/html/admin/modules/core/etc/sip.conf
sip_notify.conf -> /var/www/html/admin/modules/core/etc/sip_notify.conf
udptl.conf -> /var/www/html/admin/modules/core/etc/udptl.conf
realJoshByrnes commented 3 years ago

Note: logger.conf is not in /var/www/html/admin/modules/core/etc core storage, while the other files are.