Vicidial Audio store Files Not Sync with Asterisk in https ssl. If you are worried about Vicidial, audio store files are not syncing with asterisk and if you are using or have enabled https/SSL access in apache. On top of that particularly using self signed SSL and accessing the vicidial https the vicidial fail to sync the audio store files also while uploading new audio file you see the error Invalid WAV file Format. In this article we will see how to resolve the Vicidial audio store sync and Invalid wav file format issue
Vicidial Audio store:
Vicidial audio store is a feature in vicidial admin portal, where you will upload the audio files which are used in IVR,welcome file, music on hold etc. the audio file should be 16bit 8k mono wav format .
Vicidial audio store sync command
In vicidial once you have uploaded the audio files via audio store menu, you need to sync the files to asterisk file systems ,so that asterisk will playback them.
To the sync the files vicidial cronjob by default enabled to sync if not you can run the command manually. If Self Signed SSL is used this command will output 0 files to sync as shown below
After running the ADMIN_audio_store_sync.pl command ,output shows 0 files.
/usr/share/astguiclient/ADMIN_audio_store_sync.pl --debugX
https://192.168.29.216/vicidial/audio_store.php?action=LIST\&audio_server_ip=192.168.29.216
REMOTE AUDIO FILES:
AUDIO FILES ON SERVER: 0
NEW DOWNLOADED: 0
NEW UPLOADED: 0
Root cause of audio sync issue
In ADMIN_audio_store_sync.pl script wget is set with options to work only with http or with proper certified SSL , not work with self signed or expired SSL certificates.
wget -q
Workaround
wget should set with below options ,that is don’t check SSL certificate.
--no-check-certificate -q
run the below Sed command ,which will replace the missing options
cd /usr/share/astguiclient/
sed -i 's/wgetbin -q/wgetbin --no-check-certificate -q/g' ADMIN_audio_store_sync.pl
Test:
Followed to the workaround run the script with –debugX
/usr/share/astguiclient/ADMIN_audio_store_sync.pl --debugx
reloading moh in asterisk
AUDIO FILES ON SERVER: 2
NEW DOWNLOADED: 2
NEW UPLOADED: 0
DONE. Script execution time in seconds: 2
Conclusion:
Hope this article is helpful to resolve the vicidial audio store sync issue under Self signed SSL access.
About Me:I'm the digital marketing specialist, competent in SEO (Google, Yahoo & Bing), Google Adwords (Search, Display, Google Shopping etc.), Facebook & Instagram Advertising etc. I can work in all platforms of digital marketing & advertise the legitimate products/services in a specific country, city or all over the world.
Request a free quote
We offer professional SEO services that help websites increase their organic search score drastically in order to compete for the highest rankings even when it comes to highly competitive keywords.
About us and this blog
We are a digital marketing company with a focus on helping our customers achieve great results across several key areas.
Subscribe to our newsletter!
Recent Posts
- Top 3 SEO Tools Used by Experts in 2023
- The Most Essential Technical SEO Tools For Agencies
- Use ad extensions to enhance the performance of your ads
- Define your ideal customer persona to understand your target audience
- Optimize your landing pages to provide a seamless user experience
- Conduct keyword research to identify high-intent and long-tail keywords
- Monitor and adjust your campaigns based on data-driven insights
- Set Realistic Goals for successful digital marketing campaign
- Use Ad Extensions for better Pay per click Advertising
- Optimizing Your Landing Pages: A Key to Successful Pay Per Click Advertising
- Conducting Keyword Research: A Crucial Step in Pay Per Click Advertising
- Understand Your Target Audience and Create Effective Marketing Campaigns