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.

Note:
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.

To customize the music file

  1. 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.

  2. Start the Lync Server Management Shell: Click Start, click All Programs, click Microsoft Lync Server 2013, and then click Lync Server Management Shell.

  3. Run:

    Copy Code
    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.

    Copy Code
    $a = Get-Content -ReadCount 0 -Encoding byte "C:\MoHFiles\soothingmusic.wma"
    Set-CsCallParkServiceMusicOnHoldFile -Service Redmond1-applicationserver-1 -Content $a
    

See Also