Skip to content

SET MUSIC

Synopsis

Enable/Disable Music on hold generator

Description

Enables/Disables the music on hold generator. If class is not specified, then the 'default' music on hold class will be used. This generator will be stopped automatically when playing a file.

Always returns '0'.

Syntax

SET MUSIC BOOLEAN CLASS 
Arguments
  • boolean

    • on

    • off

  • class

See Also

Generated Version

This documentation was generated from Asterisk branch 22 using version GIT