public class MuteAudioAction extends AbstractManagerAction
res/res_mutestream.c
.
Available since Asterisk 1.8
Modifier and Type | Class and Description |
---|---|
static class |
MuteAudioAction.Direction
The audio direct (relative to the pbx) which is to be muted.
|
static class |
MuteAudioAction.State
Controls whether to mute (on) or unmute (off) the call
|
Constructor and Description |
---|
MuteAudioAction()
Creates a new empty MuteAction.
|
MuteAudioAction(String channel,
MuteAudioAction.Direction direction,
MuteAudioAction.State state)
Creates a new MuteAction that Mutes or Unmutes the two given channel.
|
Modifier and Type | Method and Description |
---|---|
String |
getAction()
Returns the name of this action, i.e.
|
getActionId, setActionId, toString
public MuteAudioAction()
public MuteAudioAction(String channel, MuteAudioAction.Direction direction, MuteAudioAction.State state)
channel
- the name of the channel to Mute.direction
- the audio direction which is to be muted/unmutedstate
- controls whether we are muting or unmuting the channel.public String getAction()
getAction
in interface ManagerAction
getAction
in class AbstractManagerAction
Copyright © 2004–2016. All rights reserved.