Audio Store doesnt populate and chooser shows white box

All installation and configuration problems and questions

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

Audio Store doesnt populate and chooser shows white box

Postby josh1856 » Wed Nov 16, 2011 7:13 pm

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]
Vicibox Redux 3.1.6 64 bit
Asterisk: 1.4.21.2 | VERSION: 2.4-347a | BUILD: 111106-1116
Servers: 1 x
No additional software
josh1856
 
Posts: 39
Joined: Thu Mar 18, 2010 12:05 am

Postby williamconley » Wed Nov 16, 2011 8:14 pm

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?)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20018
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby josh1856 » Wed Nov 16, 2011 8:18 pm

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.
Vicibox Redux 3.1.6 64 bit
Asterisk: 1.4.21.2 | VERSION: 2.4-347a | BUILD: 111106-1116
Servers: 1 x
No additional software
josh1856
 
Posts: 39
Joined: Thu Mar 18, 2010 12:05 am

Postby williamconley » Wed Nov 16, 2011 8:25 pm

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.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20018
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby josh1856 » Wed Nov 16, 2011 8:27 pm

Perhaps you can point me in the right direction? I followed everything in the purchased manual.
Vicibox Redux 3.1.6 64 bit
Asterisk: 1.4.21.2 | VERSION: 2.4-347a | BUILD: 111106-1116
Servers: 1 x
No additional software
josh1856
 
Posts: 39
Joined: Thu Mar 18, 2010 12:05 am

Postby josh1856 » Mon Jan 02, 2012 4:32 pm

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)
Vicibox Redux 3.1.6 64 bit
Asterisk: 1.4.21.2 | VERSION: 2.4-347a | BUILD: 111106-1116
Servers: 1 x
No additional software
josh1856
 
Posts: 39
Joined: Thu Mar 18, 2010 12:05 am

Re: Audio Store doesnt populate and chooser shows white box

Postby udfxrookie » Mon Oct 15, 2012 7:54 pm

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
Vicibox 6.0.2 from Vicibox_v.6.0.x86_64-6.0.2.iso | Vicidial 2.10-452n build: 14111-0554 | Asterisk 1.8.31.0-vici | 1 AIO Setup Helping local companies startup www.AKAMarketing.net
udfxrookie
 
Posts: 178
Joined: Thu Dec 10, 2009 9:42 am
Location: Florida

Re: Audio Store doesnt populate and chooser shows white box

Postby williamconley » Mon Oct 15, 2012 8:07 pm

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.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20018
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Re: Audio Store doesnt populate and chooser shows white box

Postby dspaan » Thu Jul 12, 2018 8:04 am

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?
Regards, Dennis

Vicibox 9.0.1
Version: 2.14b0.5
SVN Version: 3199
DB Schema Version: 1588
Build: 200310-1801
dspaan
 
Posts: 1374
Joined: Fri Aug 21, 2009 1:40 pm
Location: The Netherlands


Return to Support

Who is online

Users browsing this forum: No registered users and 74 guests