Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Fixing Asterisk config

...

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.

Pbxsummary
Supportfiles1Asterisk.TDT
Supportfiles2Asterisk.TDS
ConnectionActive connection
RequiredTask1Configure the SMDR output
RequiredTask2Configure TIM Enterprise

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:

    Code Block
    themeEmacs
    [CDRout]
    secret = cdr
    deny = 0.0.0.0/0.0.0.

...

  1. 0
    permit = 10.0.0.0/255.0.0.

...

  1. 0
    permit = 192.168.0.0/255.255.0.

...

  1. 0
    permit = 

...

  1. 212.57.232.128/255.255.255.

...

  1. 128
    

...

  1. read 

...

  1. =

...

  1.  call
    write =
  2. Verify and save the changes.
HTML
<a id="list">Edit</span> to confirm the change.</li>
</ul>

<p>Once you have completed the changes, you will need to restart the Asterisk for the changes to take effect.</p>

<h2>Configuring TIM Enterprise</h2>

<p>Below you will find steps on how to configure TIM Enterprise to listen for SMDR data from your Siemens HiCom-HiPath:</p>

<ol>
	<li>Browse to TIM Enterprise as normal and login with your credentials.</li>
	<li>Click on the <span class="button" id="list">Directory</span> tab.</li>
	<li>Go the the point in the Directory where you need to add the PBX Object and add a PBX with the name 'Asterisk'.</li>
	<li>Left-click on it and select <span class="button" id="list">Properties</span>.</li>
	<li>From the <span class="button" id="list">General</span> settings tab select <span class="keyword">Asterisk</span> from the PBX model list.</li>
	<img src="http://www.tri-line.com/common/img/documentation/tim_enterprise/pbx/asterisk_1.png" alt="Asterisk" />
	<li>In the <span class="button" id="list">Connection</span> tab select <span class="keyword">Establish TCP Connection to PBX</span> from the <span class="reference">Connection method</span> list.</li>
	<li>In the <span class="reference">Host</span> field enter in the IP address of your Asterisk based PBX.</li>
	<li>In the <span class="reference">Port</span> field enter in <span class="keyword">5038</span>.</li>
	<li>In the <span class="reference">Username</span> field enter in <span class="keyword">CDRout</span>.</li>
	<li>In the <span class="reference">Password</span> field enter in <span class="keyword">cdr</span>.</li>
	<li>In the <span class="reference">IP script</span> field select <span class="keyword">Asterisk</span>.</li>
	<li>Finally, click on the <span class="button" id="list">Save</span> button.</li>
	<img src="http://www.tri-line.com/common/img/documentation/tim_enterprise/pbx/asterisk_2.png" alt="Asterisk" />
</ol>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 
    Keywordmacro
    LabelKeep a local backup of data
    box, as shown below:
    Screenshotmacro
    Borderfalse
    URL/download/attachments/3407878/asterisk_1.png
  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.
    Screenshotmacro
    Borderfalse
    URL/download/attachments/3407878/asterisk_2.png