O'Reilly logo

Microsoft® Lync® Server 2013 Unleashed Second Edition by Randy Wintle, Alex Lewis, David Ross, Tom Pacyk

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Configuring Call Park Music on Hold

Whether on-hold music is played is determined by the EnableMusicOnHold parameter, but the actual music on-hold file is configured using the Set-CsCallParkMusicOnHoldFile cmdlet.

First, the CsCallParkMusicOnHoldFile cmdlet requires the AudioFile parameter in byte format. To make the transfer easy, store the file in a variable, and then pass that variable to the Content parameter. Storing the audio file correctly looks like the following example:

$AudioFile = Get-Content -ReadCount 0 -Encoding byte <Path and File Name>

Then use the Set-CsCallParkMusicOnHoldFile cmdlet to assign the audio file:

Set-CsCallParkMusicOnHoldFile -Service ApplicationServer:<FQDN of Front End Pool with music file> -Content <Byte[]>

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required