CDR reports for users and group permissions

Disaster

Joined
May 28, 2009
Messages
59
Likes
0
Points
0
#1
Hi,

I am having problems with CDR reports for my Group. I have mangers who want to view the daily calls made. I have created a users in a management group to view CDR Report. The problem is they can only view their extensions call made on the date range they select. I want them to be able to view all call made that day on all extension.

If i put them in the admin group they can view all calls, But obviously I don't want them to have access to all the features of Elastix. Any help on this will be appreciated on enabling them to view all calls made.

Also I am wondering if it has to do with the latest Elastix update I am using Elastix 1.6-14.

Thanks.
 

stelio

Joined
Jul 27, 2010
Messages
2
Likes
0
Points
0
#2
Hi Folks

Disaster, did you every find a solution for this problem?

I'm having the same problem on my side, created a management group, and only allowed for Monitoring in the group permissions.

The problem, as you described, is that adding users means that the new user is associated to 1 extension.

So when you login with that user, you're only able to see call logs for the associated extension.

Now i would like to allow this user to see all calls (not only the associated extension), is there a known work around?

BTW, i'm using Elastix 1.6-12
 

Disaster

Joined
May 28, 2009
Messages
59
Likes
0
Points
0
#3
I ended up using free pbx and gave them permissions to see only the reports.
 

jastele

Joined
Jun 29, 2010
Messages
18
Likes
0
Points
0
#4

stelio

Joined
Jul 27, 2010
Messages
2
Likes
0
Points
0
#5
Thanks for the link jastele.

MrEmbedded solution didn't work for me, but it did point me in the right direction.

I've added the following lines to /var/www/html/modules/monitoring/index.php

85 if ($_SESSION['elastix_user'] == 'USERNAMEHERE')
86 $esAdministrador = TRUE;

It's a hack, essentially making the users a administrator for the monitoring module.
Which allows "USERNAMEHERE" access to all monitored call recordings.

- Stelio
 

lol24h

Joined
Jul 16, 2010
Messages
12
Likes
0
Points
0
#6
I'm also interested. I hope there will be special group of privileges for that.
I'm using Elastix 1.6
 

jastele

Joined
Jun 29, 2010
Messages
18
Likes
0
Points
0
#7
Hey Stelio,

Thanks for that great workaround. I have put it into my Monitoring index page and can now see it finds all the recorded calls however it seems to have some problems displaying it all. Did you come across the same thing when you applied this hack?

The following is how I inserted it:

Code:
    $extension = $pACL->getUserExtension($_SESSION['elastix_user']);
    $esAdministrador = $pACL->isUserAdministratorGroup($_SESSION['elastix_user']);
    $tmpExtension=$extension;
    if($esAdministrador)
    if ($_SESSION['elastix_user'] == 'STAFF')
        $esAdministrador = TRUE;
        $extension="[[:digit:]]+";
 

ayman66777

Joined
Jan 15, 2012
Messages
1
Likes
0
Points
0
#8
stelio said:
Thanks for the link jastele.

MrEmbedded solution didn't work for me, but it did point me in the right direction.

I've added the following lines to /var/www/html/modules/monitoring/index.php

85 if ($_SESSION['elastix_user'] == 'USERNAMEHERE')
86 $esAdministrador = TRUE;

It's a hack, essentially making the users a administrator for the monitoring module.
Which allows "USERNAMEHERE" access to all monitored call recordings.

- Stelio
Thank you, it's work.
 

chrisd3

Joined
May 14, 2013
Messages
2
Likes
0
Points
0
#9
Stelio wrote
Thanks for the link jastele.

MrEmbedded solution didn't work for me, but it did point me in the right direction.

I've added the following lines to /var/www/html/modules/monitoring/index.php

85 if ($_SESSION['elastix_user'] == 'USERNAMEHERE')
86 $esAdministrador = TRUE;

It's a hack, essentially making the users a administrator for the monitoring module.
Which allows "USERNAMEHERE" access to all monitored call recordings.

- Stelio
I'm running Elastix 1.6.2-37 and line's 85 & 86 already have code in them, but it doesn't seem to relate to this issue.

I tried to insert where Jastele inserted ( lines 117&118 on my version ) and this just crashes the module when I try to load the web interface?

Any ideas??
 

soborno

Joined
Dec 19, 2011
Messages
1,358
Likes
4
Points
38
#10

chrisd3

Joined
May 14, 2013
Messages
2
Likes
0
Points
0
#11
Re: Re:CDR reports for users and group permissions

Thank you for your swift reply Claudio.
I have already read those posts but Stelios solution looks to be a good, easy to apply option.
I just couldn't see what line to add it on. I was hoping for the code that surrounds it to make it work.

Thanks in advance
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,913
Messages
130,917
Members
17,589
Latest member
cristian.saiz
Top