Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
HTML
<p>These instructions should assist in configuring your Cisco UCM 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">IP
			</td>
		</tr>
		<tr>
			<td class="confluenceTd"><b>IP method</b></td>
			<td class="confluenceTd">The Cisco UCM stores its Call Detail Records in a MS SQL database which is located on the <span class="reference">Publisher</span>.
			</td>
		</tr>
	</tbody>
</table>

<h2>Configuring Cisco Unified Call Manager</h2>

<p>By default the CDRs are not written to the MS SQL Database. The following 'Service' parameters need to be enabled on the <span class="reference">Publisher</span> using the 
<span class="reference">Service Parameters</span> Configuration window:</p>

<ul>
	<li>CDR Enabled</li>
	<li>CDR Log CallsWith Zero Duration Flag</li>
	<li>Call Diagnostics Enabled</li>
</ul>

<p>The database that TIM Enterprise will connect to what is called 'CDR'. Within this database there is a table called 'CallDetailRecord'. Rather than TIM Enterprise reading and removing data from the 'CallDetailRecord' 
table we <b>highly recommend</b> that you setup a second table which is a replication of the 'CallDetailRecord' table. This leaves the original table intact and can be used by other applications that may require it. 
There should be a SQL User already created with the following credentials:</p>

<ul>
	<li><b>Username: </b>CiscoCCMCDR</li>
	<li><b>Password: </b>dipsy</li>
</ul>

<p>To setup replication you will need to speak to your Database 
Administrator or your Cisco UCM maintainer. The replicated table name 
should be called 'calldetailrecord2'.</p>
  
<p>Please make sure that when the replication is setup that the above user has full access to the new table.</p>

<p>You will need to know the following information for TIM Enterprise to connect successfully to the Cisco UCM CDR database:</p>

<ul>
	<li>IP/DNS of the MS SQL Database which is located on the <span class="reference">Publisher</span>.</li>
	<li>Username and Password to connect to the CDR database (you may need to speak to your maintainer about this).</li>
</ul>

<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 Cisco UCM. 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">SQL Server</span> from the list and click <span class="button" id="list">Finish</span>.</li>
	<li>In the <span class="reference">Name</span> field enter the following: 'CCM'.</li>
	<li>In the <span class="reference">Description</span> field enter the following: 'TIM Enterprise link to CCM'.</li>
	<li>In the <span class="reference">Database name</span> field enter the database type e.g SQL, MySQL etc.</li>
	<li>In the <span class="reference">Server</span> drop-down list select the Cisco UCM Publisher IP address or machine name.</li>
	<li>Click on the <span class="button" id="list">Next</span> button.</li>
	<li>Click on the radio button <span class="reference">With SQL Server authentication using a login ID and password entered by the user</span> and click on the <span class="button" id="list">Next</span> button.</li>
	<li>Click on the check box <span class="reference">Change the default database to:</span> and select 'CDR' and then click on the <span class="button" id="list">Next</span> button.</li>
	<li>Click on the <span class="button" id="list">Finish</span> button.</li>
	<li>Click on the <span class="button" id="list">Test Data Source</span> button and once you make sure the test is completed successfully, click on the <span class="button" id="list">OK</span> button.</li>
	<li>Now click on the <span class="button" id="list">OK</span> button.</li>
</ol>

<p>Now you will be able to see the CCM 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/cisco_ucm_1.png" alt="Cisco UCM" />

<h2>Configuring TIM Enterprise</h2>

<p>Below you will find steps on how to configure TIM Enterprise to listen for SMDR data from your Cisco UCM:</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 UCM'.</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">Aastra BP</span> from the PBX model list.</li>
	<img src="http://www.tri-line.com/common/img/documentation/tim_enterprise/pbx/cisco_ucm_2.png" alt="Cisco UCM" />
	<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/cisco_ucm_3.png" alt="Cisco UCM" />
</ol>

These instructions help you configure your Cisco UCM to work with TIM Enterprise. Contact your system maintainer if you are not familiar with the configuration of your PBX.

