Login directly to an app page

Status
Not open for further replies.

buffpuff

New Member
Oct 18, 2018
11
0
1
47
Thanks a lot for the link, it indeed helped in all menus besides one, the conference_interactive.php.
If I try https://URL.com/app/conferences_active/conference_interactive.php?key=552d7abe-1678-4fc9-afbd-68fac33434c0&c=1233c367-3071-465d-8714-4eb77e187237
c=my conference room
What I get is the right page, but without the conference room and the control buttons (picture attached).

If I add username and password to the URL it works fine
https://URL.com/app/conferences_active/conference_interactive.php?key=552d7abe-1678-4fc9-afbd-68fac33434c0&c=1233c367-3071-465d-8714-4eb77e187237&username=username&password=password

Only this dynamic room gives this error, the rest work fine with key only. Is there a way to view conference_interactive.php sessions without sending a username and a password in the URL?
 

Attachments

  • Screenshot from 2019-03-18 13-57-30.png
    Screenshot from 2019-03-18 13-57-30.png
    53.1 KB · Views: 18
Last edited:

Adrian Fretwell

Well-Known Member
Aug 13, 2017
1,412
376
83
@buffpuff I know the Fusion code has changed since I wrote on the original post, but I would try using key and username, but not the password.

A.
 

buffpuff

New Member
Oct 18, 2018
11
0
1
47
Tried, got the same result (a login screen and behind it a blinking "Interactive Conferences" screen).
I think it can be reproduced with any fusionpbx with a conf room.
We are running version 4.4.3
 

buffpuff

New Member
Oct 18, 2018
11
0
1
47
Also tried with your code snippet instead of:
//if the username session is not set the check username and password
if (strlen($_SESSION['username']) == 0) {

I typed:

if ((strlen($_SESSION['username']) == 0) && ((isset($_REQUEST["username"]) && isset($_REQUEST["password"])) || isset($_REQUEST["key"])) ) {

And tried again, got the same result as above.
It seems like something with the dynamic refreshing nature of the dynamic conferences page.
 

JamesBorne

Active Member
Jan 24, 2019
294
56
28
Australia
Much easier solution for you:
1. Click on the user you want to direct to an app on login
2. Click the "plus" icon down the bottom right of the page
3. Do this, where "value" is the link to send them to. (navigate manually to it, and copy from the address bar)
1553047937479.png
4. Save
5. Log the user out and in to apply (and test).
 

buffpuff

New Member
Oct 18, 2018
11
0
1
47
This is a cool feature indeed.
A strange thing happens, if I add this login forward to a user, all other users on the domain get automatically forwarded to that URL too.
 
Status
Not open for further replies.