📁
Master DNL Class4 Version 5
  • Introduction
  • Support
  • First Time Setup
    • Create Vendor
    • Create Routing
      • Routing Plan
      • Static Route
      • Dynamic Route
    • Create Client
    • Call Simulation
    • Check CDR
    • Check Report
    • Check PCAP
    • Setup ANI Rotation
    • Set Min Call Duration
    • Block Calls by DNC
  • Maintainence
    • Update US LERG in Switch
    • How to manage PCAP cleaning
    • How to manage CDR cleaning
      • Using dnl_backup_tool
      • Using dnl_cloud_tool
  • Troubleshoot
    • Getting "Missing table" error during invoice generation
    • Switch can't process more than 30K ports
    • How many calls are client sending
    • Call Failure
    • Enforce Valid DNIS Length
    • Enforce E164 Format for Vendor Trunk
    • Configure VoIP Switch in UI
    • SIP Switch is Down
    • Validate Auto-Invoice Rule
  • Installation
    • Installation with RPM
Powered by GitBook
On this page

Was this helpful?

  1. Troubleshoot

Getting "Missing table" error during invoice generation

PreviousUsing dnl_cloud_toolNextSwitch can't process more than 30K ports

Last updated 4 years ago

Was this helpful?

Problem Description

When generating manual invoice, the UI is showing "Missing table: cdr_reportdetailyyyymmdd"

Class 4 Fusion generates invoices based off on the pre-generated reports. If you attempt to generate invoices for dates that have no report data, it will give you that error.

You can check when you have report data in DB:

psql -U postgres
softswitch4v5=# \d+;
 public | cdr_report_detail                                    | table    | postgres    | 8192 bytes | 预统计
 public | cdr_report_detail20200608                            | table    | class4_user | 8192 bytes | 
 public | cdr_report_detail20200609                            | table    | class4_user | 8192 bytes | 
 public | cdr_report_detail20200610                            | table    | class4_user | 8192 bytes | 
 public | cdr_report_detail20200611                            | table    | class4_user | 8192 bytes | 
 public | cdr_report_detail20200612                            | table    | class4_user | 8192 bytes | 

Normally, this report data is not archived because it does not utilize much space. Your system admin can drop those old cdr report detailyyyymmdd tables or you can use auto archiving facility in Class 4 switch to auto archive it after some times.

This cdr_report table is also used for populating the statistics reports in the Class 4 Fusion UI.