Audio Store Not Working

All installation and configuration problems and questions

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

Audio Store Not Working

Postby hiadviser » Tue Sep 24, 2013 5:08 pm

I can't seem to access my Audio Store. I can upload a file no problem, but when I click on audio chooser in any menu, I just get a white, blank, popup. It doesn't tell me access denied, so I know the user I am using has access to use it.

Not sure what the issue is. Any help is greatly appreciated. Thank you.
ViciDial VERSION: 2.14-583a | BUILD: 161226-2224 | Asterisk 11.22.0-vici | Cluster Setp - 3 Web, 1 DB| No Digium/Sangoma Hardware | No Extra Software | HP ProLiant DL360 G6, 48GB RAM, 16 x Intel Xeon X5550 2.67GHz, 480GB SSD
hiadviser
 
Posts: 71
Joined: Wed Dec 05, 2012 9:29 am

Re: Audio Store Not Working

Postby GaD » Wed Sep 25, 2013 6:49 pm

What does
Code: Select all
 ls /var/lib/asterisk/sounds

display? Do you see your audio files there?

What does
Code: Select all
 ls -l /var/lib/asterisk

display? Does it show something like
Code: Select all
 drwxrwxrwx 13 root     root     65536 2013-09-25 14:27 sounds
GaD
 
Posts: 195
Joined: Fri Jul 08, 2011 3:56 pm

Re: Audio Store Not Working

Postby hiadviser » Wed Sep 25, 2013 7:38 pm

Ok the first one shows all of the sound files. I don't see the one I uploaded though.

The second one shows me this:
Code: Select all
total 56
drwxr-xr-x  2 root root  4096 Aug 24 08:39 agi-bin
-rw-r--r--  1 root root  8192 Sep 25 17:36 astdb
drwxr-xr-x  2 root root  4096 Sep 16 06:45 default
drwxr-xr-x  2 root root  4096 Aug 24 08:39 images
drwxr-xr-x  2 root root  4096 Aug 24 08:39 keys
drwxr-xr-x  2 root root  4096 Aug 24 08:39 moh
drwxr-xr-x  2 root root  4096 Aug 24 08:39 mohmp3
drwxrwxrwx 10 root root 20480 Aug 24 08:39 sounds
drwxr-xr-x  2 root root  4096 Aug 24 08:39 static-http
ViciDial VERSION: 2.14-583a | BUILD: 161226-2224 | Asterisk 11.22.0-vici | Cluster Setp - 3 Web, 1 DB| No Digium/Sangoma Hardware | No Extra Software | HP ProLiant DL360 G6, 48GB RAM, 16 x Intel Xeon X5550 2.67GHz, 480GB SSD
hiadviser
 
Posts: 71
Joined: Wed Dec 05, 2012 9:29 am

Re: Audio Store Not Working

Postby GaD » Wed Sep 25, 2013 8:17 pm

In system settings check out the 'Sounds Web Directory' settings, you will see a random string 'name'. Go (on the CLI) to /srv/www/htdocs/<weird-name> and see if the audios are there.

In the system settings menu there is an option: "Central Sound Control Active" Try turning that 'on' and then go into your server settings Admin > Servers > <server-name-here> and select 'Y' on Sounds Update. Hit Submit. Give it a couple of minutes and check both directories.
GaD
 
Posts: 195
Joined: Fri Jul 08, 2011 3:56 pm

Re: Audio Store Not Working

Postby hiadviser » Wed Sep 25, 2013 9:12 pm

Ok so I tried to go to that directory and it doesn't even exist. Should I create it?

And the Central Sound Control was already set to Active, but I ran the Sounds Update in the Server settings and still the same issue. Just a blank white screen when the audio store pops up.
ViciDial VERSION: 2.14-583a | BUILD: 161226-2224 | Asterisk 11.22.0-vici | Cluster Setp - 3 Web, 1 DB| No Digium/Sangoma Hardware | No Extra Software | HP ProLiant DL360 G6, 48GB RAM, 16 x Intel Xeon X5550 2.67GHz, 480GB SSD
hiadviser
 
Posts: 71
Joined: Wed Dec 05, 2012 9:29 am

Re: Audio Store Not Working

Postby GaD » Wed Sep 25, 2013 11:22 pm

