<p>These instructions should assist in configuring your Avaya Communications Manager 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"><b>IP: </b>
				The Avaya Communication Manager requires a few changes on the system to get it to output the CDR via TCP/IP. You will find information on the required changes below.
			</td>
		</tr>
		<tr>
			<td class="confluenceTd"><b>IP Method</b></td>
			<td class="confluenceTd">The Avaya Communications Manager sends the CDR data to the IP address of the TIM Enterprise machine on a specific TCP port.
			</td>
		</tr>
	</tbody>
</table>

<h2>Configuring your your Avaya Communications Manager</h2>


<h4>Configuring node-names</h4>

<p>You will need to use the <span class="reference">change node-names</span> command to add a new <i>node</i>. You will have two fields which are required to be populated:</p>

<ul>
	<li><b>Name:</b> In this field please enter in <span class="keyword">TIM Enterprise</span>.</li>
	<li><b>IP Address:</b> This needs to be set to the IP Address of the machine that TIM Enterprise is installed on.</li>
</ul>

<p>Below you can find an example of node-names configuration:</p>

<img src="http://www.tri-line.com/common/img/documentation/tim_enterprise/pbx/avaya_communications_manager_1.png" alt="Avaya Communications Manager" />



<h4>Configuring ip-services</h4>

<p>You will need to use the <span class="reference">change ip-services</span> command to add/ammend 
ip-services. There are three pages that need to be configured, below 
you will find, by page the fields that need to be configured.</p>

<p>In <b>Page 1</b>, you will have the following fields which are required to be populated:</p>

<ul>
	<li><b>Service type:</b> This needs to be set to <span class="keyword">CDR1</span>.</li>
	<li><b>Local Node:</b> This needs to be set to the node-name of the CLAN board.</li>
	<li><b>Local Port:</b> This cannot be changed, it is always set to <span class="keyword">0</span>.</li>
	<li><b>Remote Node:</b> This needs to be set to the node-name which was created in the <span class="reference">node-names</span> section which should be <span class="keyword">TIM Enterprise</span>.</li>
	<li><b>Remote Port:</b> This is the TCP port that TIM Enterprise will be listening on, generally the 9000 range is normally free so we could recommended you select one from there.</li>
</ul>

<p>Below you can find an example of ip-services configuration, <b>Page 1</b>:</p>

<img src="http://www.tri-line.com/common/img/documentation/tim_enterprise/pbx/avaya_communications_manager_2.png" alt="Avaya Communications Manager" />

<p>In <b>Page 2</b>, no configuration changes are needed.</p>

<p>In <b>Page 3</b>, you will have the following fields which are required to be populated:</p>

<ul>
	<li><b>Reliable Protocol:</b> This needs to be set to <span class="keyword">n</span>.</li>
	<li><b>Packets Resp Timer:</b> Please leave this as the default, which is <span class="keyword">30<span>.</li>
	<li><b>Sessions Connect Message Cntr:</b> Please leave this as the default, which is <span class="keyword">3<span>.</li>
	<li><b>SPDU Cntr:</b> Please leave this as the default, which is <span class="keyword">3<span>.</li>
	<li><b>Connectivity Timer:</b> Please leave this as the default, which is <span class="keyword">60<span>.</li>
</ul>

<p>Below you can find an example of ip-services configuration, <b>Page 3</b>:</p>

<img src="http://www.tri-line.com/common/img/documentation/tim_enterprise/pbx/avaya_communications_manager_3.png" alt="Avaya Communications Manager" />


<h4>Configuring system-parameters CDR</h4>

<p>You will need to use the <span class="reference">change system-parameters cdr</span> command to amend the CDR format. As there are quite a few changes, we have supplied screenshots of each page and how it should 
be configured.</p>

<p>Below you can find <b>Page 1</b> of system-parameters CDR configuration:</p>

<img src="http://www.tri-line.com/common/img/documentation/tim_enterprise/pbx/avaya_communications_manager_4.png" alt="Avaya Communications Manager" />

<p><b>Page 2</b> of system-parameters CDR configuration is as shown below:</p>

<img src="http://www.tri-line.com/common/img/documentation/tim_enterprise/pbx/avaya_communications_manager_5.png" alt="Avaya Communications Manager" />



<h4>Configuring Trunk-Groups</h4>

<p>To receive response times for incoming calls, you need to set the CDR field for each trunk group to <span class="keyword">r</span>. You will need to use the <span class="reference">change trunk-group X</span>, 'X' being the trunk group number.</p>

<p>Below you can find an example of trunk-groups configuration:</p>

<img src="http://www.tri-line.com/common/img/documentation/tim_enterprise/pbx/avaya_communications_manager_6.png" alt="Avaya Communications Manager" />



<h4>Configuring Intra-Switch-CDR</h4>

<p>To receive internal calls CDRs you will need to populate the <span class="reference">intra-switch-cdr</span> table with the extension numbers that you want to see the internal calls for. You will need to use the 
'change intra-switch-cdr' command.</p>

<p>Below you can find an example of intra-switch-cdr configuration:</p>

<img src="http://www.tri-line.com/common/img/documentation/tim_enterprise/pbx/avaya_communications_manager_7.png" alt="Avaya Communications Manager" />



<h4>Configuring multiple Avaya Communications Managers</h4>

<p>If you are using firmware R13+ you will need to set the SMDR output to 'Flexible CIL' and configure the options as below:</p>

<img src="http://www.tri-line.com/common/img/documentation/tim_enterprise/pbx/aastra_bp_1.png" alt="Aastra BP" />



<h4>Avaya Communications Manager - LSPs (Local Survivable Processors)</h4>

<p>If you are using firmware R13+ you will need to set the SMDR output to 'Flexible CIL' and configure the options as below:</p>

<img src="http://www.tri-line.com/common/img/documentation/tim_enterprise/pbx/aastra_bp_1.png" alt="Aastra BP" />



<h4>Avaya Communications Manager - Not linked</h4>

<p>If you are using firmware R13+ you will need to set the SMDR output to 'Flexible CIL' and configure the options as below:</p>

<img src="http://www.tri-line.com/common/img/documentation/tim_enterprise/pbx/aastra_bp_1.png" alt="Aastra BP" />




<h2>Configuring TIM Enterprise</h2>

<p>Below you will find steps on how to configure TIM Enterprise to listen for SMDR data from your Avaya Communications Manager:</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 'Avaya Communications Manager'.</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">Avaya Communications Manager</span> from the PBX model list.</li>
	<img src="http://www.tri-line.com/common/img/documentation/tim_enterprise/pbx/avaya_communications_manager_.png" alt="Avaya Communications Manager" />
	<li>In the <span class="button" id="list">Connection</span> tab select <span class="keyword">No connection required</span> from the <span class="reference">Connection method</span> list.</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/avaya_communications_manager_.png" alt="Avaya Communications Manager" />
</ol>