Page 1 of 1

Audio Store doesnt populate and chooser shows white box

PostPosted: Wed Nov 16, 2011 7:13 pm
by josh1856
Ok, I am stumped and probably missing something simple.

When I originally followed the paid manual setup of the audio store and after a recent SVN trunk upgrade I am receiving the following errors.

Clicking on Campaign->campaign->Detail View->Survey->audio chooser produces a white box that cannot be exited out of unless you click off on another tab in the menu panel.

Clicking on Admin->Audio Store the server responds with "ERROR: server(dialer) does not match sounds web server ip(192.168.0.24)"

Admin->System Settings->Sounds Web Directory: produces:

Object not found!

The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.

If you think this is a server error, please contact the webmaster.
Error 404
10.0.0.254
Wed Nov 16 17:42:13 2011
Apache/2.2.10 (Linux/SUSE)


Central Sound Control Active: 1
Sounds web server is set to: 192.168.0.24

Already ran from the CLI:
/usr/share/astguiclient/ADMIN_audio_store_sync.pl --upload

Thanks in advance.

Additional links used:
http://www.eflo.net/VICIDIALforum/viewt ... 7a2bf092ad

[/b]

PostPosted: Wed Nov 16, 2011 8:14 pm
by williamconley
does the directory exist in /srv/www/htdocs?

is 192.168.0.24 the ip address of the server? (and is that the IP you are using it at?)

PostPosted: Wed Nov 16, 2011 8:18 pm
by josh1856
If you are talking about the random directory "mgfd5v37mm6hmkwy5mw69z8211gc01" no that does not exsit in /srv/www/htdocs and yes that is the ip address for the server.

PostPosted: Wed Nov 16, 2011 8:25 pm
by williamconley
then you want to start over. if the directory was not created when you set up your sound server ... something is amiss. that folder is meant to be created to initialize the system and give it a "container" in which to store the audio store files, which will then be Synced to the asterisk sounds folder based on the scripted audio store system timing.

PostPosted: Wed Nov 16, 2011 8:27 pm
by josh1856
Perhaps you can point me in the right direction? I followed everything in the purchased manual.

PostPosted: Mon Jan 02, 2012 4:32 pm
by josh1856
FYI: I started over with a fresh install and it worked for almost 2 months then the same error happened. any additional thoughts?

Audio Store: spits out
ERROR: server(server) does not match sounds web server ip(xxx.xxx.xxx.xxx)

Sounds directory access through www:
Access forbidden!
You don't have permission to access the requested directory. There is either no index document or the directory is read-protected.
If you think this is a server error, please contact the webmaster.
Error 403
Mon Jan 2 15:36:28 2012
Apache/2.2.15 (Linux/SUSE)

Re: Audio Store doesnt populate and chooser shows white box

PostPosted: Mon Oct 15, 2012 7:54 pm
by udfxrookie
go to Admin -> System Settings and copy whatever it has for your Sounds Web Directory, i.e. 35mTalEHDSAF3i1Klx5d1fs5d1fvdwE
now on your dialer check what the folder name is at /srv/www/htdocs it will look long and freaky but maybe a different passphrase, rename that directory 35mTalEHDSAF3i1Klx5d1fs5d1fvdwE then set permission to 777

Re: Audio Store doesnt populate and chooser shows white box

PostPosted: Mon Oct 15, 2012 8:07 pm
by williamconley
Ordinarily this error happens when you access the dialer through a "domain name" instead of an "IP Address". It's not really saying something is "bad" or "broken", it's actually just making sure you are on the right server. Since it has No Way of knowing this other than the value in the System Settings for the audio store ... you have to be sure you have that set to the actual domain name or IP that you will access this server through.

if you always use the domain name, put that in (not the "http://" part or the "/audio_store.php" part, just the domain name part: http://www.xxxxxx.com

This happens when you've been running the system for a while, and add a domain name but dont access the store for a while ... then you access the store and forget that the domain name was changed or added a week or two ago and now you have no idea why it's broken. It's not broken, you are merely accessing it with "www.sillydial.com" instead of "192.168.51.12" like you used to, and the system settings show 192.168.51.12. So the system thinks you may be on the wrong server and tosses this error. Change the system setting to www.sillydial.com if that's your new domain name and *poof* bob's your uncle.

Re: Audio Store doesnt populate and chooser shows white box

PostPosted: Fri Feb 13, 2015 6:45 am
by Oceans247

Re: Audio Store doesnt populate and chooser shows white box

PostPosted: Thu Jul 12, 2018 8:04 am
by dspaan
williamconley wrote:Ordinarily this error happens when you access the dialer through a "domain name" instead of an "IP Address". It's not really saying something is "bad" or "broken", it's actually just making sure you are on the right server. Since it has No Way of knowing this other than the value in the System Settings for the audio store ... you have to be sure you have that set to the actual domain name or IP that you will access this server through.

if you always use the domain name, put that in (not the "http://" part or the "/audio_store.php" part, just the domain name part: http://www.xxxxxx.com

This happens when you've been running the system for a while, and add a domain name but dont access the store for a while ... then you access the store and forget that the domain name was changed or added a week or two ago and now you have no idea why it's broken. It's not broken, you are merely accessing it with "www.sillydial.com" instead of "192.168.51.12" like you used to, and the system settings show 192.168.51.12. So the system thinks you may be on the wrong server and tosses this error. Change the system setting to http://www.sillydial.com if that's your new domain name and *poof* bob's your uncle.


Sorry to bump this old thread but i was having the same issue today and William's explanation was related to my issue. This was a migrated server that in the past had a different domain name for the audio store under system settings.

When i used /usr/share/astguiclient/ADMIN_audio_store_sync.pl --debug it would say there are 0 files in the audio store. Once i changed the new domain name that i had set in the system settings > Sounds Web Server field back to the IP of the server and then ran the audio store sync script again voila it found all the files.

But when i change it back to the domain name it's broken again. I think i know why:

myserver:/srv/www/htdocs # /usr/share/astguiclient/ADMIN_audio_store_sync.pl --debug

----- DEBUG -----


http://server.mydomain.nl/vicidial/audi ... ction=LIST\&audio_server_ip=11.11.11.111
REMOTE AUDIO FILES:
AUDIO FILES ON SERVER: 0
NEW DOWNLOADED: 0
NEW UPLOADED: 0

DONE. Script execution time in seconds: 0



Note: I replaced my actual IP with 11.11.11.111 just for this thread.

So why does vicidial think my audio server has an IP and not a domain name. Where do i change audio_server_ip?