Page 1 of 1

Callbacks not alerting

PostPosted: Fri Sep 25, 2015 7:06 pm
by bobchaos
Hello everyone,
I just moved a client to a cluster last week and we've been having issues with callbacks since then. Apparently they no longer alert but show as "live" in the cbhold list with 1+day in the past callback value. This is on a 3 machine system (1 for each role) running VERSION: 2.12-505a BUILD: 150806-1348. The original server is now DB and web and dialer are on brand new machines installed with Vicibox server. I verified that callbacks are allowed without restriction under campaign settings and that the users are allowed personal callbacks. I checked that the timezones for the leads and system are set properly. I verified all my keepalive flags and screens are running. The leads in question show as dialiable and their original statuses (prior to CBhold of course) are set to dial. This was never an issue prior to the clustering and it's happening on campaigns/users that were behaving just fine before the change. Network and machine performance is good. My client says he tried shoving all the user-only callbacks into the general list but no better apparently.

What am I missing? Anyone seen something like this before?

Re: Callbacks not alerting

PostPosted: Fri Sep 25, 2015 7:20 pm
by mflorell
What is the "Scheduled Callbacks Alert" set to for that campaign?

Re: Callbacks not alerting

PostPosted: Sat Sep 26, 2015 1:36 am
by bobchaos
blink_red_deffer, hardly gets any more obvious normally :/

Re: Callbacks not alerting

PostPosted: Sat Sep 26, 2015 7:02 am
by mflorell
Then there is probably something wrong on the back end. First place to check is the apache error_log to see if there's a problem there.

Re: Callbacks not alerting

PostPosted: Mon Sep 28, 2015 8:01 pm
by bobchaos
I get these messages in alternate multiple times per second:
Second argument has to be greater than or equal to 0 in /srv/www/htdocs/vicidial/user_stats.php on line 1332, referer: http://xxx.xxx.xxx.xxx/vicidial/admin.php
[Mon Sep 28 12:36:04.807851 2015] [php5:error] [pid 13268] [client xxx.xxx.xxx.xxx:xxxxx] PHP Warning: str_repeat(): Second argument has to be greater than or equal to 0 in /srv/www/htdocs/vicidial/user_stats.php on line 1334, referer: http://xxx.xxx.xxx.xxx/vicidial/admin.php

I've looked up those two lines in the code, they have to do with tallying manual calls. I doubt this is it causing the callback issue but it's worth fixing.

I also get this one every now and then:

[Sat Sep 26 10:54:34.551811 2015] [php5:error] [pid 13174] [client xxx.xxx.xxx.xxx:51614] PHP Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given in /srv/www/htdocs/agc/vdc_db_query.php on line 5961, referer: http://xxx.xxx.xxx.xxx/agc/vicidial.php

Seems to me like some of my SQL queries are not running as planned, but I'm not sure why... any clues?

Re: Callbacks not alerting

PostPosted: Wed Sep 30, 2015 2:46 pm
by bobchaos
It turned out to be an issue with my no-log context, I needed to edit the use of the Canadian-PRI script so calls would log properly. Thank for your help mflorell

Re: Callbacks not alerting

PostPosted: Wed Sep 30, 2015 3:34 pm
by mflorell
Thanks for posting back! :)