Asterisk func musicclass

Synopsis:


Read or Set the MusicOnHold class

Description:

MUSICCLASS()

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



Notes

  • Not available in 1.6, use Asterisk func channel
  • 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


Synopsis:


Read or Set the MusicOnHold class

Description:

MUSICCLASS()

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



Notes

  • Not available in 1.6, use Asterisk func channel
  • 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


Created by: murf, Last modification: Fri 05 of Nov, 2010 (09:28 UTC) by admin
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+