<p>These instructions should assist in configuring your Cisco UCME / UC500 to 
work with TIM Enterprise. If you are not familiar with PBX 
configuration, please contact your system maintainer.</p>

<div class="panelMacro"><table class="tipMacro"><colgroup><col width="24"><col></colgroup><tbody><tr><td valign="top"><img width="16" height="16" border="0" align="absmiddle" alt="" src="/images/icons/emoticons/check.png"></td><td><b>There are two ways to connect to the Cisco UCME / UC500:</b><br><ol><li><a href="#radius">RADIUS</a> (RADIUS events are recommended by Cisco)</li><li><a href="#syslog">SysLog</a> (Requires SysLog server, not all CDR data received from router)</li></ol></td></tr></tbody></table></div>


<h2><a name="radius">Cisco UCME / UC500 RADIUS configuration</a></h2>

<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">RADIUS
			</td>
		</tr>
		<tr>
			<td class="confluenceTd"><b>Method</b></td>
			<td class="confluenceTd">The Cisco UCME / UC500 will send the CDR data to TIM Enterprise via RADIUS call events.
			</td>
		</tr>
	</tbody>
</table>

<h4>Downloading and configuring interface file <span class="keyword" style="color: #477FBD;">Cisco UCME.zip</span></h4>

<ol class="split start">
	<li>Visit <a href="https://gateway.tri-line.com/">Tri-Line's Portal</a> and download the template file, as shown below:</li>
	<img id="border" src="http://www.tri-line.com/common/img/documentation/tim_enterprise/pbx/3cx_1.png" alt="3CX" />
	<li> Extract the <span class="keyword">Cisco UCME.zip</span> file to <span class="keyword">C:\Program Files\Tri-Line\TIM Enterprise\config</span> folder. Zip file should contain 
	four files, <span class="keyword">Cisco UCME-RADIUS.TDT</span>, <span class="keyword">Cisco UCME-Syslog.TDT</span>, <span class="keyword">Cisco UCME-RADIUS.TDS</span> and <span class="keyword">Cisco UCME-Syslog.TDS</span>.</li>
</ol>




<h4>Configuring TIM Enterprise</h4>

<p>Below you will find steps on how to configure TIM Enterprise to listen for SMDR data from your Cisco UCME / UC500:</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 'Cisco UCME'.</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">Cisco UCME - RADIUS</span> from the PBX model list and enable the local backup.</li>
	<img src="http://www.tri-line.com/common/img/documentation/tim_enterprise/pbx/cisco_ucme_1.png" alt="Cisco UCME" />
	<li>In the <span class="button" id="list">Connection</span> tab select <span class="keyword">RADIUS connection</span> from the <span class="reference">Connection method</span> list.</li>
	<li>In the <span class="reference">Client IP</span> field enter in the IP address or Hostname of your Cisco router.</li>
	<li>In the <span class="reference">Secret key</span> field enter in the passphrase used for RADIUS events e.g. 'C1sco'.</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/cisco_ucme_2.png" alt="Cisco UCME" />
</ol> 




<h4>Configuring Directory Sync</h4>

<p>Below you will find steps on how to configure the Directory Sync from UCME / UC500:</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 to the point in the Directory where you need to synchronise and add a new <span class="reference">Directory Sync</span> object with an appropriate description e.g. 'Cisco AXL'.</li>
	<img src="http://www.tri-line.com/common/img/documentation/tim_enterprise/pbx/cisco_ucme_6.png" alt="Cisco UCME" />
	<li>Left-click on it and select <span class="button" id="list">Properties</span>.</li>
	<li>In the <span class="reference">Directory type</span> drop-down list select <span class="keyword">Cisco UCME</span>.</li>
	<li>In the <span class="reference">Host name</span> field enter in the IP address or Hostname of your Cisco router.</li>
	<li>In the <span class="reference">Username</span> field enter in the username of your choice.</li>
	<img src="http://www.tri-line.com/common/img/documentation/tim_enterprise/pbx/cisco_ucme_3.png" alt="Cisco UCME" />
	<li>Click <span class="button" id="list">Set password</span> and enter the password used to login to the Cisco UCME / UC500, followed by clicking <span class="button" id="list">OK</span>.</li>
	<img src="http://www.tri-line.com/common/img/documentation/tim_enterprise/pbx/cisco_ucme_4.png" alt="Cisco UCME" />
	<li>Finally, click on the <span class="button" id="list">Save</span> button.</li>
</ol> 



<h4>Setup RADIUS on Cisco UCME / UC500 to send call events to TIM Enterprise</h4>

<p>Login to your Cisco UCME / UC500 via telnet, as shoen below:</p>

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

<p>Now just enter the following RADIUS commands:</p>

<table class="confluenceTable">
	<tbody>
		<tr>
    		<th class="confluenceTh">Step</th>
		    <th class="confluenceTh">IOS commands</th>
		    <th class="confluenceTh">Description</th>
	  	</tr>
	  	<tr>
	  		<td class="confluenceTd"><b>1</b></td>
	    	<td class="confluenceTd"><span class="keyword">enable</span></td>
	    	<td class="confluenceTd">Enter EXEC mode, enter password if requested.</td>
	  	</tr>
  		<tr>
    		<td class="confluenceTd"><b>2</b></td>
    		<td class="confluenceTd"><span class="keyword">conf t</span></td>
   			<td class="confluenceTd">Enter global configuration mode.</td>
 		</tr>
 		<tr>
    		<td class="confluenceTd" rowspan="4"><b>3</b></td>
    		<td class="confluenceTd"><span class="keyword">aaa new-model</span></td>
    		<td class="confluenceTd" rowspan="4">Enable aaa accounting mode.</td>
  		</tr>
  		<tr>
    		<td class="confluenceTd"><span class="keyword">aaa accounting connection h323 start-stop group RADIUS</span></td>
  		</tr>
  		<tr>
    		<td class="confluenceTd"><span class="keyword">gw-accounting aaa</span></td>
  		</tr>
  		<tr>
    		<td class="confluenceTd"><span class="keyword">acct-template callhistory-detail</span></td>
  		</tr>
  		<tr>
    		<td class="confluenceTd"><b>4</b></td>
    		<td class="confluenceTd"><span class="keyword">RADIUS-server host 192.168.1.1 auth-port 1645 acct-port 1612</span></td>
    		<td class="confluenceTd">Specifies the IP address to send CDR data. Where '192.168.1.1' is the machine running TIM Enterprise.</td>
  		</tr>
  		<tr>
    		<td class="confluenceTd"><b>5</b></td>
    		<td class="confluenceTd"><span class="keyword">RADIUS-server key C1sco</span></td>
    		<td class="confluenceTd">Specifies the RADIUS authentication secret as 'C1sco' as configured above.</td>
 		</tr>
  		<tr>
    		<td class="confluenceTd"><b>6</b></td>
    		<td class="confluenceTd"><span class="keyword">RADIUS-server vsa send accounting</span></td>
    		<td class="confluenceTd">Enables VSA events.</td>
 		</tr>
  		<tr>
    		<td class="confluenceTd"><b>7</b></td>
    		<td class="confluenceTd"><span class="keyword">end</span></td>
    		<td class="confluenceTd">Exit configuration mode.</td>
  		</tr>
		<tr>
    		<td class="confluenceTd"><b>8</b></td>
    		<td class="confluenceTd"><span class="keyword">wr</span></td>
    		<td class="confluenceTd">Save changes.</td>
  		</tr>
	</tbody>
</table>