VICIdial: "YOU DO NOT HAVE PERMISSIONS TO TRANSFER CALLS"
As VICIdial prints it
YOU DO NOT HAVE PERMISSIONS TO TRANSFER CALLS
Where it appears. In an alert box on the agent screen, written by the page itself.
To the point
The agent clicked a transfer button, and the agent screen refused to open the transfer-conference panel because the agent's user record has Agent Transfers set to 0.
What it means
Agent Transfers is a field on each user, with the values 0 and 1. VICIdial's help says that with it disabled, the agent cannot open the transfer-conference session, and so cannot call a third party or blind transfer a call.
The test is made in the browser. When the agent logs in, vicidial.php reads the user's row and writes the Agent Transfers value into the page. Every time the transfer panel is asked to open, the page compares that value with 1. Any other value skips the panel and raises this alert. No request goes to the server for it.
Two buttons lead there. One is Transfer - Conf on the main call controls. The other is the custom transfer button that a campaign can add. Closing the panel never raises the alert.
Campaign settings such as Allow Closers and Allowed Transfer Groups decide what the panel offers once it opens. They play no part in this test.
Causes
- Agent Transfers is 0 on the user. Someone set it on the Modify User page.
- The user was copied from a user that had 0. Copy User takes Agent Transfers, along with most other fields, from the source user. A user made with Add A New User gets 1, which is the default of the column in the database.
- The field was changed while the agent was logged in. The page keeps the value it read at login, so the old value stays in force until the agent logs in again.
Checks
- Users > (user) > Agent Transfers, in the AGENT INTERFACE OPTIONS part of the Modify User page. That part appears only to an admin above level 7 who may alter agent or admin interface options.
- Ask the agent when the setting was last changed and when they last logged in. A change after the login has not reached their screen.
- Admin > System Settings > Agent Screen Debug Logging. Enter the agent's user ID to log that agent's clicks. Each refused click is stored as CallXferFailed in the vicidial_ajax_log table. The help warns that this logs many entries per call and that the records are deleted after 7 days.
Fix
- Set Agent Transfers to 1 on the user and submit the page.
- Have the agent log out of the agent screen and log in again.
- If agents are made with Copy User, fix Agent Transfers on the source user as well, so new copies start with 1.
- Turn Agent Screen Debug Logging back off when you are done.
Related messages
- Login incorrect, please try again: another answer that comes from the user record.
- Sorry, you are not allowed to login to this campaign:: a permission held by the user group, not by the user.
- STILL A LIVE CALL! You must hang it up first.: another alert raised by a button on the call screen.
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 23764-23771: this alert when the panel is asked to open and the value is not 1, and the CallXferFailed click
- VICIdial svn r4037, www/agc/vicidial.php, lines 23658-23662: the transfer panel function testing the Agent Transfers value against 1
- VICIdial svn r4037, www/agc/vicidial.php, lines 2654-2666: Agent Transfers read from the user's row at login
- VICIdial svn r4037, www/agc/vicidial.php, line 6528: the value written into the agent screen
- VICIdial svn r4037, www/agc/vicidial.php, line 12165: the Transfer - Conf button opening the panel
- VICIdial svn r4037, www/agc/vicidial.php, line 3255: custom_3way_button_transfer among the campaign fields read at login
- VICIdial svn r4037, www/agc/vicidial.php, lines 7582-7586: the custom transfer button opening the same panel
- VICIdial svn r4037, www/agc/vicidial.php, lines 8398-8401: the clicks sent to conf_exten_check.php with each check
- VICIdial svn r4037, www/agc/conf_exten_check.php, lines 1758-1791: the clicks sent from the agent screen stored in vicidial_ajax_log when debug logging is on
- VICIdial svn r4037, www/agc/conf_exten_check.php, lines 324-326: debug logging switched on for one user by user ID
- VICIdial svn r4031, www/vicidial/admin.php, lines 27674-27676: AGENT INTERFACE OPTIONS, shown above level 7 to admins who may alter agent or admin interface options
- VICIdial svn r4031, www/vicidial/admin.php, line 27786: the Agent Transfers field, 0 or 1
- VICIdial svn r4031, www/vicidial/admin.php, lines 13464-13563: Add A New User inserting only the basic fields
- VICIdial svn r4038, www/vicidial/admin_header.php, lines 2110-2112: Add A New User and Copy User in the Users menu
- VICIdial svn r4031, www/vicidial/admin.php, lines 13788-13881: Copy User taking Agent Transfers and other fields from the source user
- VICIdial svn r4031, www/vicidial/admin.php, line 47544: Agent Screen Debug Logging in System Settings
- VICIdial svn r4037, extras/MySQL_AST_CREATE_tables.sql, line 584: the Agent Transfers column and its default of 1
- VICIdial svn r4038, www/vicidial/help_documentation.txt, line 33: the help for Agent Transfers: no third party call or blind transfer
- VICIdial svn r4038, www/vicidial/help_documentation.txt, lines 133-139: the help for Allow Closers and Allowed Transfer Groups
- VICIdial svn r4038, www/vicidial/help_documentation.txt, line 1233: the help for Agent Screen Debug Logging: one user, many entries, deleted after 7 days