(06-05-2017 08:40 PM)Tyler Wrote: Hey Guys,
Thanks for your help on my previous question. This question is in regards to multiple users to one device (multi-account)
We have a lot of users in our support center and we have enough issues as it is, we are concerned that having the "switch account" button there they will constantly be logged in as the wrong user and causing all sorts of problems with our employee tracking. Is there a way to password protect logging into another account and prompt the password?
Right now I have the programmable key swapping between two extensions which is great and all, but we want it to be every time they switch they have to type in the password. I know there is a roundabout way where they have to go into the account settings on the phone, type admin, etc. then type in the password that way, but that's not convenient especially considering we have freepbx auto-generate our passwords.
Is there a way to prompt the user to type in a password before switching users?
Without requiring the user to have to enter the actual SIP password for the account I don't think Yealink has any other support for what you're trying to do. As you mentioned your options are basically to require the user to login and change the account configuration, or use the Hot Desk feature which somewhat automates the process but still requires the user to enter the login and password for the SIP account they want to use.
All that being said, you could probably roll your own solution using the XML browser and PushXML. The basic flow would be:
a) Create an XML interface based on the YealinkIPPhoneInputScreen
b) Write your own PBX-side script that would handle the response from the Input screen, do the password verification, and issue a PushXML back to the phone telling it to update it's account configuration to become the alternate extension.
Definitely technically possible, but requires you to be comfortable with scripting and database/asterisk integration.