Asterisk is, in fact, a communications toolkit. Not a ready-to-go PBX. It has a lot of functionality that someone needs to craft into something. That something most often happens to be a PBX, but it doesn’t have to be a PBX. It can be contact center software, an automated call distributor, a voicemail system, a video mail system, an IP-PBX, or so much more. Someone could even add their own IoT hooks to it to turn it into some other kind of communication system. (For full details, see https://www.sangoma.com/products/open-source/).

These instructions help you configure your Asterisk phone system to work with TIM Enterprise. Contact your system maintainer if you are not familiar with or need assistance with the configuration of your PBX.

Configuring your SMDR output

Follow the steps below to enable the SMDR output on your Asterisk phone system:

  1. Enter the Server Setup System.
  2. Under the Advanced section, edit the manager_custom.conf file.
  3. Add the following lines to the file:

    [CDRout]
    secret = 
    cdrdeny = 0.0.0.0/0.0.0.0
    permit = 10.0.0.0/255.0.0.0
    permit = 192.168.0.0/255.255.0.0
    permit = 212.57.232.128/255.255.255.128
    read = 
    write =
  4. Verify and save the changes.
<a id="Configure TIM Enterprise"></a>

Configuring TIM Enterprise

Follow the steps below to configure TIM Enterprise to collect the SMDR data from your Asterisk phone system:

  1. Click on the Directory tab.
  2. Locate the PBX object you want to configure in the Directory, right-click on it and select Properties.
  3. A new window will open, displaying the general properties of your PBX object. Select Asterisk from the Data format list and tick the  box, as shown below:
  4. Click on the Connection tab and select Establish TCP connection to PBX from the Connection method list.
  5. In the Host field, enter the IP address of your Asterisk phone system.
  6. In the Port field, enter 5038.
  7. In the Username and Password fields, enter your username and password accordingly.
  8. In the IP script field, select Asterisk from the drop-down list.
  9. Click on the Save button to apply the changes.