Old(?) bug: agents on calls stuck in “DISPO” state
Posted: Tue May 26, 2020 11:46 am
Good afternoon
I am looking after an old VICIdial installation, 2.8-404a, which has a curious bug that I am led to believe was there from the start.
Specifically, the Real-Time Main Report will sometimes show agents who are on calls as being in status “DISPO” instead of in status “INCALL”. The internal symptoms are that rows within the vicidial_live_agent table are sometimes set such that status = 'PAUSED' AND lead_id <> 0. This is the set of criteria used by the “DISPO” pseudo-status, but these are agents who are on calls and their status is not being set back to 'INCALL' when they receive or place the next call. There are no SQL errors being logged for updates to vicidial_live_agent and no apparent indication that any of the rest of agc/vdc_db_query.php is failing (updating the status line to INCALL is only a minuscule fraction of the 12,000 lines within that script, and one would like to imagine that there would be much more drastic problems if invocations of that script were failing.
Does this ring a bell for anyone? Does anyone recall seeing such a bug before? This bug is intermittent with no known trigger.
Regards
Daniel.
I am looking after an old VICIdial installation, 2.8-404a, which has a curious bug that I am led to believe was there from the start.
Specifically, the Real-Time Main Report will sometimes show agents who are on calls as being in status “DISPO” instead of in status “INCALL”. The internal symptoms are that rows within the vicidial_live_agent table are sometimes set such that status = 'PAUSED' AND lead_id <> 0. This is the set of criteria used by the “DISPO” pseudo-status, but these are agents who are on calls and their status is not being set back to 'INCALL' when they receive or place the next call. There are no SQL errors being logged for updates to vicidial_live_agent and no apparent indication that any of the rest of agc/vdc_db_query.php is failing (updating the status line to INCALL is only a minuscule fraction of the 12,000 lines within that script, and one would like to imagine that there would be much more drastic problems if invocations of that script were failing.
Does this ring a bell for anyone? Does anyone recall seeing such a bug before? This bug is intermittent with no known trigger.
Regards
Daniel.