Follow the steps below to re-run data in TIM Enterprise:

  1. Locate the files you want to re-run data for and copy them on a separate folder. By default, the backup files are saved in the following location:
  2. Log in to TIM Enterprise under the root account and click on the tab.
  3. To check the datasource for the PBX object you want to delete calls for, enter the following query:

    SELECT name, fullkey from dir where type = 'pbx';

  4. To delete the calls for a specific PBX object and for a specific time period, enter the following query:

    Delete from calls 
    where datasource = '43\2\'
    and 
    datetime between '2013-01-01 00:00:00' AND '2013-02-01 00:00:00';

    The and   values must be modified accordingly, in order to match your requirements for the time period and the PBX you want to delete calls for.

  5. The query should return the message , confirming the calls have been deleted.

  6. To re-run the data back in the system, copy the backup files you have previously saved into a separate folder and paste them into the following location:

  7. While the system is re-running the data, you should be able to see in the  screen the calls that are being processed.

    The time to re-spool the data will vary depending on the amount and size of the files your system is processing.