get SIP user from user suffix

This commit is contained in:
Roland Gruber 2009-11-21 14:14:22 +00:00
parent 7aed5a729e
commit be3196749f
1 changed files with 1 additions and 1 deletions

View File

@ -242,7 +242,7 @@ class asteriskExtension extends baseModule {
*/
function display_html_user() {
// load list with all users with objectClass AsteriskSIPUser
$searchroot = $_SESSION['config']->get_Suffix('tree');
$searchroot = $_SESSION['config']->get_Suffix('user');
$filter = 'objectClass=AsteriskSIPUser';
$ldapc = $_SESSION['ldap']->server();
$attributes = array("DN,cn");