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 Plus. Contact your system maintainer if you are not familiar with the configuration of your PBX.

Pbxsummary
Supportfiles1Asterisk.TDT
Supportfiles2Asterisk.TDS
Requiredtask1Configure the SMDR output
Requiredtask2Configure TIM Plus
ConnectionActive connection

...

RequiredTask1Configure the SMDR output
RequiredTask2Configure TIM Plus

HTML
<a id="Configure the SMDR output"></a>

Configuring your SMDR output

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

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

    Code Block
    themeEmacs
    [CDRout]
    secret = cdr
    cdrdenydeny = 0.0.0.0/0.0.0.0permit0
    permit = 10.0.0.0/255.0.0.0permit0
    permit = 192.168.0.0/255.255.0.0permit0
    permit = 212.57.232.128/255.255.255.128read128
    read = call
    callwritewrite =
  4. Click Edit to confirm the change.
  5. Verify and save the changes.
HTML
<a id="Configure TIM Plus"></a>

Configuring TIM Plus

Below you will find steps on how Follow the steps below to configure TIM Plus to receive collect the SMDR data from your Asteriskyour Asterisk phone system:

  1. Log on in to TIM Plus and click on the Directory tab.
  2. Click on Choose the site configured during the setup wizard you want to configure and click 
    Buttonmacro
    LabelProperties
    .
    Screenshotmacro
    Borderfalse
    URLhttp://docs.call-logger.com:8090/download/attachments/4817117/asterisk_1.png
  3. Within In the Site Properties window, select Asterisk from the PBX model drop-down list.
  4. In the Connection method field, select Actively connect to PBX from the drop-down list.
  5. In the Host field, enter the IP Address address of your Asterisk phone system.
  6. In the Port field, enter in 5038.
  7. In the Username and Password fields, enter in your username and password accordingly.
  8. In the Connection script field, select Asterisk from the drop-down list.
  9. Click on the Save button to apply the settings.

 

HTML
<hr/>
<p>These instructions should assist in configuring your Asterisk PBX to 
work with TIM Plus. If you are not familiar with PBX 
configuration, please contact your system maintainer.</p>

<table class="confluenceTable">
	<tbody>
		<tr>
			<th class="confluenceTh" width=158>Connection information</th>
			<th class="confluenceTh">Description</th>
		</tr>
		<tr>
			<td class="confluenceTd"><b>Connection type</b></td>
			<td class="confluenceTd">IP</td>
		</tr>
		<tr>
			<td class="confluenceTd"><b>IP method</b></td>
			<td class="confluenceTd">TIM Plus makes a connection to the Asterisk PBX.</td>
		</tr>
	</tbody>
</table>

<p>You will need to follow the below steps to enable CDR to be sent out via IP on your Asterisk PBX:</p>

<ul id="table">
	<li>Enter the <span class="reference">Server Setup System</span>.</li>
	<li>Under the <span class="button no_margin">Advanced</span> section select to edit the <span class="keyword">manager_custom.conf</span>.</li>
	<li>Add the following lines to the file: <span class="keyword">
Code Block
 [CDRout]secret = cdrdeny = 0.0.0.0/0.0.0.0permit = 10.0.0.0/255.0.0.0permit = 192.168.0.0/255.255.0.0permit = 212.57.232.128/255.255.255.128read = callwrite =
HTML
	</li>
	<li>Click <span class="button no_margin">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 Plus</h2>

<p>Below you will find steps on how to configure TIM Plus to listen for SMDR data from your Asterisk:</p>

<ol>
	<li>Browse to TIM Plus as normal and login with your credentials.</li>
	<li>Click on the <span class="button no_margin">Directory</span> tab.</li>
	<li>Click on the site configured during the setup wizard and click <span class="button no_margin">Properties</span> or create a new site and click <span class="button no_margin">Properties</span>.</li>
	<img class="screenshot border" src="http://www.tri-line.com/common/img/documentation/tim_plus/pbx/asterisk_1.png" alt="Asterisk" />
	<li>Within the <span class="reference">Site Properties</span> window, select <span class="keyword">Asterisk</span> from the <span class="reference">PBX model</span> drop-down list.</li>
	<li>In the <span class="reference">Connection method</span> field select <span class="keyword">Actively connect to PBX</span> from the drop-down list.</li>
	<li>In the <span class="reference">Host</span> field enter the IP Address of your Asterisk.</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> and <span class="reference">Password</span> fields enter in your username and password accordingly.</li>
	<li>In the <span class="reference">Connection script</span> field select <span class="keyword">Asterisk</span> from the drop-down list.</li>
	<li>Finally, click on the <span class="button no_margin">Save</span> button.</li>
</ol>