Name

MusicOnHold() — Plays music on hold indefinitely

Synopsis

MusicOnHold(class)

Plays hold music specified by class, as configured in musiconhold.conf. If omitted, the default music class for the channel will be used. You can use the MUSICCLASS dialplan function to set the default music class for the channel.

; transfer telemarketers to this extension to keep them busy
exten => 123,1,Answer()
exten => 123,n,Playback(tt-allbusy)
exten => 123,n,MusicOnHold(default)

See Also

SetMusicOnHold(), WaitMusicOnHold(), MUSICCLASS