These instructions help you configure your ShoreTel phone system to work with TIM Plus. Contact your system maintainer if you are not familiar with the configuration of your PBX.

<p>These instructions should assist in configuring your ShoreTel 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"><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 ShoreTel</h2>

<p>By default, the CDRs are written to the MySQL Database.</p>


<p>The database that TIM Plus will connect to is called 
'ShoreWareCDR'. You will need to create a username and password on the 
ShoreWare Server for the MySQL database so TIM Plus can connect to
 it. You may need to speak to your system maintainer to create this for
 you.</p>

<p>You will need to know the following information for TIM Plus to
 connect successfully to the Shoretel ShoreWareCDR database:</p>

<ul>
	<li>IP/DNS of the MySQL Database which is located on the ShoreWare Server.</li>
	<li>Username and Password to connect to the ShoreWareCDR database.</li>
</ul>

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

<p>You will need to setup a DSN connection for TIM Plus 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 no_margin">Start</span>.</li>
	<li>Click on <span class="button no_margin">Control panel</span>.</li>
	<li>Double click on <span class="button no_margin">Administrative tools</span> icon.</li>
	<li>Double click on <span class="button no_margin">Data Sources (ODBC)</span> icon.</li>
	<li>Click on the <span class="button no_margin">System DSN</span> tab.</li>
	<li>Click on the <span class="button no_margin">Add</span> button.</li>
	<li>Select <span class="keyword">MySQL ODBC 3.51 Driver</span> from the list and click <span class="button no_margin">Finish</span>. If you cannot see the <span class="keyword">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: <span class="keyword">shoretel</span>.</li>
	<li>In the <span class="reference">Description</span> field enter the following: <span class="keyword">TIM Plus link to ShoreTel</span>.</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 <span class="keyword">ShoreWareCDR</span>.</li>
	<li>Now click on the <span class="button no_margin">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 no_margin">OK</span> button and then again to close the window.</li>
</ol>

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

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

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

<h2>Configuring TIM Plus</h2>

<p>Below you will find steps on how to configure TIM Plus to listen for SMDR data from your ShoreTel:</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/shoretel_2.png" alt="ShoreTel" />
	<li>Within the <span class="reference">Site Properties</span> window, select <span class="keyword">ShoreTel</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">Connect to a system DSN</span> from the drop-down list.</li>
	<li>In the <span class="reference">DSN name</span> field select <span class="keyword">ShoreTel</span> from the drop-down list.</li>
	<li>In the <span class="reference">Frequency</span> field enter in <span class="keyword">5</span>.</li>
	<li>In the <span class="reference">DB script</span> field select <span class="keyword">ShoreTel</span> from the drop-down list.</li>
	<li>Finally, click on the <span class="button no_margin">Save</span> button.</li>
</ol>