User Access to CDR Reports
-
Modify /var/www/html/admin/cdr/cdr.php
-
Change /* -- AMP Begin -- */
to /* -- AMP Begin
-
Change /* -- AMP End -- */
to AMP End -- */
-
Create a new user
-
htpasswd -b /usr/local/apache/passwd/wwwpasswd
User Password
-
Add this to /etc/httpd/conf/httpd.conf
-
#Password protect /var/www/html/admin/cdr
-
<DIRECTORY /var/www/html/admin/cdr>
-
AuthType Basic
-
AuthName "Restricted Area"
-
AuthUserFile /usr/local/apache/passwd/wwwpasswd
-
Require user wwwadmin maint User
-
</DIRECTORY>
-
Restart httpd
-
Users can access the CDR Reports at http://AsteriskBoxIP/admin/cdr/cdr.php?s=1
(2, 3 and 4) with the User and
Password