Browse Source

Added ability to show config for other clients

master
i am da real crt yes 2 years ago
parent
commit
b55ee4c636
  1. 13
      app/gswave/index.php

13
app/gswave/index.php

@ -127,6 +127,15 @@
$ldapxml .= "</LdapConfig>";
}
if ($_SESSION["ldap"]["gs_other_client"]["numeric"] > 0){
$otherclient = "Registrar/Server:".$_SESSION['domain_name'].":".$_SESSION['provision']['line_sip_port']['numeric'].;
$otherclient .= "Username:".$username.
$otherclient .= "Password:".$field['password'].
}
// Use Default settings to set these
}
@ -210,6 +219,10 @@
echo "<img src=\"data:image/jpeg;base64,".base64_encode($ldapimage)."\" style='margin-top: 30px; padding: 5px; background: white; max-width: 100%;'>\n";
echo "<p>LDAP QR Code</p>\n";
}
if ($_SESSION["ldap"]["gs_other_client"]["numeric"] > 0){
echo "<p>"$otherclient"</p>\n";
}
}
echo "</div>\n";

Loading…
Cancel
Save