MUSICCLASS()

MUSICCLASS(Klasse)

Liest/setzt die Music-on-Hold-Klasse (Klasse der Wartemusik).

; abfragen:
exten => 123,1,Set(foo=${MUSICCLASS()})

; auf "HeavyMetal" setzen:
exten => 123,1,Set(MUSICCLASS()=HeavyMetal)
[Wichtig]

Ab Asterisk 1.4 deprecated. Stattdessen Set(CHANNEL(musicclass)=default) verwenden, siehe CHANNEL().

[Anmerkung]

Interner Hilfetext zu dieser Applikation in Asterisk 1.4: 

  -= Info about function 'MUSICCLASS' =- 

[Syntax]
MUSICCLASS()

[Synopsis]
Read or Set the MusicOnHold class

[Description]
Deprecated. Use CHANNEL(musicclass) instead.

Differenz zum internen Hilfetext in Asterisk 1.2: 

11c11
< Deprecated. Use CHANNEL(musicclass) instead.
---
> This function will read or set the music on hold class for a channel.