Page 1 of 1

Changing audio location

PostPosted: Mon Dec 21, 2020 5:14 pm
by Joss2103
Good day,

Sorry there is a physical vicidial server in which we want to change the location of the audio storage to an external disk, do you know where I can make this configuration?

Thanks!

Re: Changing audio location

PostPosted: Tue Dec 22, 2020 7:47 am
by carpenox
audio storage for what? audio store? recordings from calls?

Re: Changing audio location

PostPosted: Sat Jan 23, 2021 11:52 am
by williamconley
Joss2103 wrote:Good day,

Sorry there is a physical vicidial server in which we want to change the location of the audio storage to an external disk, do you know where I can make this configuration?

Thanks!


Audio storage is not actually linked to a server **IF** you use the "/usr/share/astguiclient/AST_CRON_audio_3_ftp.pl" script. This script pushes the audio files from the ../monitorDONE/MP3 folder to any remote FTP server, and changes the URL of the recording to the new location based on the settings in /etc/astguiclient.conf for "# FTP recording archive connection information". Of course, this works very well if the FTP server is also a Web server.

If files have already been sent to an FTP server with this method and you need to change the location (ie: modify the URL), there is a script designed to modify the location in the URLs of the recordings table "in bulk":

/usr/share/astguiclient/ADMIN_update_archive_url.pl

Once this script has done its job, all the links in all locations within Vicidial will show the new location and the users will not notice the difference unless they take the time to read the URL.

It is not necessary that this location be a Vicidial server, but it can be. It can even be on the same server. All that is required is FTP read/write and Web server to be able to access the files via their new links.