Yeah, go ahead and create it. Make sure you either www-own it or chmod-777 it. Try uploading the file again and let me know....
GaD
 
Posts: 195
Joined: Fri Jul 08, 2011 3:56 pm

Re: Audio Store Not Working

Postby hiadviser » Thu Sep 26, 2013 12:06 am

Ok I created it and still same blank box....
ViciDial VERSION: 2.14-583a | BUILD: 161226-2224 | Asterisk 11.22.0-vici | Cluster Setp - 3 Web, 1 DB| No Digium/Sangoma Hardware | No Extra Software | HP ProLiant DL360 G6, 48GB RAM, 16 x Intel Xeon X5550 2.67GHz, 480GB SSD
hiadviser
 
Posts: 71
Joined: Wed Dec 05, 2012 9:29 am

Re: Audio Store Not Working

Postby GaD » Thu Sep 26, 2013 3:13 pm

Have you uploaded an audio file? Go ahead and upload one, then, on the CLI enter
Code: Select all
updatedb


and then
Code: Select all
locate <enter-name-of-file-you-uploaded>


It wil show you the location where the file is (if it uploaded). If it returns no results go ahead and check on /var/log/apache/error.log see if there were any errors while uploading....

Let me know how it goes...
GaD
 
Posts: 195
Joined: Fri Jul 08, 2011 3:56 pm

Re: Audio Store Not Working

Postby hiadviser » Mon Sep 30, 2013 9:30 am

Still no dice. Nothing in the error log what so ever. If I click on the log link of the audio store, I can see the file was uploaded. At least that's what it says. But I can't find it anywhere on my server and the white box still comes up.
ViciDial VERSION: 2.14-583a | BUILD: 161226-2224 | Asterisk 11.22.0-vici | Cluster Setp - 3 Web, 1 DB| No Digium/Sangoma Hardware | No Extra Software | HP ProLiant DL360 G6, 48GB RAM, 16 x Intel Xeon X5550 2.67GHz, 480GB SSD
hiadviser
 
Posts: 71
Joined: Wed Dec 05, 2012 9:29 am

Re: Audio Store Not Working

Postby gers55 » Tue Oct 01, 2013 6:32 pm

This normally works for me along with a reboot also be sure that Sounds Web Server: is set on the correct IP for your server. After you reboot upload a sound file via the audio store uploader via admin.php and then the directory will appear.

mkdir /var/www/html/5wf55gk458y8nh0j55zpsr7yjd3wy1

chmod 0777 /var/www/html/5wf55gk458y8nh0j55zpsr7yjd3wy1

/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 Not Working

Postby GaD » Tue Oct 01, 2013 7:23 pm

Also do the
Code: Select all
updatedb
locate <name-of-file>
GaD
 
Posts: 195
Joined: Fri Jul 08, 2011 3:56 pm

Re: Audio Store Not Working

Postby hiadviser » Tue Oct 01, 2013 11:57 pm

Yes! Worked like a charm gers55. Thank you very much. And thanks to you too GaD!
ViciDial VERSION: 2.14-583a | BUILD: 161226-2224 | Asterisk 11.22.0-vici | Cluster Setp - 3 Web, 1 DB| No Digium/Sangoma Hardware | No Extra Software | HP ProLiant DL360 G6, 48GB RAM, 16 x Intel Xeon X5550 2.67GHz, 480GB SSD
hiadviser
 
Posts: 71
Joined: Wed Dec 05, 2012 9:29 am

Re: Audio Store Not Working

Postby divan009 » Wed Sep 03, 2014 12:34 am

@gers55 this worked for me too!
divan009
 
Posts: 1
Joined: Wed Sep 03, 2014 12:32 am

Re: Audio Store Not Working

Postby sidd » Sun Nov 30, 2014 1:43 am

nice Tutorial guys, it worked for me too. :)
sidd
 
Posts: 1
Joined: Sun Nov 30, 2014 1:39 am

Re: Audio Store Not Working

Postby udy786 » Tue May 03, 2016 8:25 am

Worked for me too. :)
udy786
 
Posts: 148
Joined: Fri Jul 19, 2013 10:55 am


Return to Support

Who is online

Users browsing this forum: Majestic-12 [Bot] and 129 guests