# ShoreTel VoIP
The ServicePilot ShoreTel VoIP package provides the basis of the ShoreTel VoIP monitoring infrastructure.
The ShoreTel VoIP package is designed to gather call quality information by network zone and general call statistics. One ShoreTel VoIP package is expected to be deployed per customer. Each customer will then have all of their ShoreTel VoIP equipment listed in the ShoreTel VoIP Infrastructure sub-view of this package.
This package makes use of the ShoreTel MySQL CDR report database. When configuring this package, database configuration and credentials are requested so that statistics can be retrieved. The statistics include:
- Call Statistics
- Call Quality (by network or zone)
Network Flows - It is necessary to insure network connectivity between ServicePilot and the monitored device. In case of a network infrastructure with a firewall, all of the following flows must be opened:
- ServicePilot Manager Web server access (by default TCP/80 when using HTTP or TCP/443 when using HTTPS although this port is configurable): Between ServicePilot Agent and ServicePilot Manager
- TCP/4309 (Default) (MySQL): Between ServicePilot Agent and ShoreTel MySQL CDR report database
Third Party Configuration
- The ShoreTel MySQL CDR report database accessible to the ServicePilot Agent with username and password entered when configuring the resource
- ServicePilot Manager minimum version: 8.5
- ServicePilot Agent Minimum version 8.5 installed and configured
- A Call Quality by Zone Or Network resource imported into the configuration for the ServicePilot Agent
Before adding a resource to monitor, make certain that all pre-requisites are in place and if a ServicePilot Agent is required, that it is communicating correctly with the ServicePilot Manager.
Add resource using Views Configuration web interface
- As an administrative user of ServicePilot, open the ServicePilot web interface.
- Navigate to Administration. The Configuration > Views web page will open.
- Click on the view in which to place the new resource in the Views hierarchy on the left of the interface. The View editor section will show the existing view contents.
- From the Packages list on the right of the interface, click and drag the voip-shoretel package into the View editor and let go.
- The Resource properties dialog box will open to allow resource configuration.
- Click OK to close the Resource properties dialog box. Note that the dialog box will not close if required parameters are not set.
- Click Save to apply the new resource to ServicePilot configuration.
Key field notes
Customer Name tab:
- Customer Name (matching Shortel VoIP Customer Name): If ServicePilot has been set up in multi-tenant environment, then the customer name is to be presented here, otherwise this field is to be left blank.
CDR Monitoring tab:
- HQ IP Address: Shoretel HQ IP Address
- MySQL CDR Port: Specify the port of the MySQL server with Shoretel CDR.
- MySQL CDR User: Specify the user name for the MySQL server with Shoretel CDR.
- MySQL CDR Password: Specify the password for the MySQL server with Shoretel CDR.
- Polling frequency (sec): Specify the polling interval in seconds (Default: 60).
- External extension pattern: A pipe separated list of Like Operator patterns to Specify an extension as external to the enterprise. Starting the list with an ! will reverse the meaning, so then list internal extensions instead (Default: 0|+). See the Like Operator (Visual Basic).
- Mask Extensions: if set, masking will be enabled
- Number of trailing digits to mask: specify number of trailing digits to mask
- Length of number before digit masking takes effect: specify length of number before digit masking takes place
Good Call Quality tab. Here you can define the thresholds of a "good quality call". Complete the fields as follows:
- Good Loss Rate<(%): Define the percentage loss rate under which a call will be qualified as "good".
- Good Jitter<(ms): Define the value of Jitter in milliseconds under which a call will be qualified as "good".
- Good Latency<(ms): Define the value of latency in milliseconds under which a call will be qualified as "good".
- Good MOS>: Define the mean opinion score above which a call will be qualified as "good".
Medium Call Quality tab. Here you can define the thresholds of a "medium quality call". Complete the fields as follows:
- Medium Loss Rate<(%): Define the percentage loss rate under which a call will be qualified as "medium".
- Medium Jitter<(ms):Define the value of Jitter in milliseconds under which a call will be qualified as "medium".
- Medium Latency<(ms): Define the value of latency in milliseconds under which a call will be qualified as "medium".
- Medium MOS>: Define the mean opinion score above which a call will be qualified as "medium".
Other Call Quality tab:
- Fixed One-way Delay value (ms): Shortel does not provide one-way delay data for media streams. To be able to calculate a MOS score, the constant one-way delay value specified here will be used instead.
- Note that the ShoreTel VoIP package must be imported before any other ShoreTel VoIP resources.