Agent screen

VICIdial: "YOU MUST FILL IN ALL REQUIRED FIELDS BEFORE YOU CAN HANG UP THIS CALL"

By TrustanePublished Read from VICIdial svn r4006, r4031, r4037, r4038

As VICIdial prints it

YOU MUST FILL IN ALL REQUIRED FIELDS BEFORE YOU CAN HANG UP THIS CALL

Where it appears. In an alert box on the agent screen, after HANGUP CUSTOMER or a hangup hotkey, followed by the names of the empty fields.

To the point

The agent tried to hang up while a field the campaign marks as required was empty. The call stays up and the alert lists the empty fields after the colon. Fill them in and hang up again.

What it means

Before the agent screen hangs up a customer, it checks the required fields. Each one that fails goes on a list. If the list is not empty, the alert shows it and the hangup does not happen. HANGUP CUSTOMER and the hotkeys that hang up and set a status both go through this check.

Three settings feed it:

  • Screen labels. A standard lead field whose label contains ---REQUIRED--- is required. That covers fields such as first_name, address1, postal_code and email. The labels come from the Agent Screen Labels set the campaign names, or from System Settings when the campaign uses --SYSTEM-SETTINGS--.
  • Custom fields. A custom list field with Field Required set to Y is required on every call. INBOUND_ONLY makes it required only on calls that came in through an in-group. VICIdial's help limits this to TEXT, AREA, DATE, SELECT, MULTI, RADIO and CHECKBOX fields.
  • Call notes. Per Call Notes Required makes the Call Notes box required. Its CHARACTERS options also set a minimum length.

The first two apply only when the campaign's Allow Required Fields is Y. The call notes rule does not depend on it, but it needs Call Notes Per Call set to ENABLED.

The alert prints field names, not labels. A standard field shows as its name, such as last_name. A custom text, area or date field shows after "CF:", the others after "CHECKBOX:", "RADIO:", "SELECT:" or "MULTI:". Short notes show as "Call Notes minimum" and the number of characters.

Causes

  1. The agent left a required field empty. The usual case, and the alert names the field.
  2. Nothing on the form marks the field as required. The agent screen strips ---REQUIRED--- out of the label before showing it, so the agent sees a plain field and learns the rule only from this alert.
  3. The call notes are too short. With a CHARACTERS option, a note under the minimum fails even when it is not empty.

Checks

  1. Campaigns > (campaign) > Detail View. Read Allow Required Fields, Agent Screen Labels, Call Notes Per Call and Per Call Notes Required.
  2. Admin > Agent Screen Labels for the set the campaign uses, or Admin > System Settings for the default labels. Look for ---REQUIRED--- in each label.
  3. The custom fields of the lead's list: read Field Required on each field the alert names.
  4. Match each name after the colon to one of those settings before changing anything.

Fix

  • Have the agent fill in the fields the alert names, then click HANGUP CUSTOMER again.
  • To drop the rule for one standard field, remove ---REQUIRED--- from its label. To drop labels and custom fields at once, set Allow Required Fields to N. Call notes stay required until Per Call Notes Required is DISABLED.
  • Set a custom field to INBOUND_ONLY when only in-group calls need it.
  • These settings are read when the agent logs in, so have agents log out and back in after a change.

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.

  1. VICIdial svn r4037, www/agc/vicidial.php, lines 16495-16600: the hangup check: Allow Required Fields, then each standard field named in the required list
  2. VICIdial svn r4037, www/agc/vicidial.php, lines 16602-16720: required custom fields, with the CF, CHECKBOX, RADIO, SELECT and MULTI prefixes
  3. VICIdial svn r4037, www/agc/vicidial.php, lines 16721-16736: the call notes minimum, then this alert in place of the hangup
  4. VICIdial svn r4037, www/agc/vicidial.php, lines 24361-24390: a label with ---REQUIRED--- added to the required list and stripped from the label shown
  5. VICIdial svn r4037, www/agc/vicidial.php, line 2967: the default labels read from System Settings
  6. VICIdial svn r4037, www/agc/vicidial.php, lines 3745-3760: the campaign's screen labels used in place of the system ones
  7. VICIdial svn r4037, www/agc/vicidial.php, line 3394: Allow Required Fields read with the campaign at login
  8. VICIdial svn r4037, www/agc/vicidial.php, lines 3540-3547: Per Call Notes Required and its CHARACTERS minimum
  9. VICIdial svn r4037, www/agc/vicidial.php, lines 5767-5771: no notes rule unless Call Notes Per Call is ENABLED
  10. VICIdial svn r4037, www/agc/vicidial.php, lines 19691-19715: a hotkey that sets a status calling the same hangup
  11. VICIdial svn r4006, www/agc/functions.php, lines 804-826: Field Required Y or INBOUND_ONLY marking SELECT, MULTI, RADIO and CHECKBOX fields required
  12. VICIdial svn r4006, www/agc/functions.php, lines 885-886: the same rule for a TEXT field
  13. VICIdial svn r4038, www/vicidial/help_documentation.txt, lines 283-284: the help for Call Notes Per Call and Per Call Notes Required
  14. VICIdial svn r4038, www/vicidial/help_documentation.txt, lines 378-379: the help for Agent Screen Labels and Allow Required Fields
  15. VICIdial svn r4038, www/vicidial/help_documentation.txt, line 530: the help for a custom field's Field Required, with INBOUND_ONLY
  16. VICIdial svn r4038, www/vicidial/help_documentation.txt, line 1284: the help for default field labels and the ---REQUIRED--- option
  17. VICIdial svn r4031, www/vicidial/admin.php, lines 30214-30216: Call Notes Per Call and Per Call Notes Required on the campaign Detail View
  18. VICIdial svn r4031, www/vicidial/admin.php, lines 30992-30994: Agent Screen Labels and Allow Required Fields on the campaign Detail View
  19. VICIdial svn r4031, www/vicidial/admin.php, lines 52980-52984: System Settings and Agent Screen Labels on the Admin page
  20. VICIdial svn r4031, www/vicidial/admin.php, line 47786: the default label fields in System Settings

All VICIdial error messages

VICIdial is a registered trademark of Matthew L. Florell. Trustane is an independent host, not affiliated with or endorsed by the VICIdial Group.