<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">

	<div style="border-width: 1px; width: 1140px;" class="code panel"><div class="codeContent panelContent">
<div><div class="syntaxhighlighter nogutter  java" id="highlighter_406679"><div class="toolbar"><span><a class="toolbar_item command_help help" href="#">?</a></span></div><table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td class="code"><div title="Hint: double-click to select code" class="container"><div class="line number1 index0 alt2"><code class="java plain">[CDRout]secret = cdrdeny = </code><code class="java value">0.0</code><code class="java plain">.</code><code class="java value">0.0</code><code class="java plain">/</code><code class="java value">0.0</code><code class="java plain">.</code><code class="java value">0</code><code class="java plain">.0permit = </code><code class="java value">10.0</code><code class="java plain">.</code><code class="java value">0.0</code><code class="java plain">/</code><code class="java value">255.0</code><code class="java plain">.</code><code class="java value">0</code><code class="java plain">.0permit = </code><code class="java value">192.168</code><code class="java plain">.</code><code class="java value">0.0</code><code class="java plain">/</code><code class="java value">255.255</code><code class="java plain">.</code><code class="java value">0</code><code class="java plain">.0permit = </code><code class="java value">212.57</code><code class="java plain">.</code><code class="java value">232.128</code><code class="java plain">/</code><code class="java value">255.255</code><code class="java plain">.</code><code class="java value">255</code><code class="java plain">.128read = callwrite =</code></div></div></td></tr></tbody></table></div></div>
</div></div>
	</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>