Pbxsummary
Supportfiles1Cisco UCM v4 DSN.TDT
Supportfiles2Cisco UCM v4 DSN.TDS
Supportfiles3Cisco UCM 4.DBS
ConnectionDSN connection
RequiredTask1Configure the SMDR output
RequiredTask2Set up a DSN connection
RequiredTask3Configure TIM Enterprise

HTML
<a id="Configure the SMDR output"></a>

Configuring the SMDR output

This version of the Cisco UCM stores its call records in a Microsoft SQL Server database. However, by default, this functionality is not enabled. To enable it, the following settings must be configured on the Publisher using the Service Parameters configuration window:

  • CDR Enabled
  • CDR Log Calls With Zero Duration Flag
  • Call Diagnostics Enabled

This version of the UCM outputs its call records to a table named CallDetailRecord in a database entitled CDR. Rather than have TIM enterprise read and remove CDRs from the live CallDetailRecord table, we recommend you replicate this into a second table - leaving the original intact - so that it may be used by other applications that require it. Normally, there already exists a SQL User with the following credentials:

  • Username: CiscoCCMCDR
  • Password: dipsy

To set up replication you may need to speak to your database administrator or your Cisco UCM maintainer. Ensure that the SQL user described above has full access rights to this replicated table. 

You need to know the following information in order for TIM Enterprise to be able to connect to the Cisco UCM CDR database:

  • The IP address or hostname of the Microsoft SQL Server database located on the Publisher node.
  • The username and password to connect to the CDR database.
HTML
<a id="Set up a DSN connection"></a>

Setting up a DSN connection for TIM Enterprise

To enable TIM Enterprise to work with your Cisco UCM, you first need to set up a DSN connection. Follow the steps below to perform this task within Microsoft Windows:

  1. Open Windows Control Panel
  2. Double click on the Administrative tools icon
  3. Double click on the Data Sources (ODBC) icon to open the ODBC Data Source Administrator window

    Info

    For a 64 bit system, access the ODBC Data Source Administrator from the following location C:\Windows\SysWOW64\odbcad32.exe

  4. Select the System DSN tab and click the Add button
  5. Select SQL Server from the list of available drivers and click Finish
  6. In the Name field, enter  CCM
  7. In the Description field enter the following: TIM Enterprise link to CCM
  8. In the Database name field enter the database type e.g SQL, MySQL etc.
  9. In the Server drop-down list select the Cisco UCM Publisher IP address or machine name
  10. Click the Next button
  11. Select the option  With SQL Server authentication using a login ID and password entered by the user , then click Next
  12. Enable the checkbox  Change the default database to: , select CDR , then click the Next button
  13. Click the Finish button
  14. Click the Test Data Source button to verify your settings and, if the test is successful, click OK
  15. Click the OK button to close the control panel applet

 

An example of an ODBC setup is shown below:

Screenshotmacro
Borderfalse
Shadowfalse
URL/download/attachments/4817081/cisco_ucm_1.png

HTML
<a id="Configure TIM Enterprise"></a>

Configuring TIM Enterprise

Once the DSN connection has been set up, log in to TIM Enterprise and perform the steps below:

  1. Click on the Directory tab.
  2. Locate the PBX object you want to configure in the Directory, right-click on it and select Properties.
  3. A new window will open, displaying the general properties of your PBX object. Select Cisco UCM v4 DSN from the Data format list and tick the 
    Keywordmacro
    LabelKeep a local backup of data
    box, as shown below:
    Screenshotmacro
    Borderfalse
    Shadowfalse
    URL/download/attachments/3670082/cisco_ucm_2.png
  4. Click on the
    Buttonmacro
    LabelConnection
    tab and select Connect to a system DSN from the Connection method list. 
  5. The DSN connection details should be picked up automatically.
  6. Click on the Save button to apply the changes.
    Screenshotmacro
    Borderfalse
    Shadowfalse
    URL/download/attachments/3670082/cisco_ucm_3.png