<p>These instructions should assist in configuring your Cisco UCM / Business Edition 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">FTP or SFTP.
			</td>
		</tr>
		<tr>
			<td class="confluenceTd"><b>Connection method</b></td>
			<td class="confluenceTd">The Cisco UCM will send the CDR data to TIM Plus via FTP or SFTP.
			</td>
		</tr>
	</tbody>
</table>


<p>The tasks required to be done are as follows. They are all analysed in details further down this page.</p>

<ol>
	<li><a href="#1">Download TIM Plus and complete the setup wizard</a></li>
	<li><a href="#2">Create Cisco Application User for AXL sync</a></li>
	<li><a href="#3">Configure TIM Plus to receive data from your UCM</a></li>
	<li><a href="#4">Configure Cisco AXL sync</a></li>
	<li><a href="#5">Set up FTP / SFTP on Cisco UCM to transfer CDRs to TIM Plus</a></li>
</ol>

<h4><a name="1" style="text-decoration: none; color: #36375A;">1.&nbsp; Downloading TIM Plus and completing the setup wizard</a></h4>

<ol>
	<li>Visit <a href="https://gateway.tri-line.com/">Tri-Line's Portal</a> and download the TIM Plus installation package, as shown below:</li>
	<img class="screenshot" src="http://www.tri-line.com/common/img/documentation/tim_plus/pbx/gateway_2.png" alt="Gateway" />
	<li>Run the installation package and on <b>Stage 5</b> complete the following details:</li>
	<ul>
		<img class="screenshot" src="http://www.tri-line.com/common/img/documentation/tim_plus/pbx/installation_stage_5.png" alt="Installation" />
		<li><b>Site name:</b> Enter a description for the site</li>
		<li><b>PBX model:</b> Select <span class="keyword">Cisco UCM 5+</span></li>
		<li><b>Method:</b> Select <span class="keyword">Receive FTP transfers from PBX</span>. To use SFTP protocol, just click on the tick box</li>
		<li><b>Username:</b> Enter a username for FTP/SFTP transfers e.g. <span class="keyword">TIM</span></li>
		<li><b>Password:</b> Enter a password for the FTP account e.g. <span class="keyword">Ciscoftp</span></li>
	</ul>
</ol>

<h4><a name="2" style="text-decoration: none; color: #36375A;">2.&nbsp; Creating Cisco Application User for AXL sync</a></h4>

<p>Create an Application User on Cisco UCM, enabling TIM Plus to query the Cisco DB. Just follow the steps shown below:</p>

<ol>
	<li>Connect to your UCM node, select <span class="keyword">Cisco Unified CM Administration</span> from the <span class="reference">Navigation</span> drop down list on the right and click <span class="button no_margin">Go</span>.</li>
	<li>Login to the system, select <span class="button no_margin">User Management</span> from the menu and click <span class="button no_margin">Application User</span>.</li>
	<li>Click <span class="button no_margin">Add New</span> from the menu.</li>
	<li>Enter in the following details:</li>
	<ul>
		<li><b>User ID:</b>  Enter a username e.g <span class="keyword">TIM_AXL</span></li>
		<li><b>Password:</b>  Enter a password e.g <span class="keyword">C1sco</span></li>
		<li><b>Confirm Password:</b>  Repeat the password e.g <span class="keyword">C1sco</span></li>
	</ul>
	<li>Scroll down to the <span class="reference">Permissions Information</span> section and click <span class="button no_margin">Add to User Group</span>.</li>
	<li>In the new window, enter <span class="keyword">Standard Tab</span> and then click <span class="button no_margin">Find</span>. Tick on <span class="keyword">Standard TabSync User</span> and click <span class="button no_margin">Add Selected</span>, followed by <span class="button no_margin">Save</span>.</li>
</ol>

<h4><a name="3" style="text-decoration: none; color: #36375A;">3.&nbsp; Configuring TIM Plus to receive data from UCM</a></h4>

<p>Below you will find steps on how to create a PBX object and configure CDR transfer method:</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/cisco_ucm_3.png" alt="Cisco UCM" />
	<li>Within the <span class="reference">Site Properties</span> window, select <span class="keyword">Cisco UCM 5+</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">Receive FTP tranfers from PBX</span> from the drop-down list.</li>
	<li>In the <span class="reference">Username</span> field enter in the username of your choice e.g. <span class="keyword">Cisco</span>.</li>
	<li>In the <span class="reference">Password</span> field enter in the password of your choice e.g. <span class="keyword">C1sco</span>.</li>
	<li>To enable data backup, click on the <span class="button no_margin">Options</span> tab.</li>
	<img class="screenshot border" src="http://www.tri-line.com/common/img/documentation/tim_plus/pbx/cisco_ucm_4.png" alt="Cisco UCM" />
	<li>Click on the <span class="keyword">Save a backup of any data received from this PBX</span> tick box.</li>
	<li>Finally, click on the <span class="button no_margin">Save</span> button.</li>
