[SOLVED] Agent screen not showing call info

All installation and configuration problems and questions

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

[SOLVED] Agent screen not showing call info

Postby Marco Zink » Thu Nov 07, 2019 12:16 pm

Hello there,

I have a server with ViciBox v.8.1.2 181002 VERSION: 2.14-723a BUILD: 191106-093 and I am having a strange problem after updating to the latest SVN version.

When auto calls are made the call gets answered but no information is shown in the agent screen and no hangup button is enabled. I can see the "Customer Time" field shows NaN NaN:NaN:NaN AM, the browser console shows two errors:

Code: Select all
Uncaught TypeError: Cannot read property 'length' of undefined
    at f_tcal_hideAll (calendar_db.js:306)

Which shows when signing in, I've seen before without any mayor issues

Code: Select all
Uncaught TypeError: Cannot read property 'length' of undefined
    at XMLHttpRequest.xmlhttprequestcheckauto.onreadystatechange (vicidial.php:7012)

Which shows whenever a call is sent to the session, the line 7012 shows:
Code: Select all
if (VDIC_data_VDIG[38].length > 0)


We can only make manual calls, they show no problem at all, but any kind of auto calls show this behavior.]

Any ideas?
Last edited by Marco Zink on Thu Nov 07, 2019 7:58 pm, edited 1 time in total.
Marco Zink
 
Posts: 14
Joined: Fri Apr 24, 2015 2:09 pm

Re: Agent screen not showing call info

Postby Marco Zink » Thu Nov 07, 2019 1:21 pm

Just updated another completely different test server that was working correctly and the problem started presenting itself.

Heres the full traceback of the error in the console:

