nano /etc/apache2/confid/vicirecord.conf
Alias /RECORDINGS/ "/var/spool/asterisk/monitorDONE/"
<Directory "/var/spool/asterisk/monitorDONE">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
<files *.mp3>
Forcetype application/forcedownload
</files>
</Directory>
chmod 755 /var/spool/asterisk
systemctl restart apache2
Check its working or not.
http://SERVERIP/RECORDINGS
Comments
Post a Comment