Include username (extension) in UCP login page URL query string

Running FreePBX 17.0.21 here and I would like to do what @dhlb1 describes in Login as specific user - script to do it. I’m trying to generate a UCP URL including a query string that populates the Username field. For example, a URL something like this:

https://myfreepbxhost.com/ucp?username=100

I would like to use such URLs in the voicemail email notification template, so users don’t need to remember/know their UCP username. @jfinstrom I have tried a variety of query strings, including what you suggested in the topic/conversation linked to above:

https://myfreepbxhost.com/ucp?unlockkey=100

What seems to be the comparable part of Userman.class.php has changed substantially in FreePBX 17.

I have also tried

https://myfreepbxhost.com/ucp?key=100
https://myfreepbxhost.com/ucp?uid=100
https://myfreepbxhost.com/ucp?uID=100
https://myfreepbxhost.com/ucp?id=100

No luck so far. Maybe this no longer works?

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.