Previous Topic: Monitoring Authenticated SIP TrafficNext Topic: Legal Notices


Add or Remove SIP Ports for Monitoring

You can add or remove SIP ports for monitoring. In your environment, firewalls may prohibit monitoring on the default SIP ports. Or, the needs of your network may require that you monitor multiple SIP ports for load balancing, for example.

You can change port number in the vcAgentCurrentState.txt file.

Follow these steps:

  1. Open a command-prompt window on the collector server that monitors the SIP ports.
  2. Stop the CA UCM Collector Communication service.
    net stop “CA UCM Collector”
    

    Important: Stop the service before changing the vcAgentCurrentState.txt file. Otherwise, your changes may be overwritten because the collector saves configuration settings to the .txt file when it stops.

  3. After the service stops, navigate to the following location:
    install directory\voipmonitor\bin
    
  4. Open the vcAgentCurrentState.txt file in a text editor such as Notepad.
  5. In the .txt file, search for text "SIP port=" as shown below. Ports 5060 and 5061 are monitored by default:
    Changed directives=0x7f009fbe
    Show summary dialog=0
    Save interval=1
    …
    …
    SCCP port=2000
    MGCP port=2427
    Q931 port=2428
    H225 port=1720
    SIP port=5060;5061
    TPKT capture=1
    
  6. Add or remove port numbers on the SIP port= line. Separate port numbers with a semi-colon, but no space. For example:

    Important: The SIP port= line can contain no more than 5 port numbers.

  7. Save and close the text file.
  8. In the command-prompt window, start the Collector service:
    net start “CA UCM Collector”
    
  9. (Optional) To verify your changes, open the voipagent log in the
    [install directory]\voipmonitor\logs directory.

    Log entries similar to the following indicate that your changes were successful

    13:56:51 Severity 4 - [PacketReader] Setting (UDP & TCP) port filters: 5060 (SIP).
    13:56:51 Severity 4 - [PacketReader] Setting (UDP & TCP) port filters: 5061 (SIP-2).
    13:56:51 Severity 4 - [PacketReader] Setting (UDP & TCP) port filters: 5066 (SIP-3).