VICIdial: "Sorry, your phone login and password are not active in this system"
As VICIdial prints it
Sorry, your phone login and password are not active in this system, please try again:
Where it appears. On the agent screen, on a page titled "Agent web client: Phone Login Error", above a new Phone Login form. It comes after the campaign login is sent, not after the phone login is typed.
To the point
No active phone record matches that phone login and password on a server that takes agent logins. Check the phone's Agent Screen Login, Login Password, Active Account and Server IP, then Active Agent Server on that server.
What it means
The agent screen asks for a phone first and a user second, but it tests them the other way round. The phone login typed on the first form is carried along untested. Only after the user, the password and the campaign pass does the screen look for the phone.
It wants one record in the phones table with that login and that password and Active Account at Y, whose Server IP belongs to a server that has Active Agent Server at Y. When no record passes all four, the page becomes "Phone Login Error" and prints this message.
The login can also be a phone alias. Its Phones Logins List is then read, and each phone in that list is tried with the same password.
Causes
- A wrong phone login or password. These are Agent Screen Login and Login Password on the phone record. Registration Password is another field: VICIdial's help calls it the secret of the phone device itself.
- Active Account is N. The phone record exists and is switched off.
- The server takes no agents. Active Agent Server is N on the server the phone belongs to. The help for that field says N stops agents from logging in to that server.
- The phone's Server IP is no server's address. The test joins the phone to the Servers list by IP. A phone left on an address that no server record carries can never pass.
- Old values on the user record. When the agent screen is set to ask for the user first, a missing phone login is filled from Phone Login and Phone Pass on the user record.
Checks
- Admin > Phones > the phone. Read Agent Screen Login, Login Password, Active Account and Server IP.
- Admin > Servers. Open the server with that IP and read Active Agent Server. If no server has that IP, cause 4 is the answer.
- Users > the user. Read Phone Login and Phone Pass, when the agent never types a phone login.
- Admin > Phones > Phone Alias List, when the login is an alias. Read its Phones Logins List and check each phone in it.
Fix
- Give the agent the Agent Screen Login and Login Password as the phone record has them, or change them there and submit.
- Set Active Account to Y.
- Set Active Agent Server to Y, when that server is meant to take agents.
- Choose the phone's Server IP from the list again, so it names a server that exists.
- Correct Phone Login and Phone Pass on the user record.
On a Trustane server
The agent check on the console's People page says whether a phone is paired with the agent's login, and names its extension.
Related messages
- Login incorrect, please try again: the user step, tested before the phone.
- Sorry, there are no available sessions: the step that follows a good phone login.
- No one is in your session: the phone record is fine, the phone itself did not join.
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 1780-1826: the Phone Login form shown first, and the user and campaign tested once it is filled
- VICIdial svn r4037, www/agc/vicidial.php, lines 4406-4446: a phone alias and its list of logins
- VICIdial svn r4037, www/agc/vicidial.php, lines 4447-4471: the one query a phone must pass: login, password, active, a server that takes agents
- VICIdial svn r4037, www/agc/vicidial.php, lines 4472-4500: the page title and this message
- VICIdial svn r4037, www/agc/vicidial.php, line 1080: the option that asks for the user before the phone
- VICIdial svn r4037, www/agc/vicidial.php, lines 1713-1722: a missing phone login filled from the user record
- VICIdial svn r4031, www/vicidial/admin.php, lines 43580-43628: the phone screen: Server IP, Agent Screen Login, Login Password, Registration Password, Active Account
- VICIdial svn r4031, www/vicidial/admin.php, lines 27504-27509: Phone Login, Phone Pass and Active on the user screen
- VICIdial svn r4031, www/vicidial/admin.php, line 44101: Active Agent Server on the server screen
- VICIdial svn r4031, www/vicidial/admin.php, lines 43805-43811: a phone alias and its Phones Logins List
- VICIdial svn r4038, www/vicidial/admin_header.php, line 2897: Phone Alias List in the Phones menu
- VICIdial svn r4038, www/vicidial/help_documentation.txt, lines 954-969: the help for the phone fields
- VICIdial svn r4038, www/vicidial/help_documentation.txt, line 1097: the help for Active Agent Server
- Trustane console: the agent check reports whether a phone is paired with the login