login | register
Wed 03 of Dec, 2008 [22:55 UTC]

voip-info.org

Discuss [0] History

Asterisk func musicclass

Created by: murf,Last modification on Sat 14 of Jan, 2006 [04:13 UTC]

Synopsis:

 
 Read or Set the MusicOnHold class

Description:

 MUSICCLASS()

 This function will read or set the music on hold class for a channel.
 


Notes

  • This function may be both read from and written to.
  • *CLI> show function MUSICCLASS

Return value

Returns the resulting string.

Example

exten => s,1,Set(foo=${MUSICCLASS()})

exten => s,1,Set(MUSICCLASS()=Marimba)

See also



Comments