Code: Select all
xmlhttprequestcheckauto.onreadystatechange   @   vicidial.php:7012
XMLHttpRequest.send (async)      
(anonymous)   @   VM2706:1
check_for_auto_incoming   @   vicidial.php:6893
start_all_refresh   @   vicidial.php:14433
all_refresh   @   vicidial.php:15040
(anonymous)   @   VM4076:1
setTimeout (async)      
start_all_refresh   @   vicidial.php:14836
all_refresh   @   vicidial.php:15040
(anonymous)   @   VM4074:1
setTimeout (async)      
start_all_refresh   @   vicidial.php:14836
all_refresh   @   vicidial.php:15040
(anonymous)   @   VM4072:1
setTimeout (async)      
start_all_refresh   @   vicidial.php:14836
all_refresh   @   vicidial.php:15040
(anonymous)   @   VM4069:1
setTimeout (async)      
start_all_refresh   @   vicidial.php:14836
all_refresh   @   vicidial.php:15040
(anonymous)   @   VM4068:1
setTimeout (async)      
start_all_refresh   @   vicidial.php:14836
all_refresh   @   vicidial.php:15040
(anonymous)   @   VM4066:1
setTimeout (async)      
start_all_refresh   @   vicidial.php:14836
all_refresh   @   vicidial.php:15040
(anonymous)   @   VM4064:1
setTimeout (async)      
start_all_refresh   @   vicidial.php:14836
all_refresh   @   vicidial.php:15040
(anonymous)   @   VM4062:1
setTimeout (async)      
start_all_refresh   @   vicidial.php:14836
all_refresh   @   vicidial.php:15040
(anonymous)   @   VM4060:1
setTimeout (async)      
start_all_refresh   @   vicidial.php:14836
all_refresh   @   vicidial.php:15040
(anonymous)   @   VM4058:1
setTimeout (async)      
start_all_refresh   @   vicidial.php:14836
all_refresh   @   vicidial.php:15040
(anonymous)   @   VM4056:1
setTimeout (async)      
start_all_refresh   @   vicidial.php:14836
all_refresh   @   vicidial.php:15040
(anonymous)   @   VM4054:1
setTimeout (async)      
start_all_refresh   @   vicidial.php:14836
all_refresh   @   vicidial.php:15040
(anonymous)   @   VM4052:1
setTimeout (async)      
start_all_refresh   @   vicidial.php:14836
all_refresh   @   vicidial.php:15040
(anonymous)   @   VM4050:1
setTimeout (async)      
start_all_refresh   @   vicidial.php:14836
all_refresh   @   vicidial.php:15040
(anonymous)   @   VM4047:1
setTimeout (async)      
start_all_refresh   @   vicidial.php:14836
all_refresh   @   vicidial.php:15040
(anonymous)   @   VM4044:1
setTimeout (async)      
start_all_refresh   @   vicidial.php:14836
all_refresh   @   vicidial.php:15040
(anonymous)   @   VM4041:1
setTimeout (async)      
start_all_refresh   @   vicidial.php:14836
all_refresh   @   vicidial.php:15040
(anonymous)   @   VM4039:1
setTimeout (async)      
start_all_refresh   @   vicidial.php:14836
all_refresh   @   vicidial.php:15040
(anonymous)   @   VM4037:1
setTimeout (async)      
start_all_refresh   @   vicidial.php:14836
all_refresh   @   vicidial.php:15040
(anonymous)   @   VM4035:1
setTimeout (async)      
start_all_refresh   @   vicidial.php:14836
all_refresh   @   vicidial.php:15040
(anonymous)   @   VM4033:1
setTimeout (async)      
start_all_refresh   @   vicidial.php:14836
all_refresh   @   vicidial.php:15040
(anonymous)   @   VM4031:1
setTimeout (async)      
start_all_refresh   @   vicidial.php:14836
all_refresh   @   vicidial.php:15040
(anonymous)   @   VM4029:1
setTimeout (async)      
start_all_refresh   @   vicidial.php:14836
all_refresh   @   vicidial.php:15040
(anonymous)   @   VM4027:1
setTimeout (async)      
start_all_refresh   @   vicidial.php:14836
all_refresh   @   vicidial.php:15040
(anonymous)   @   VM4025:1
setTimeout (async)      
start_all_refresh   @   vicidial.php:14836
all_refresh   @   vicidial.php:15040
(anonymous)   @   VM4023:1
setTimeout (async)      
start_all_refresh   @   vicidial.php:14836
all_refresh   @   vicidial.php:15040
(anonymous)   @   VM4021:1
setTimeout (async)      
start_all_refresh   @   vicidial.php:14836
all_refresh   @   vicidial.php:15040
(anonymous)   @   VM4019:1
setTimeout (async)      
start_all_refresh   @   vicidial.php:14836
all_refresh   @   vicidial.php:15040
(anonymous)   @   VM4017:1
setTimeout (async)      
start_all_refresh   @   vicidial.php:14836
all_refresh   @   vicidial.php:15040
(anonymous)   @   VM4015:1
setTimeout (async)      
start_all_refresh   @   vicidial.php:14836
all_refresh   @   vicidial.php:15040
(anonymous)   @   VM4013:1
setTimeout (async)      
start_all_refresh   @   vicidial.php:14836
all_refresh   @   vicidial.php:15040
(anonymous)   @   VM4011:1
Marco Zink
 
Posts: 14
Joined: Fri Apr 24, 2015 2:09 pm

Re: Agent screen not showing call info

Postby mflorell » Thu Nov 07, 2019 5:07 pm

Looks like it was a bug related to a recent change. I've fixed vdc_db_query.php in svn/trunk, so if you upgrade it should be fixed now.

Thanks!
mflorell
Site Admin
 
Posts: 18338
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Agent screen not showing call info

Postby Marco Zink » Thu Nov 07, 2019 7:58 pm

Thank you Matt, just went to revision 3159 and everything is working now.

Have a great night!
Marco Zink
 
Posts: 14
Joined: Fri Apr 24, 2015 2:09 pm

Re: [SOLVED] Agent screen not showing call info

Postby mflorell » Thu Nov 07, 2019 11:53 pm

Thanks for the post-back!
mflorell
Site Admin
 
Posts: 18338
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Support

Who is online

Users browsing this forum: No registered users and 108 guests