deleyed agent web page

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

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

deleyed agent web page

Postby viciflash » Fri Jul 22, 2011 9:58 am

we're experiencing delayed agent web page. what are the things to check?

only less than 10 agents and yet they're experiencing this.

im going to check the db. what other things should i check?
GoAutoDial 2.0CE - standard install
Asterisk: 1.4.27.1-1
Vicidial: 2.2.1-237
Build: 100510-2015
Telephony cards: none
viciflash
 
Posts: 148
Joined: Sat Feb 19, 2011 3:23 am

Postby callcrazy » Fri Jul 22, 2011 12:31 pm

Delayed agent web page means...?

The main screen for vicidial the agent logs into is slow to perform actions?

The agent is in a call 10 seconds before the data appears on the screen?

The script that loads from an external url to load the webform is delayed?
Vicibox 6.0.4 from .iso | VERSION: 2.12-538a BUILD: 160122-1401 | Asterisk 1.8.32.3-vici | 1xDB, 2xWeb, 7xPBX | Amfeltec Timers | Sangoma/Lyra AMD | Dell Hardware
callcrazy
 
Posts: 122
Joined: Fri Sep 10, 2010 11:30 am
Location: MI

Postby viciflash » Fri Jul 22, 2011 7:41 pm

Delayed agent web page means...?

The main screen for vicidial the agent logs into is slow to perform actions?
- yes, it takes time to load the page and the info of the called party

The agent is in a call 10 seconds before the data appears on the screen?
- sometimes longer.

The script that loads from an external url to load the webform is delayed?
- no script is loaded.
GoAutoDial 2.0CE - standard install
Asterisk: 1.4.27.1-1
Vicidial: 2.2.1-237
Build: 100510-2015
Telephony cards: none
viciflash
 
Posts: 148
Joined: Sat Feb 19, 2011 3:23 am

Postby gardo » Tue Jul 26, 2011 3:51 pm

Looks like you've been playing with the system too much. :D What's the content of your /etc/my.cnf?
http://goautodial.com
Empowering the next generation contact centers
gardo
 
Posts: 1926
Joined: Fri Sep 15, 2006 10:24 am
Location: Manila, 1004

Postby viciflash » Tue Jul 26, 2011 6:35 pm

Haha. Not really. :)

Anyway, here is the my.cnf
Code: Select all
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1
skip-name-resolve
skip-host-cache
max_connections=200

[mysql.server]
user=mysql
basedir=/var/lib

# JDM
#bind-address=192.168.111.222
port=3306

[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid


I was thinking that this might have something to do with proxy. I removed the gateway IP of all computers and use proxy instead to browse the net.
GoAutoDial 2.0CE - standard install
Asterisk: 1.4.27.1-1
Vicidial: 2.2.1-237
Build: 100510-2015
Telephony cards: none
viciflash
 
Posts: 148
Joined: Sat Feb 19, 2011 3:23 am

Postby gardo » Wed Jul 27, 2011 3:03 am

How's the load average of your server? Have you tried switching back the gateway settings of your workstation and see if everything goes back to normal?
http://goautodial.com
Empowering the next generation contact centers
gardo
 
Posts: 1926
Joined: Fri Sep 15, 2006 10:24 am
Location: Manila, 1004

Postby williamconley » Wed Jul 27, 2011 4:18 pm

Yep, your proxy is slowing you down. You should set up a bypass to allow direct access to Vicidial Only and proxy everywhere else. Although, honestly, they shouldn't be allowed to GO anywhere else. Often this can be accomplished with DNS (if the only record you can look up in DNS is your Vicidial server ... you can't go anywhere else).
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: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby viciflash » Thu Aug 11, 2011 6:11 pm

i just want to update this. yes the proxy seems to be the culprit. i remove the proxy settings and put back their gateways. no problem so far.

my objective before was to remove their internet access (thus removing gateway) and use proxy to browse instead.

