Thursday, May 16, 2019

ShoreTel: Recording Audio from a Physical ShoreTel Voice Switch Port

You can capture audio output from a ShoreTel Voice Switch physical port using VxWorks commands. The audio output is save the the HQ or DVS server that controls the switch. This is great when you are trying to trouble shoot voice corruption or audio issues


  1. From the Start menu, navigate to the Control Panel-->Administrative Tools and locate the IIS Manager
  2. Right click on the IIS Manage and select Properties. Then enable the ability to write to the FTP server by selecting the Write checkbox and clicking OK
    1. This enables the ability to write to the following director C:/inetpub/ftproot
    2. You may also need to edit the permission fo the C:/inetpub/ftproot directory and give the users group write access
  3. At the command prompt on the voice switch you would like to record from enter
    1. Record2file2 (23, 45, "test") i.e I want to record a call on a T1 on port 23 for 45 seconds and save the file with the name of test.
    2. The moment you press enter is when the recording will start
  4. Go the the C:/inetpub/ftproot directory and pull the two files <NAME>rx.pcm and <NAME>tx.pcm to your desktop.
  5. Using an audio editor (like Audacity or Cooledit) you will be able to listen and analyze the call
    1. Import the PCM file to Audacity using the following options
      1. File -> Import -> Raw Data
      2. Signed 16-bit PCM
      3. Big-endian
      4. 1 Channel (Mono)
      5. Sample Rate 8000 (8k)