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.
There are two ways to connect to the Cisco UCME / UC500: |
Cisco UCME / UC500 RADIUS configuration
Connection information | Description |
---|---|
Connection type | FTP |
IP method | The Cisco UCME will need to be configured to send the CDR out using FTP accounting method. The Call Detail Records are sent out via FTP over the network. |
Configuring your SMDR
Download and configure interface file 3CX.zip
- Visit Tri-Line's Portal and download the template file, as shown below:
- Extract the 3CX.zip file to C:\Program Files\Tri-Line\TIM Enterprise\config folder. Zip file should contain CDRTemplate-Socket.xml, 3CX.TDT and 3CX.TDS.
Copy CDRTemplate-Socket.xml to 3CX server
- Copy CDRTemplate-Socket.xml to the 3CX server into C:\Documents and Settings\All Users\Application Data\3CX\Data\CDRTemplates.
- Edit CDRTemplate-Socket.xml with the IP address of the machine running TIM Enterprise.
- Login to your 3CX server and select Settings ? Advanced from the menu.
- Select Advanced Settings screen. from the
- Enable the tick box for Output CDR to Socket (Active - Initiates connection) and click .
- Under 3CX Phone System, click Service Name section select . and within the
- Click to load the new XML file.
Configuring TIM Enterprise
Below you will find steps on how to configure TIM Enterprise to listen for SMDR data from your Cisco UCME:
- Browse to TIM Enterprise as normal and login with your credentials.
- Click on the tab.
- Go the the point in the Directory where you need to add the PBX Object and add a PBX with the name 'Cisco UCME'.
- Left-click on it and select .
- From the Cisco UCME from the PBX model list. settings tab select
- In the Receive FTP transfers from PBX from the Connection method list. tab select
- In the Username field enter in your username.
- In the Password field enter in your password.
- Finally, click on the button.
Configuring the FTP connection
You will need to configure your Cisco UCME router to transmit the CDR data using the FTP accounting method.
This method will transmit CDR data files in .CSV format to the FTP server configured within the routers IOS configuration.
The machine that TIM Enterprise is installed on will receive the .CSV files via FTP and process the data.
The steps required are as follows:
- Login to Cisco router, and type enable followed by the key. (Enter your password if prompted). This will allow you to enter enabled mode and can be confirmed by the command prompt changing to display router name #.
- Type conf to enter configuration mode. This will be confirmed as a successfully entered because the command line will change to router name (config)#.
- Type gw-accounting file followed by .
- Type primary ftp server name / username bob password mypass followed by .
- Type maximum retry-count 3 followed by .
- Type maximum buffer-size 25 followed by .
- Type maximum fileclose-timer 60 followed by .
- Type maximum cdrflush-timer 1 followed by .
- Type cdr format detailed followed by .
- Type end followed by .
- Type wr followed by to save the settings on the routers memory.
- You may now choose any filename, however the extension of the file is unique and should correspond with the sitecode associated to the Site that has been created in the tab in TIM Enterprise. To find the 'Unique ID', please follow the following steps:
- Browse to TIM Enterprise as normal and login with your credentials.
- Click on the tab.
- Hover the mouse currsor over the Site that you want to log data for. A tooltip will appear that will have the name of the site and in brackets it will show 'Uinque ID :X', X being a numerical value. The numerical value is the actual 'Unique ID' and this is what the file extension should be set to. For example, if you see Unique ID 41392, then your Unique ID is 41392 and you shouls set the extension of the file that is being written to be TIM Enterprise 'Spool' to '41392' e.g. data.1
Server name = The DNS name of the server with TIM Enterprise installed or its IP address/ = root of FTP server location.
Bob = FTP username configured within TIM Enterprise.
My pass = The FTP password configured within TIM Enterprise.
Cisco UCME SysLog configuration
Connection information | Description |
---|---|
Connection type | IP |
IP method | The Cisco UCME will need to be configured to send the CDR out using the SysLog accounting method. The Call Detail Records are sent out via UDP over the network. |
You will need to configure your Cisco UCME to send the CDR data out using the SysLog accounting method. This method will broadcast messages via UDP. The machine that TIM Enterprise is installed on will need to have a SysLog server installed which can output the information it receives from the Cisco UCME to a file and destination which can be specified to our needs. Kiwi SysLog is a popular SysLog server that has been used for implementation with TIM Enterprise successfully.
Configuring TIM Enterprise
Below you will find steps on how to configure TIM Enterprise to listen for SMDR data from your Cisco UCME:
- Browse to TIM Enterprise as normal and login with your credentials.
- Click on the tab.
- Go the the point in the Directory where you need to add the PBX Object and add a PBX with the name 'Cisco UCME'.
- Left-click on it and select .
- From the Cisco UCME from the PBX model list. settings tab select
- In the No connection required from the Connection method list. tab select
- Finally, click on the button.
- When the connection method is set to No connection required this indicates that the SMDR/CDR information is going to be written directly to the TIM Enterprise Spool folder. The application which writes the file will need to be setup so it writes to file to the following location: \program files\tri-line\tim plus\spool\.
- You may now choose any filename, however the extension of the file is unique and should correspond with the sitecode associated to the Site that has been created in the tab in TIM Enterprise. To find the 'Unique ID', please follow the following steps:
- Browse to TIM Enterprise as normal and login with your credentials.
- Click on the tab.
- Hover the mouse currsor over the Site that you want to log data for. A tooltip will appear that will have the name of the site and in brackets it will show 'Uinque ID :X', X being a numerical value. The numerical value is the actual 'Unique ID' and this is what the file extension should be set to. For example, if you see Unique ID 41392, then your Unique ID is 41392 and you shouls set the extension of the file that is being written to be TIM Enterprise 'Spool' to '41392' e.g. data.1
Configuring the SysLog connection
You will need to configure your Cisco UCME router to transmit the CDR data using the SysLog accounting method.
This method will transmit CDR data files as events to the syslog server configured within the routers IOS configuration.
The machine that is running the syslog server will receive the events and write them to a file, TIM Enterprise will then process the files.
The steps required are as follows:
- Login to Cisco router, and type enable followed by the key. (Enter your password if prompted). This will allow you to enter enabled mode and can be confirmed by the command prompt changing to display router name #.
- Type conf to enter configuration mode. This will be confirmed as a successfully entered because the command line will change to router name (config)#.
- Type wr followed by to save the settings on the routers memory.
- Download and install Kiwi syslog from http://www.kiwisyslog.com.
- Configure Kiwi to save received data to the spool folder of TIM Enterprise. Click and then .
- Followed by clicking on .
- Within the Path and file name of the log file area, change the path to c:\ProgramFiles\Tri-Line\TIM Enterprise\Spool\.X where X is the Site Code number configured within TIM Enterprise. (Pleas see Configuring TIM Enterprise above).
- Click followed by .