Ticket #920 (closed Bugs: fixed)

Opened 7 years ago

Last modified 7 years ago

CDR Clid column is truncated if CID name prefix is used

Reported by: GeorgeSteinmetz Assigned to:
Priority: minor Milestone:
Component: Web interface Version:
Keywords: Cc:
Confirmation: Distro:
Backend Engine: All Distro Ver:
Backend Ver: SVN Revision (if applicable):

Description

If a caller ID record is greater than 30 bytes (as when a Ring Group has a CID name prefix set and a call is received with caller ID name and number), the full caller ID record is not displayed in the Reports page (Call Detail Reports), cutting off part of the phone number. The fix is to change /var/www/html/admin/cdr/call-log.php line 89, changing the maximum length from 30 to 80 (the length of the clid record in the SQL table):

[root@asterisk1 cdr]# diff call-log.php.bak call-log.php
89c89
< $FG_TABLE_COL[]=array ("Clid", "clid", "26%", "center", "", "30");
---

$FG_TABLE_COL[]=array ("Clid", "clid", "26%", "center", "", "80");

Change History

09/15/06 08:52:41 changed by vgster

  • priority changed from 7 to 5.

Is the CDR code maintained by the freePBX team?

09/26/06 06:56:22 changed by RobThomas

Kinda sorta. I've hacked on it enough to call it my own now. I really should do a diff and send it back to areski. This is fixed in r2613.

--Rob

09/26/06 07:04:54 changed by vgster

  • status changed from new to closed.
  • resolution set to fixed.