Mike's PBX Cookbook

CUCM and CallBill3

The Cisco CallManager is configured to output the call detail record (CDR) data files to a SFTP server using SFTP push protocol where they are stored in a depository folder. The CallBill Record Processor is configured to periodically poll this depository folder for the raw CDR files and process the CDR information to the CallBill databases for reporting purposes. Once processed the raw CDR files are moved to the CallBill “Archive” folder where they are stored for a pre-determined period, default is three months.

- Cisco CallManager Configuration -

Services Required

CallManager:

CDR Agent:

CDR Repository Manager:

For every node that runs the CallManager service, the CDR Agent service on that node is responsible to transfer the flat files to the cdr_respository structure on the Publisher. If the CallManager service runs on the Publisher as well, then the CDR Agent service on the Publisher transfers the flat files to the cdr_repository directory structure on the Publisher. If billing servers are configured, then the CDR Repository Manager service on the Publisher transfers these flat files to the billing servers.

Configuration Steps:

  1. To enable CDR navigate to System ➤ Service Parameter ➤ Call Manager Service. Set the CDR Enabled Flag to True. This has to be done for all the nodes in the server.
  2. To set the CDR File Time Interval navigate to System ➤ Enterprise Parameters ➤ CDR Parameters. The default setting is 1 minute, Phoneware recommend 60 minutes.
  3. Add the SFTP server/Billing Server where the files are to be sent. Navigate to Cisco Unified Serviceability ➤ Tools ➤ CDR Management and add new billing server entering the User Name/Password as configured on the SFTP server. cucmcb1.jpg
  4. CallBill3 does not require CMR (Call Management Record) files so the generation of these record types should be disabled. This is the default setting but can be checked by navigating to System ➤ Service Parameter ➤ Call Manager Service ➤ Call Diagnostics Enabled.

- CallBill3 Record Processor Configuration -

The CallBill Record Processor has to be configured for the Cisco CDR record format, the location of the CDR depository folder and the external gateway endpoints. cucmcb2.jpg

Site Settings:

  1. Open the 'CallBill Record Processor/File/Site' window and set the Record Format option to Cisco_CDR from the drop-down list.
  2. Under the 'General' tab window set the Retrieve Call Records option to PC/Network Folder from the drop-down list.
  3. Using the Browse button set the Call Detail Records Folder to the SFTP Cisco CDR Depository folder.
  4. Set the Call Detail Record File Name setting to cdr*.
  5. Set Time Zone (GMT) to the time difference between the PC time and GMT, e.g. if the PC is set to EST then this option should be set to -5.
  6. Select the Do Not Process Call Records of Duration 0 option.

Click on the Save button to save the changes made. Restart the CallBill Record Processor to ensure that the changes were saved successfully. If this is not the case then the CallBill Record Processor has to be “Run as Administrator” to allow any changes made to be written to the Record Processor configuration file (cbrp.ini) in the C:\Windows folder.

Gateway Settings:

The gateway identifier information for each external endpoint has to be added to CallBill otherwise the endpoints will be considered as a local endpoint during call processing.

  1. Open the File/Route/Gateway window.
  2. Select the required Carrier from the Carrier list-box.
  3. Click on the New Code button to add a new entry for that carrier.
  4. If the dialled digits field in the CDR record includes an “access code” at the start of the field that should be stripped enter this value in the Access Code field, otherwise this field should be left blank.
  5. For external endpoints set the Internal Route/Gateway field to False.
  6. Enter the external endpoint identifier name in the Route/Gateway field. Note: Windows wildcards can be used to simplify entry.
  7. Click on the Save button the save the entry.
cucmcb3.jpg

Contact:

For CallBill support, reach out to Phoneware Services.

Email:support@phoneware.ie
Telephone:+353 404 68711
US Toll Free:1-800 660 9248