VICIdial: "STILL A LIVE CALL! You must hang it up first."
As VICIdial prints it
STILL A LIVE CALL! You must hang it up first.
Where it appears. In an alert box on the agent screen, with two more lines under the message: a 1 or 0, and the screen's state.
To the point
Something asked the agent screen to pause or resume while the screen still counted a customer call as live, or while a manual dial was still looking for its channel. The screen refuses and leaves the agent's state alone. Hang up the customer first.
What it means
Every pause and every resume on the agent screen goes through one function. Before it does anything, that function looks at two flags: one saying a customer call is live, and one saying a manual dial is still looking for a channel. If either is set, it shows this alert and returns. Nothing is sent to the server, so the agent's status stays as it was.
Two more lines sit under the message. The first is the live-call flag, 1 or 0. A 0 there means the manual dial flag was the reason. The second is the screen's own state at that moment: READY, CLOSER or PAUSED.
The live-call flag goes up when a call from the dialer reaches the agent, and when a manual dial is answered. It goes back to 0 only in the hangup code, once the hangup has passed its own checks.
When a dialer call arrives, the pause button is swapped for a disabled image. So during a call this alert usually comes from code that pauses on its own, not from the button.
Causes
- The customer left, but the screen never hung up. The flag does not drop when the customer's side ends. It drops when the screen's hangup runs, normally from HANGUP CUSTOMER. Until then, the screen still holds the call.
- Required fields stopped the hangup. When the campaign marks fields as required and one is empty, the hangup ends with "YOU MUST FILL IN ALL REQUIRED FIELDS BEFORE YOU CAN HANG UP THIS CALL" and the live-call flag stays at 1. A pause after that gets this alert.
- A manual dial is still ringing. The manual dial flag is set when the dial is placed. It clears when the call is answered, when the dial times out, or when the agent hangs up.
- Call Agent Again during a call. The "No one is in your session" box has a Call Agent Again link. On an auto-dial campaign, that link pauses an agent who is not already paused. If the customer call is still live on the screen, the pause is refused with this alert.
Checks
- Campaigns > (campaign) > Detail View > Allow Required Fields and Per Call Notes Required. Either one can hold the call open on the screen, as in cause 2.
- Read the two lines under the alert. A 1 points to a connected call, causes 1, 2 and 4. A 0 points to a ringing manual dial, cause 3.
- On the same Detail View, read Manual Dial Timeout and Dial Timeout. A manual dial with no answer keeps its flag until the ring counter passes both 29 seconds and that timeout.
- Ask whether HANGUP CUSTOMER was clicked, and whether a required-fields alert came first.
Fix
- Click HANGUP CUSTOMER, then pick a status on the disposition screen. To stay paused after the call, tick PAUSE AGENT DIALING on that screen before SUBMIT.
- If a required-fields alert names fields, fill them in and hang up again. The pause works once the hangup has gone through.
- For a manual dial that is still ringing, HANGUP CUSTOMER also ends the dial and clears its flag.
- When the "No one is in your session" box shows during a call on an auto-dial campaign, hang up the customer before clicking Call Agent Again, or its pause is refused.
Related messages
- YOU MUST FILL IN ALL REQUIRED FIELDS BEFORE YOU CAN HANG UP THIS CALL: the alert that leaves the call live in cause 2.
- No one is in your session: the box with the Call Agent Again link in cause 4.
- YOU MUST BE PAUSED TO MANUAL DIAL A NEW LEAD IN AUTO-DIAL MODE: a live call blocks a manual dial too.
Sources
Every statement above about VICIdial was read from its own source code at the revision given. An installed server can run another revision: compare before you rely on a line number.
- VICIdial svn r4037, www/agc/vicidial.php, lines 14152-14162: this alert: the one pause and resume function refusing while a call is live or a manual dial is looking
- VICIdial svn r4037, www/agc/vicidial.php, lines 14175-14186: the states the screen sets: READY, CLOSER, and PAUSED on the other branch
- VICIdial svn r4037, www/agc/vicidial.php, lines 14538-14546: the live-call flag raised when a dialer call reaches the agent
- VICIdial svn r4037, www/agc/vicidial.php, lines 12095-12103: the live-call flag raised and the manual dial flag cleared when a manual dial is answered
- VICIdial svn r4037, www/agc/vicidial.php, lines 14000-14011: the manual dial flag set when a manual dial is placed
- VICIdial svn r4037, www/agc/vicidial.php, lines 12322-12328: the manual dial flag cleared when the ring counter passes 29 seconds and the timeout
- VICIdial svn r4037, www/agc/vicidial.php, lines 15150-15158: the pause button replaced by a disabled image when a dialer call arrives
- VICIdial svn r4037, www/agc/vicidial.php, lines 16731-16736: the required-fields alert, which skips the hangup
- VICIdial svn r4037, www/agc/vicidial.php, lines 16764-16767: the hangup clearing the manual dial flag
- VICIdial svn r4037, www/agc/vicidial.php, lines 16821-16826: the live-call flag set back to 0 after the hangup
- VICIdial svn r4037, www/agc/vicidial.php, lines 19104-19107: Call Agent Again pausing an agent who is not paused on an auto-dial campaign
- VICIdial svn r4037, www/agc/vicidial.php, line 25171: the Call Agent Again link
- VICIdial svn r4037, www/agc/vicidial.php, lines 23060-23085: PAUSE AGENT DIALING on the disposition screen pausing the agent after the call
- VICIdial svn r4037, www/agc/vicidial.php, lines 3504-3505: Dial Timeout standing in for an empty Manual Dial Timeout
- VICIdial svn r4031, www/vicidial/admin.php, line 30994: Allow Required Fields on the campaign Detail View
- VICIdial svn r4031, www/vicidial/admin.php, line 30216: Per Call Notes Required on the campaign Detail View
- VICIdial svn r4031, www/vicidial/admin.php, line 31235: Manual Dial Timeout on the campaign Detail View
- VICIdial svn r4031, www/vicidial/admin.php, line 30003: Dial Timeout on the campaign Detail View