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)