Customize Call Park music on hold in Lync Server 2013
Topic Last Modified: 2012-09-10
You can specify your own music file to use for music on hold, instead of the default music file that ships with Lync Server 2013. To customize music on hold, use the Set-CsCallParkServiceMusicOnHoldFile cmdlet.
|If you customize music on hold and want the same music for multiple sites, you must configure the music file for each site that runs the Call Park application.|
Log on to the computer where Lync Server Management Shell is installed as a member of the RTCUniversalServerAdmins group or with the necessary user rights as described in Delegate setup permissions in Lync Server 2013.
Start the Lync Server Management Shell: Click Start, click All Programs, click Microsoft Lync Server 2013, and then click Lync Server Management Shell.
Set-CsCallParkServiceMusicOnHoldFile -Service <ServiceID where the Call Park application resides> -Content <Byte>
Tip: Use the Get-CsService cmdlet to identify the service. For details, see Get-CsService.
The following example shows how to obtain the contents of a file, soothingmusic.wma, as a byte array and assign it to a variable. Then the audio file is assigned as the music-on-hold file for Call Park. For details, see Set-CsCallParkServiceMusicOnHoldFile.
$a = Get-Content -ReadCount 0 -Encoding byte "C:\MoHFiles\soothingmusic.wma" Set-CsCallParkServiceMusicOnHoldFile -Service Redmond1-applicationserver-1 -Content $a