Hosted Vicidial server starts from $39 Contact Us Buy Now!

vicidial audiostore files not sync with asterisk in https ssl

TOPIC: Vicidial Audio store sync to asterisk over https or SSL 

vicidial audiostore sync over https ssl


Overview :
Vicidial audio store files not syncing with asterisk ,if Sounds Web Server URL is set to https or SSL enabled.

After running the ADMIN_audio_store_sync.pl command 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


Cause of this issue:

In ADMIN_audio_store_sync.pl script wget is set with options to work only with http.
wget -q

workaround:

wget should set with below options
--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

 

Post a Comment

Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.