Create a user just for Call Reports

Discussion in 'General' started by Telco, May 4, 2010.

  1. Telco

    Joined:
    Oct 4, 2007
    Messages:
    275
    Likes Received:
    0
    I have been trying to create a user that can just do call reports. However when I create the user and the group that allows for CDR Reports only, the CDR reports screen is blank. If I log in as admin the reports are there. I don't want to give this person admin rights to the system.

    Any Ideas?? Am I missing something???
     
  2. Telco

    Joined:
    Oct 4, 2007
    Messages:
    275
    Likes Received:
    0
    RESOLVED ! ! ! !

    Ok what I did was to edit the /var/www/html/modules/cdrreport/index.php file.

    I edited out these lines (not deleted)

    $extension = $pACL->getUserExtension($_SESSION['elastix_user']);
    $esAdministrador = $pACL->isUserAdministratorGroup($_SESSION['elastix_user']);
    if($esAdministrador)
    $extension = "";

    It looks like these lines do a check on the persons ext #. NOTE: with these lines edited out the cdr report will be for everyone not just the user logged in. In my case this is exactly what I want to do. I want to have a particular user be able to log in and pull the cdr reports for the entire company without giving them control over the elastix.
     

Share This Page