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[]>

Get Microsoft® Lync® Server 2013 Unleashed Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.