<p>These instructions should assist in configuring your ShoreTel 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
			</td>
		</tr>
		<tr>
			<td class="confluenceTd"><b>IP method</b></td>
			<td class="confluenceTd">The ShoreTel stores its 'Call Detail Records' in a MySQL database which is located on the ShoreWare Server.
			</td>
		</tr>
	</tbody>
</table>

<h2>Configuring TIM Enterprise</h2>

<p>For your SMDR configuration, you will need to speak to your system maintainer to enable SMDR output.</p>


<h2>Setting up a DSN connection for TIM Enterprise</h2>

<p>You will need to setup a DSN connection for TIM Enterprise to work with 
the ShoreTel. Below you will find instructions on how to do this within 
Microsoft Windows:</p>

<ol>
	<li>Click on Windows <span class="button" id="list">Start</span>.</li>
	<li>Click on <span class="button" id="list">Control panel</span>.</li>
	<li>Double click on <span class="button" id="list">Administrative tools</span> icon.</li>
	<li>Double click on <span class="button" id="list">Data Sources (ODBC)</span> icon.</li>
	<li>Click on the <span class="button" id="list">System DSN</span> tab.</li>
	<li>Click on the <span class="button" id="list">Add</span> button.</li>
	<li>Select <span class="reference">MySQL ODBC 3.51 Driver</span> from the list and click <span class="button" id="list">Finish</span>. If you cannot see the <span class="reference">MySQL ODBC 3.51 Driver</span> you will need 
		to download this from <a href="http://www.mysql.com">http://www.mysql.com</a>.</li>
	<li>In the <span class="reference">Name</span> field enter the following: 'shoretel'.</li>
	<li>In the <span class="reference">Description</span> field enter the following: 'TIM Enterprise link to ShoreTel'.</li>
	<li>In the <span class="reference">Server</span> field enter the IP Address of the ShoreWare Server.</li>
	<li>In the <span class="reference">Username</span> field enter the username that was created for the ShoreWareCDR database.</li>
	<li>In the <span class="reference">Password</span> field enter the password that was created for the ShoreWareCDR database.</li>
	<li>In the <span class="reference">Database</span> drop-down list select 'ShoreWareCDR'.</li>
	<li>Now click on the <span class="button" id="list">Test</span> button which will confirm if the information you entered is correct and connection is successful.</li>
	<li>Click on the <span class="button" id="list">OK</span> button and then again to close the window.</li>
</ol>

<p>Now you will be able to see the Siemens OpenOffice in the <span class="button">System DSN</span> list.</p>

<p>An example of ODBC setup is shown below:</p>

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

<h2>Configuring TIM Enterprise</h2>

<p>Below you will find steps on how to configure TIM Enterprise to listen for SMDR data from your ShoreTel:</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 'ShoreTel'.</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">ShoreTel</span> from the PBX model list.</li>
	<img src="http://www.tri-line.com/common/img/documentation/tim_enterprise/pbx/shoretel_2.png" alt="ShoreTel" />
	<li>In the <span class="button" id="list">Connection</span> tab select <span class="keyword">Listen for connection from PBX</span> from the <span class="reference">Connection method</span> list.</li>
	<li>The <span class="reference">DSN</span> field should show <span class="keyword">ShoreTel</span>.</li>
	<li>In the <span class="reference">Frequency</span> field enter in <span class="keyword">5</span>.</li>
	<li>The <span class="reference">DB script</span> field should show <span class="keyword">ShoreTel</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/shoretel_3.png" alt="ShoreTel" />
</ol>