public class AnalogChannelSettings extends ChannelSettings implements java.io.Serializable
description, id, type
Constructor and Description |
---|
AnalogChannelSettings() |
AnalogChannelSettings(AnalogChannelSettings other) |
AnalogChannelSettings(int id,
TriggerType trigger,
BeepType beepLevel,
boolean detectDtmf,
int voxTimeout,
java.lang.String extension)
Creates settings for a channel.
|
Modifier and Type | Method and Description |
---|---|
BeepType |
getBeepLevel() |
boolean |
getDetectDtmf() |
java.lang.String |
getExtension() |
TriggerType |
getTrigger() |
int |
getVoxTimeout() |
protected void |
readObject(java.io.ObjectInputStream in) |
void |
setBeepLevel(BeepType beepLevel) |
void |
setDetectDtmf(boolean detectDtmf) |
void |
setExtension(java.lang.String extension) |
void |
setTrigger(TriggerType trigger) |
void |
setVoxTimeout(int voxTimeout) |
java.lang.String |
toString() |
java.lang.String |
toStringL() |
protected void |
writeObject(java.io.ObjectOutputStream out) |
getDescription, getId, getType, setDescription, setId, setType
public AnalogChannelSettings(int id, TriggerType trigger, BeepType beepLevel, boolean detectDtmf, int voxTimeout, java.lang.String extension)
id
- The recorder channel ID that should be assigned to the channel.trigger
- The recording trigger that applies to the channel.beepLevel
- The level of the recording beep tone that should be generated when
recording calls on the channel.detectDtmf
- If set to true
, then the system will detect DTMF digits
while recording. Otherwise, the system will ignore DTMF digits.voxTimeout
- The time, in seconds, that the system will keep recording after
it has detected that there is no longer audio on the line that
connected to the channel. The system will end recording after
this time.extension
- The extension assigned to be assigned to the channel.public AnalogChannelSettings()
public AnalogChannelSettings(AnalogChannelSettings other)
public BeepType getBeepLevel()
public void setBeepLevel(BeepType beepLevel)
public TriggerType getTrigger()
public void setTrigger(TriggerType trigger)
public boolean getDetectDtmf()
public void setDetectDtmf(boolean detectDtmf)
public int getVoxTimeout()
public void setVoxTimeout(int voxTimeout)
public java.lang.String getExtension()
public void setExtension(java.lang.String extension)
public java.lang.String toStringL()
toStringL
in class ChannelSettings
public java.lang.String toString()
toString
in class ChannelSettings
protected void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException
writeObject
in class ChannelSettings
java.io.IOException
protected void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException
readObject
in class ChannelSettings
java.io.IOException
java.lang.ClassNotFoundException
Copyright ©, 2005-2019 Prolancer Pty Ltd, Sydney Australia.