Audio Store

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Audio Store

Postby ykhan » Mon Apr 26, 2010 5:40 pm

Vicidial 2.2.0rc8

When I click on the Audio Store link a blank white pop up appears only. Any ideas?

Thanks
Yousaf Khan
For installation and Support.
VoIP to North America from $0.009/min
Phone: +1 (647) 891-5426
Email: ykhan@duologuecommunications.com
ykhan
 
Posts: 352
Joined: Thu Jun 08, 2006 4:47 pm

Postby mflorell » Mon Apr 26, 2010 7:19 pm

Is your audio store directory set to writable for your apache user?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby ykhan » Tue Apr 27, 2010 8:54 am

I followed these steps:

Installed Vicidial 1.3
Upgraded to Vicidial version 2.2.0rc8
Copied database from another 2.2.0rc8 install

Now I have the wkyq2r6d0sr4r9s4z77hw8dzcf4rj7 folder in the Vicidial System Settings Page, but this cannot be changed. Is there a way for me to setup the audio store again for the new server?
Yousaf Khan
For installation and Support.
VoIP to North America from $0.009/min
Phone: +1 (647) 891-5426
Email: ykhan@duologuecommunications.com
ykhan
 
Posts: 352
Joined: Thu Jun 08, 2006 4:47 pm

Postby mflorell » Tue Apr 27, 2010 12:09 pm

Have you tried adding that directory manually?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby ykhan » Tue Apr 27, 2010 12:17 pm

Not sure what you mean. Shoudl I create a directory by that name in /var/www/html and copy all of the files from the Sounds directory?
Yousaf Khan
For installation and Support.
VoIP to North America from $0.009/min
Phone: +1 (647) 891-5426
Email: ykhan@duologuecommunications.com
ykhan
 
Posts: 352
Joined: Thu Jun 08, 2006 4:47 pm

Postby mflorell » Tue Apr 27, 2010 12:34 pm

just do a "mkdir /var/www/html/wkyq2r6d0sr4r9s4z77hw8dzcf4rj7"

then "chmod 0777 /var/www/html/wkyq2r6d0sr4r9s4z77hw8dzcf4rj7"
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby ykhan » Tue Apr 27, 2010 1:21 pm

Hi Matt,

Thanks for the help. I have tried that, but still only a blank pop up in the Audio Store. Do I need to run ADMIN_audio_store_sync.pl?
Yousaf Khan
For installation and Support.
VoIP to North America from $0.009/min
Phone: +1 (647) 891-5426
Email: ykhan@duologuecommunications.com
ykhan
 
Posts: 352
Joined: Thu Jun 08, 2006 4:47 pm

Postby mflorell » Tue Apr 27, 2010 1:45 pm

yes, run that with the --upload flag
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby ykhan » Tue Apr 27, 2010 2:39 pm

I have tried running the file with the upload flag. It seems to get stuck as the last line on the console is:

Code: Select all
----- DEBUG -----


----- UPLOAD -----


http://XXX.XXX.XXX.XXX/vicidial/audio_store.php?action=LIST\&audio_server_ip=XXX.XXX.XXX.XXX
Yousaf Khan
For installation and Support.
VoIP to North America from $0.009/min
Phone: +1 (647) 891-5426
Email: ykhan@duologuecommunications.com
ykhan
 
Posts: 352
Joined: Thu Jun 08, 2006 4:47 pm

Postby ykhan » Thu May 06, 2010 12:26 pm

RESOLVED

1. I resolved it by going to to Admin > System Settings > Central Sound Control Active and changed it to 0.
2. Then I deleted the original folder entry from the database. TABLE: system_settings, FIELD: sounds_web_directory
3. Then I reenabled the Audio Store by going to to Admin > System Settings > Central Sound Control Active and changed it to 1.
4. Then copied all files from the /var/lib/asterisk/sounds directory. (the script did not seem to work)

Now I have a functional Audio Store again in Vicidial 2.2.0rc8.
Yousaf Khan
For installation and Support.
VoIP to North America from $0.009/min
Phone: +1 (647) 891-5426
Email: ykhan@duologuecommunications.com
ykhan
 
Posts: 352
Joined: Thu Jun 08, 2006 4:47 pm

Postby mflorell » Thu May 06, 2010 6:24 pm

thank you for posting your solution
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Audio Store

Postby gers55 » Wed Sep 05, 2012 5:46 pm

Just wanted to add that below code worked great for me

Code: Select all
/usr/share/astguiclient/ADMIN_audio_store_sync.pl --upload
GoAutodial 2.1 Installer | VERSION: 2.4-309a | BUILD: 110430-1642 |1.4.39.1-vici |Dedicated Cloud Server | No other hardware
gers55
 
Posts: 76
Joined: Sun Feb 26, 2012 6:09 pm

Re: Audio Store

Postby scenarist » Mon Jun 10, 2013 7:52 am

1. Just go to the following path /usr/share/astguiclient/
2. Run the ADMIN_audio_store_sync.pl script with "perl ADMIN_audio_store_sync.pl --upload flag"
3. Upload your audio file in .wav format (16 bit, 8 kHz)

DONE!
Goautodial CE 2.1||Asterisk 1.4.39.1-vici||VERSION: 2.4-309a
BUILD: 110430-1642
Kernel Version: 2.6.18-238.9.1.el5.goPAE (SMP)
SIP trunk:15xsiptrunks|80 agents|7xserver
Model:7xIntel(R) Xeon(R) CPU E5520 @ 2.27GHz x16
CPU:2.27GHz|HDD:3*80GB|RAID 1|RAM:8GB
scenarist
 
Posts: 102
Joined: Mon May 23, 2011 2:53 am


Return to Support

Who is online

Users browsing this forum: No registered users and 100 guests