OPAL
Version 3.14.3
|
#include <dahdi_ep.h>
Public Types | |
enum | HookState { eOnHook, eOffHook } |
Public Member Functions | |
FXSChannelInfo (dahdi_params &parms) | |
virtual | ~FXSChannelInfo () |
virtual bool | IsOffHook () |
virtual void | OnHook () |
virtual void | OffHook () |
virtual bool | IsFXS () |
![]() | |
ChannelInfo (dahdi_params &parms) | |
virtual | ~ChannelInfo () |
virtual bool | Open (int samplesPerBlock) |
virtual bool | Close () |
void | ThreadMain () |
virtual bool | IsAudioEnabled () const |
virtual bool | IsMediaRunning () const |
virtual bool | IsTonePlaying () |
virtual bool | PlayTone (CallProgressTones tone) |
virtual bool | StopTone () |
virtual bool | EnableAudio (bool enable) |
virtual bool | SetOffHook (bool newState) |
virtual PINDEX | GetReadFrameSize () |
virtual PINDEX | GetWriteFrameSize () |
virtual bool | SetReadFrameSize (PINDEX frameSize) |
virtual bool | SetWriteFrameSize (PINDEX frameSize) |
virtual bool | ReadFrame (void *buf, PINDEX &count) |
virtual bool | WriteFrame (const void *buf, PINDEX count, PINDEX &written) |
virtual bool | InternalReadFrame (void *buf) |
virtual bool | SetReadFormat (const OpalMediaFormat &mediaFormat) |
virtual bool | SetWriteFormat (const OpalMediaFormat &mediaFormat) |
virtual bool | StopReading () |
virtual bool | StopWriting () |
virtual bool | StartMedia () |
virtual bool | StopMedia () |
virtual char | ReadDTMF () |
virtual bool | LookForEvent () |
virtual bool | DetectTones (void *buffer, int len) |
virtual bool | SetRecordVolume (unsigned volume) |
virtual bool | SetPlayVolume (unsigned volume) |
virtual bool | GetRecordVolume (unsigned &volume) |
virtual bool | GetPlayVolume (unsigned &volume) |
virtual void | Flush () |
short | DecodeSample (BYTE sample) |
BYTE | EncodeSample (short sample) |
Data Fields | |
enum DahdiLineInterfaceDevice::FXSChannelInfo::HookState | m_hookState |
![]() | |
int | m_spanNumber |
int | m_channelNumber |
int | m_chanPos |
bool | m_hasHardwareToneDetection |
PDTMFDecoder | m_dtmfDecoder |
PMutex | m_mutex |
int | m_fd |
int | m_samplesPerBlock |
bool | m_audioEnable |
bool | m_mediaStarted |
BYTE * | m_toneBuffer |
int | m_toneBufferLen |
int | m_toneBufferPos |
bool | m_isALaw |
PMutex | m_dtmfMutex |
std::queue< char > | m_dtmfQueue |
int | m_writeVol |
int | m_readVol |
std::vector< BYTE > | m_readBuffer |
std::vector< BYTE > | m_writeBuffer |
DahdiLineInterfaceDevice::FXSChannelInfo::FXSChannelInfo | ( | dahdi_params & | parms | ) |
|
virtual |
|
inlinevirtual |
Reimplemented from DahdiLineInterfaceDevice::ChannelInfo.
|
inlinevirtual |
Reimplemented from DahdiLineInterfaceDevice::ChannelInfo.
|
virtual |
Reimplemented from DahdiLineInterfaceDevice::ChannelInfo.
|
virtual |
Reimplemented from DahdiLineInterfaceDevice::ChannelInfo.
enum DahdiLineInterfaceDevice::FXSChannelInfo::HookState DahdiLineInterfaceDevice::FXSChannelInfo::m_hookState |