i already set the firewall/proxy to bypass it when accessing local address. im using pfSense btw.

:(
GoAutoDial 2.0CE - standard install
Asterisk: 1.4.27.1-1
Vicidial: 2.2.1-237
Build: 100510-2015
Telephony cards: none
viciflash
 
Posts: 148
Joined: Sat Feb 19, 2011 3:23 am

Postby williamconley » Fri Aug 12, 2011 10:07 pm

proxies are complicated. why not just lock them to the ip address of the vicidial server for outbound access?
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: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby viciflash » Mon Aug 15, 2011 6:14 pm

i use proxy to disable their direct internet access thru NAT. i removed their gateway. this way, im sure that internet access is thru proxy. and none can access directly the internet.
GoAutoDial 2.0CE - standard install
Asterisk: 1.4.27.1-1
Vicidial: 2.2.1-237
Build: 100510-2015
Telephony cards: none
viciflash
 
Posts: 148
Joined: Sat Feb 19, 2011 3:23 am

Postby williamconley » Mon Aug 15, 2011 6:54 pm

unfortunately the proxy breaks vicidial. so try using your router to limit outbound access to vicidial only instead. won't affect speed or throughput, just limit the locations.
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: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby viciflash » Tue Aug 16, 2011 8:28 pm

i'll remove the NAT and see if the problem still occurs. if it works, my next issue is how to give them limited internet access.

proxy? haha. put back the NAT? :(
GoAutoDial 2.0CE - standard install
Asterisk: 1.4.27.1-1
Vicidial: 2.2.1-237
Build: 100510-2015
Telephony cards: none
viciflash
 
Posts: 148
Joined: Sat Feb 19, 2011 3:23 am

Postby williamconley » Tue Aug 16, 2011 8:42 pm

use the IP address of the vicidial server instead of the FQDN. Remove their DNS settings (or configure your router to refuse to respond to DNS requests from them). No DNS = no internet, no "www". But still networking will work fine (as long as it's all IP address-based, which google and facebook are NOT, LOL).

Many routers will allow functions easier than that, such as "NO access except for this list of IP addresses".
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: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby viciflash » Wed Aug 17, 2011 5:50 pm

yes i use the ip address of vici for the agents to access. if i remove the dns, totally no internet. i need partial access to net. :(

there is a setting in pfSesne where i can make local access bypass proxy. im not sure if its working.
GoAutoDial 2.0CE - standard install
Asterisk: 1.4.27.1-1
Vicidial: 2.2.1-237
Build: 100510-2015
Telephony cards: none
viciflash
 
Posts: 148
Joined: Sat Feb 19, 2011 3:23 am

Postby williamconley » Wed Aug 17, 2011 6:37 pm

if you need partial (ie: one or two sites for form submission), those DNS entries can be made directly in each computer (or you can try to convince your firewall to manage this). In Windows there is a "hosts" file which can be directly edited to provide the IP address of any domain name. Anything in that file will sill "convert" and work properly, because you'd be faking the DNS record. We use this technique when building new sites to make sure they will work with their real name before they actually "go live". Works very nicely (but requires editing the "hosts" file on each participating computer).
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: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby viciflash » Wed Aug 17, 2011 10:14 pm

ah yes the hosts file is there!

thanks for the tip. i guess i'll try this one for first. im sure this will work.
GoAutoDial 2.0CE - standard install
Asterisk: 1.4.27.1-1
Vicidial: 2.2.1-237
Build: 100510-2015
Telephony cards: none
viciflash
 
Posts: 148
Joined: Sat Feb 19, 2011 3:23 am

Postby williamconley » Wed Aug 17, 2011 11:58 pm

an interesting concept would be to create a "batch" file that activates at startup and copies that "host" file from a central server. although I'd have to review it and be sure it has nothing "personalized" for each machine on it. but that may allow a DNS change mid-shift to be accomplished with one file change and an "OK! Everybody reboot when they leave for their next break!".
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: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 59 guests