Callback window freezes

Support forum for the ViciBox ISO Server Install and ISO LiveCD Demo

Moderators: enjay, williamconley, Staydog, mflorell, MJCoate, mcargile, Kumba

Callback window freezes

Postby DruRoland » Sat Apr 20, 2013 2:38 pm

When agents try to call back leads, the call is not initiated, and the browser window is effectively frozen. This occurred with an upgrade to the latest SVN version yesterday.
/var/log/apache2/error.log repeatedly shows:
[Sat Apr 20 12:31:00 2013] [error] [client 10.0.0.10] PHP Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /srv/www/htdocs/agc/vdc_db_query.php on line 5804, referer: http://dialer2.livecallconnect.com/agc/vicidial.php
[Sat Apr 20 12:31:00 2013] [error] [client 10.0.0.10] PHP Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /srv/www/htdocs/agc/functions.php on line 112, referer: http://dialer2.livecallconnect.com/agc/vicidial.php
2x ViciBox v.5.0.2-130807 | BUILD: 130809-1410 | SVN Version: 2019 | Asterisk: 1.8.23-vici
Debian 7 MySQL 5.5 server 4-core 16GB RAM Master & Slave
18 seats, outbound/blended with full recording
DruRoland
 
Posts: 52
Joined: Wed Jan 23, 2013 8:33 pm

Re: Callback window freezes

Postby mflorell » Sat Apr 20, 2013 2:43 pm

What does your Firefox Error Console say when this happens?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Callback window freezes

Postby mflorell » Sat Apr 20, 2013 2:46 pm

I can't duplicate this on most recent svn/trunk code.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Callback window freezes

Postby williamconley » Sat Apr 20, 2013 4:27 pm

not to sound stupid, but the basics ... did you upgrade the db and verify that the upgrade was successful? svn rev? dbschema?
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!)

Re: Callback window freezes

Postby DruRoland » Mon Apr 22, 2013 1:32 pm

FireFox error console message:
[11:16:56.142] vcFormIFrame.document.form_custom_fields[CFN_field] is undefined @ http://dialer.XXX.com/agc/vicidial.php:8540

Yes, I saved a db snapshot, then upgraded the db, then ran install.pl, then rebuilt conf files, then restarted the server.
Post restart I verified screens were all present and doing what they're supposed to.
SVN rev 1968, db_schema_version 1345
2x ViciBox v.5.0.2-130807 | BUILD: 130809-1410 | SVN Version: 2019 | Asterisk: 1.8.23-vici
Debian 7 MySQL 5.5 server 4-core 16GB RAM Master & Slave
18 seats, outbound/blended with full recording
DruRoland
 
Posts: 52
Joined: Wed Jan 23, 2013 8:33 pm

Re: Callback window freezes

Postby mflorell » Mon Apr 22, 2013 1:49 pm

That's an error related in some ways to custom fields. I added some custom fields, added a scheduled callback, then called it back(all in Firefox) and still had no issues.

This may be an issue with your custom fields in some way.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Callback window freezes

Postby DruRoland » Mon Apr 22, 2013 4:02 pm

We've had the same problem, on 2 different campaigns, with 2 different lists, with 2 different sets of custom variables.
These are also existing campaigns/lists/variables that have been run multiple times previously with no problems.

The agents are using Debian wheezy, with IceWeasel instead of FireFox, though that shouldn't make any difference.
2x ViciBox v.5.0.2-130807 | BUILD: 130809-1410 | SVN Version: 2019 | Asterisk: 1.8.23-vici
Debian 7 MySQL 5.5 server 4-core 16GB RAM Master & Slave
18 seats, outbound/blended with full recording
DruRoland
 
Posts: 52
Joined: Wed Jan 23, 2013 8:33 pm

Re: Callback window freezes

Postby DruRoland » Mon Apr 22, 2013 4:41 pm

Also, newly created callbacks are dialed correctly. It's just ones prior to the update that have the problem.
2x ViciBox v.5.0.2-130807 | BUILD: 130809-1410 | SVN Version: 2019 | Asterisk: 1.8.23-vici
Debian 7 MySQL 5.5 server 4-core 16GB RAM Master & Slave
18 seats, outbound/blended with full recording
DruRoland
 
Posts: 52
Joined: Wed Jan 23, 2013 8:33 pm

Re: Callback window freezes

Postby williamconley » Mon Apr 22, 2013 6:28 pm

Another client of mine posted a fix to this in the Issue Tracker earlier today.

He posted earlier with that same error, but quoted a different one in the Issue Tracker, but I believe it to be related.

http://www.vicidial.org/VICIDIALmantis/view.php?id=485
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!)

Re: Callback window freezes

Postby DruRoland » Mon Apr 22, 2013 7:04 pm

Bingo!

In each list, there was 1 field that had nothing listed under field_type. Set to DISPLAY, and callbacks started working again.
2x ViciBox v.5.0.2-130807 | BUILD: 130809-1410 | SVN Version: 2019 | Asterisk: 1.8.23-vici
Debian 7 MySQL 5.5 server 4-core 16GB RAM Master & Slave
18 seats, outbound/blended with full recording
DruRoland
 
Posts: 52
Joined: Wed Jan 23, 2013 8:33 pm

Re: Callback window freezes

Postby williamconley » Mon Apr 22, 2013 7:11 pm

Remember to thank him for his post :)

This is why Matt built this system.
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 ViciBox Server Install and Demo

Who is online

Users browsing this forum: No registered users and 81 guests