Need to hide CDR with Hangup Cause = Lose Race

Status
Not open for further replies.

Minh Tuan

New Member
Jun 6, 2019
6
0
1
26
1564459061372.pngI need to hide these CDRs, anyone have any ideas.
I know it's in /var/www/fusionpbx/app/xml_cdr/xml_cdr.php but I don't know how to do it.
Any help would be appreciated.
 

JamesBorne

Active Member
Jan 24, 2019
294
57
28
Australia
Line 277 (if you're up to date with the Git)

if (permission_exists('hangup_cause')) {

It's not clear if you want to hide everything or some things.
Also, those "destinations" you have look awfully dodgy .....
 

Minh Tuan

New Member
Jun 6, 2019
6
0
1
26
Line 277 (if you're up to date with the Git)

if (permission_exists('hangup_cause')) {

It's not clear if you want to hide everything or some things.
Also, those "destinations" you have look awfully dodgy .....
I want to hide everything with Hangup Cause is Lose Call, my webRTC did it :(
 

JamesBorne

Active Member
Jan 24, 2019
294
57
28
Australia
I had a look, but doing so seems like it will be a pain.
You will need to determine if the call has that cause at the top.

No easy way to do that without "guess and check" on the PHP code.
 

starmywork

New Member
Jul 29, 2021
1
0
1
27
Hello Team,

I want to give the permission to a group that they can show only the last 4 digit number of the Caller Number, Caller Destination in call details records
but SuperAdmin can see full numbers from the call reports.
Can anyone please help me how can i do this...
 
Status
Not open for further replies.