New Users Missing / Full CDR Report for User

husaints

Joined
Jul 2, 2009
Messages
45
Likes
0
Points
0
#1
Hi,

I created a few users with different permissions and roles. One Extension User, One Operator and a custom Group User called Manager. I could see the users for a while, but later on when I clicked the User List, the created Users were missing! Weirdly I am able to login with the User Credentials for the users I had created, but they are not showing up in the user list! What could have happened?

How do I delete these users now or how do I change the password for these as they were created for test, and anyone can login with the simple username and password tot he system? Are the created users stored in any file or list from where I can delete them?

Secondly after creating a user, I am only able to view the CDR reports of the extension assigned to that user. I want a manager user account who should be able to see all CDR report, how can I achieve this. I do not wan to give the manager the full administrator rights to the PBX though.

Appreciate your help.
 

fmvillares

Joined
Sep 8, 2007
Messages
1,785
Likes
0
Points
0
#2
its a known bug not corrected since many months...
 

husaints

Joined
Jul 2, 2009
Messages
45
Likes
0
Points
0
#3
So I figured by reading through the forums.

I was able to rectify this, by changing the administrator group name to the original name "administrator" and I got user list and the function to add new user back! Should work for others too.

Can anyone let me know how I can enable a new user to be able to view the complete CDR report in and out from the elastix pbx rather than their own extension?

Thanks in advance.
 

fmvillares

Joined
Sep 8, 2007
Messages
1,785
Likes
0
Points
0
#4
change the php code so suit that myqsl consult
 

jgutierrez

Joined
Feb 28, 2008
Messages
5,737
Likes
0
Points
0

husaints

Joined
Jul 2, 2009
Messages
45
Likes
0
Points
0
#6
Hi,

thanks for all your replies. another around this is as follows:

Login into /var/www/html/modules/userlist/index.php

Search for this line $arrData[$item["null"]] = "No extension";

This line will be commented, uncomment it and you can provide a user with No Extension

Once you create a user with no extension, you can view complete CDR.

Hope this helps someone.

Solving this I have come up with another issue!!

When exporting the CDR to Excel on Elastix 2.0.3 not all the records are being exported. Only the records shown on theat single page is exported thats a mere 50 records. You go to the next page and export to excel you find only the records on that page exported to the excel sheet. This was not the case with earlier versions of Elastix, specially 2.0.0, 1.5.xx, 1.6.xx.

Can anyone suggest somehting here? Elastix 2.0.3 is really not production ready in my opinion with so many bugs which were nt present in the older versions!
 

fmvillares

Joined
Sep 8, 2007
Messages
1,785
Likes
0
Points
0
#7
thats what all the community helpers and developers are saying since july 2010...but no one listens in palosanto world...
 

husaints

Joined
Jul 2, 2009
Messages
45
Likes
0
Points
0
#8
fmvillares,

What do you think is the most stable version to put in as a production server. With 2.0.3 we are overwhelmed with so man bugs..
 

fmvillares

Joined
Sep 8, 2007
Messages
1,785
Likes
0
Points
0
#9
its up to the expertise u have...i think the 2.0 with manual tuneup asterisk and all modules recompiling freepbx upgrading etc is better...but u need extensive tuneup---
for the other guys as dick ramon franck etc 1.6 is the most stable OOTB as u dont need to manually tune up so many thing...and i agree with this also...and they are right also...
again its up to the experts eye...
 

ftaurino

Joined
Nov 10, 2011
Messages
2
Likes
0
Points
0
#10
try this:

comment the line

if($esAdministrador)

in /var/www/html/modules/cdrreport/index.php

tested on elastix 2.0
 

garrywadams

Joined
Jul 1, 2010
Messages
37
Likes
0
Points
0
#11
Login into /var/www/html/modules/userlist/index.php

Search for this line $arrData[$item["null"]] = "No extension";

This line will be commented, uncomment it and you can provide a user with No Extension

Once you create a user with no extension, you can view complete CDR.
husaints,
You are a life saver! I've been searching for an option like this for a very LONG time!

Also, if you come up with a way to export more than just the CDR records "in view" one page at a time, let me know. I'm anxious to find a fix for that too.
In the meantime, I've used the FreePBX reports page to fill that gap. I log into the unembedded FreePBX and go to the Reports tab. You can filter by date range and there's an export option at the bottom of the page. It doesn't have .xls option, but it can still export a .csv, and it gets everything in the date range specified (even if it isn't on that main page).
 

mossab

Joined
Feb 14, 2018
Messages
1
Likes
0
Points
1
#12
hello,
I faced same problem with my elastix 4 and i solved this problem in /var/www/html/modules/monitoring/index.php
by comment this code:

if (is_null($extension)) {
if (hasModulePrivilege($user, $module_name, 'reportany'))
$smarty->assign("mb_message", "<b>"._tr("no_extension")."</b>");
else{
$smarty->assign("mb_message", "<b>"._tr("contact_admin")."</b>");
return "";
}
}

maybe help someone...
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,902
Messages
130,887
Members
17,565
Latest member
omarmenichetti
Top