Playing sound files to speaker is useful for implementing "page the operator" type features in Call Trees.
There are two ways to play a sound file to the speakers during a phone call:
Dim gTools
' Create the GeneralTools object
Set gTools = CreateObject("ACCTools.GeneralTools")
' Call the play wave file function.
' The function's only parameter is the name of the wave file.
gTools.PlayWaveFile "C:\My Documents\Sound File.wav"