<p>These instructions should assist in configuring your Asterisk based PBX to 
work with TIM Enterprise. 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 Enterprise 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 based PBX:</p>

<ul id="table">
	<li>Enter the <span class="reference">Server Setup System</span>.</li>
	<li>Under the <span class="button" id="list">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">[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 =</span>.</li>
	<li>Click <span class="button" 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>
[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 =