</ol> 

<h4><a name="4" style="text-decoration: none; color: #36375A;">4.&nbsp; Configuring Cisco AXL sync</a></h4>

<p>Below you will find steps on how to configure the Directory Sync from Cisco UCM:</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>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 class="screenshot border" src="http://www.tri-line.com/common/img/documentation/tim_plus/pbx/cisco_ucme_6.png" alt="Cisco UCM" />
	<li>Left-click on it and select <span class="button no_margin">Properties</span>.</li>
	<li>In the <span class="reference">Directory type</span> drop-down list select <span class="keyword">Cisco UCM</span>.</li>
	<li>In the <span class="reference">Host name</span> field enter in the IP address or Hostname of Publisher node.</li>
	<li>In the <span class="reference">Username</span> field enter in the username configured in phase <a href="#2">2. Creating Cisco Application User for AXL sync</a>, e.g. 'TIM_AXL'.</li>
	<img class="screenshot border" src="http://www.tri-line.com/common/img/documentation/tim_plus/pbx/cisco_ucm_6.png" alt="Cisco UCM" />
	<li>Click <span class="button no_margin">Set password</span> and enter the password configured in phase <a href="#2">2. Creating Cisco Application User for AXL sync</a>, e.g. 'C1sco', followed by clicking 
	<span class="button no_margin">OK</span>.</li>
	<img class="screenshot border" src="http://www.tri-line.com/common/img/documentation/tim_plus/pbx/cisco_ucm_7.png" alt="Cisco UCM" />
	<li>Finally, click on the <span class="button no_margin">Save</span> button.</li>
</ol> 

<p>TIM Plus will now connect to the PBX and sync the directory objects.</p>

<h4><a name="5" style="text-decoration: none; color: #36375A;">5.&nbsp; Setting up FTP / SFTP on Cisco UCM to transfer CDRs to TIM Plus</a></h4>

<p>You will need to configure your Cisco UCM to send the CDR data to TIM 
Plus. Note that the UCM can be configured with cluster wide or 
server specific settings depending on how the system maintainer has 
installed it. Please note that by default CDR records are turned off.</p>

<ol>
	<li>Login to Cisco UCM Administration and choose <span class="button no_margin">System</span>, <span class="button no_margin">Service Parameters</span> which is located on the left hand side of the screen.</li>
	<li>Select your UCM node from the <span class="reference">Server</span> drop down list.</li>
	<li>Select <span class="keyword">Cisco Call Manager</span> from the <span class="reference">Service</span> drop down list.</li>
	<li>In the <span class="reference">System</span> section, change the <span class="reference">CDR Enabled Flag</span> to <span class="keyword">True</span>, enable this parameter on all servers in the cluster that you want to log calls for.</li>
	<li>Change the <span class="reference">CDR Log Calls with Zero Duration Flag</span> to <span class="keyword">True</span>(This parameter enables or disables the logging of CDRs for calls which were never connected or which lasted 1 second).</li>
	<li>Click on the <span class="button no_margin">Save</span> button.</li>
	<li>Click on the <span class="reference">Navigation</span> drop-down list in the top right hand corner and select <span class="reference">Cisco Unified Serviceability</span>.</li>
	<li>You may be prompted to login with a user account with Administrative permissions. If so, login with such an account.</li>
	<li>Select <span class="button no_margin">Tools</span> then click <span class="button no_margin">CDR Management</span>.</li>
	<li>Click <span class="button no_margin">Add New</span> button. You will now see the <span class="reference"">Billing Application Server Parameters</span> window.</li>
	<li>Enter the following parameters:</li>
	<ul>
		<li><b>Host Name/IP Address: </b>The IP address or hostname of the machine running TIM Plus.</li>
		<li><b>User Name: </b>as configured within phase <a href="#3">3. Configuring TIM Plus to receive data from UCM</a> e.g. 'Cisco'.</li>
		<li><b>Password: </b>as configured within phase <a href="#3">3. Configuring TIM Plus to receive data from UCM</a> e.g. 'C1sco'.</li>
		<li><b>Protocol: </b>Select FTP or SFTP as configured above.</li>
		<li><b>Directory Path: </b>Enter <span class="keyword">/</span>.</li>
		<li>Remove the tick from <span class="reference">Resend on Failure</span>.</li>
	</ul>
	<li>Now click on the <span class="button no_margin">Add</span> button to complete the Billing Server configuration. The UCM node will check that the FTP/SFTP details are correct and will write a test file to the FTP/SFTP directory.</li>
	<li>If it fails, you should check the FTP or SFTP details, configures above.</li>
</ol>

<p>You have now completed the configuration.</p>

NOTE: If you have more than one server in your cluster you must repeat Steps 1 to 5 for each node. This will enable the UCM nodes to start creating CDR records, which are stored on the Publisher Node.