vicidial audiostore files not sync with asterisk in https ssl
In Vicidial, audio store files might not sync with asterisk if you are using or enabled https/SSL access in apache. 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 audiostore files not sync with asterisk in https ssl |
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
https://192.168.29.216/vicidial/audio_store.php?action=LIST\&audio_server_ip=192.168.29.216REMOTE AUDIO FILES:AUDIO FILES ON SERVER: 0NEW DOWNLOADED: 0NEW UPLOADED: 0
Root cause of audio sync issue
Workaround
--no-check-certificate -q
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. For professional support reach me on skype or telegram id: striker24x7
How to sync audio files in vicidial with HTTPS or SSL enabled
excellent