Skype for Business Calling – Troubleshooting Part 1

In the first of several posts about Skype for Business calling, I will be looking at a few ways that performance issues can be troubleshooted. As a new user of this service we have at times experienced issues with the quality of calls – usually this comes in the form of ‘squelchy’ sounding voice, or either one way or bidirectional silence on the calls (while the participants continue to talk). First up…

Network Assessment Tool

Published on the 14th of December, network assessment tool is a program which will make automated test calls using the clients Skype for Business client. On each call the following stats are output:

  • PacketLoss
  • Rate RoundTripLatencyInMs
  • PacketsSent
  • PacketsReceived
  • AverageJitterInMs
  • PacketReorderRatio
Network Assessment Tool Results

Network Assessment Tool Results

Additionally, an audio file is stored with the results that effectively plays back the call to the user. it’s a good way to see whether a small amount of packet loss created a perceivable drop in quality on the call.

The tool can be downloaded here.

The main configuration file ‘NetworkAssessmentTool.exe.config’ allows a number of changes to the way the tool behaves by default. I suggest removing the ‘Relay.TCPPort’ setting as skype for business should be using UDP for it’s calls. The ‘NumInterations’ is important as it allows you to specify how many times the tool should run before it quits.

configuration file options

Configuration file options

An issue I found with the tool was that although it was running several times, the output file ‘ReceivedAudioFile.wma’ was being overwritten every time. It was therefore impossible to correlate one line in the excel results file to a particular audio file as only the last one was being saved. I wrote a little powershell to run the program, rename and move the audio file, and export the results.

$repeat_count = 100000
$delay = 20
$i = 1

while($i -lt $repeat_count) {

sleep $delay
write-host “Starting call number $i”
$date = Get-Date -Format s
$file = $date + “.wma”
$file = $file -replace ‘:’,”

Set-Location -Path C:\Temp\NetworkAssessmentTool\
C:\Temp\NetworkAssessmentTool\NetworkAssessmentTool.exe
Move-Item ReceivedAudioFile.wma C:\Temp\NetworkAssessmentTool\Calls\$file
$new_resilts = Import-Csv results.tsv
$new_resilts | export-csv running-results.csv -NoTypeInformation -Append
$i++

}

Now you get a directory filled with audio files, and a excel file detailing the stats of every call. I have left this running for the last few weeks and it’s been very useful to see if call performance issues can be identified against network events (ie busy periods, backup jobs, internet problems etc).

Assessment tool script output

Assessment tool script output

 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.