Yate
|
A Q.931 ISDN Layer 3 message Information Element. More...
#include <yatesig.h>
Public Types | |
enum | Type { Shift = 0x90, MoreData = 0xa0, SendComplete = 0xa1, Congestion = 0xb0, Repeat = 0xd0, Segmented = 0x00, BearerCaps = 0x04, Cause = 0x08, CallIdentity = 0x10, CallState = 0x14, ChannelID = 0x18, Progress = 0x1e, NetFacility = 0x20, Notification = 0x27, Display = 0x28, DateTime = 0x29, Keypad = 0x2c, Signal = 0x34, ConnectedNo = 0x4c, CallingNo = 0x6c, CallingSubAddr = 0x6d, CalledNo = 0x70, CalledSubAddr = 0x71, NetTransit = 0x78, Restart = 0x79, LoLayerCompat = 0x7c, HiLayerCompat = 0x7d, UserUser = 0x7e, Escape = 0x7f } |
Public Member Functions | |
ISDNQ931IE (u_int16_t type) | |
virtual | ~ISDNQ931IE () |
u_int8_t | type () const |
void | addParamPrefix (const char *name, const char *value) |
void | toString (String &dest, bool extendedDebug, const char *before=0) |
Static Public Member Functions | |
static const char * | typeName (int type, const char *defVal=0) |
Public Attributes | |
DataBlock | m_buffer |
Static Public Attributes | |
static const TokenDict | s_type [] |
Friends | |
class | ISDNQ931Message |
A Q.931 ISDN Layer 3 message Information Element.
Q.931 ISDN Layer 3 message Information Element
enum Type |
Keep IE type enumerations. See Q.931 4.5
ISDNQ931IE | ( | u_int16_t | type | ) |
Constructor Constructs an unknown IE with raw data
type | The type of this IE |
virtual ~ISDNQ931IE | ( | ) | [virtual] |
Destructor
void addParamPrefix | ( | const char * | name, |
const char * | value | ||
) | [inline] |
Add a parameter using the IE name as prefix
name | Parameter name |
value | Parameter value |
Put this message into a string for debug purposes
dest | The destination string |
extendedDebug | True to add the content of this IE and dump data. If false, only the IE name is added to the destination string |
before | Optional string to be added before |
u_int8_t type | ( | ) | const [inline] |
Get the type of this IE
static const char* typeName | ( | int | type, |
const char * | defVal = 0 |
||
) | [inline, static] |
Get the string associated with a given IE type
type | The IE type whose string we want to get |
defVal | The value to return if not found |
References TelEngine::lookup().