1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207
|
<HTML>
<HEAD>
<TITLE>class IAXInfoElement</TITLE>
<META NAME="Generator" CONTENT="KDOC ">
</HEAD>
<BODY bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#000099" alink= "#ffffff">
<TABLE WIDTH="100%" BORDER="0">
<TR>
<TD>
<TABLE BORDER="0">
<TR><TD valign="top" align="left" cellspacing="10">
<h1>class IAXInfoElement</h1>
</TD>
<TD valign="top" align="right" colspan="1">A single IAX2 Information Element. <small><A HREF="#longdesc">More...</A></small></TD></TR>
</TABLE>
<HR>
<TABLE BORDER="0">
<TR><TH>Full name</TH><TD><code><A HREF="TelEngine.html">TelEngine</A>::IAXInfoElement</code></TD></TR>
<TR><TH>Definition</TH><TD><code>#include <<A HREF="libs___yiax___yateiax_h.html">libs/yiax/yateiax.h</A>></code></TD></TR>
<TR><TH>Inherits</TH><TD><A HREF="TelEngine__RefObject.html">TelEngine::RefObject</A> <small>[public ]</small></TD></TR>
<TR><TH>Inherited by</TH><TD><A HREF="TelEngine__IAXInfoElementBinary.html">IAXInfoElementBinary</A>, <A HREF="TelEngine__IAXInfoElementNumeric.html">IAXInfoElementNumeric</A>, <A HREF="TelEngine__IAXInfoElementString.html">IAXInfoElementString</A></TD></TR>
<TR><TH><A HREF="full-list-TelEngine__IAXInfoElement.html">List of all Methods</A></TH></TR>
</TABLE>
</TD>
<TD align="right"><TABLE BORDER="0"><TR><TD><small><A HREF="index-long.html">Annotated List</A></small></TD></TR>
<TR><TD><small><A HREF="header-list.html">Files</A></small></TD></TR>
<TR><TD><small><A HREF="all-globals.html">Globals</A></small></TD></TR>
<TR><TD><small><A HREF="hier.html">Hierarchy</A></small></TD></TR>
<TR><TD><small><A HREF="index.html">Index</A></small></TD></TR>
</TABLE></TD></TR></TABLE>
<h4>Public Types</h4><ul><LI>enum <A HREF="#ref1">Type</A> { textframe = 0x00,
CALLED_NUMBER = 0x01,
CALLING_NUMBER = 0x02,
CALLING_ANI = 0x03,
CALLING_NAME = 0x04,
CALLED_CONTEXT = 0x05,
USERNAME = 0x06,
PASSWORD = 0x07,
CAPABILITY = 0x08,
FORMAT = 0x09,
LANGUAGE = 0x0a,
VERSION = 0x0b,
ADSICPE = 0x0c,
DNID = 0x0d,
AUTHMETHODS = 0x0e,
CHALLENGE = 0x0f,
MD5_RESULT = 0x10,
RSA_RESULT = 0x11,
APPARENT_ADDR = 0x12,
REFRESH = 0x13,
DPSTATUS = 0x14,
CALLNO = 0x15,
CAUSE = 0x16,
IAX_UNKNOWN = 0x17,
MSGCOUNT = 0x18,
AUTOANSWER = 0x19,
MUSICONHOLD = 0x1a,
TRANSFERID = 0x1b,
RDNIS = 0x1c,
PROVISIONING = 0x1d,
AESPROVISIONING = 0x1e,
DATETIME = 0x1f,
DEVICETYPE = 0x20,
SERVICEIDENT = 0x21,
FIRMWAREVER = 0x22,
FWBLOCKDESC = 0x23,
FWBLOCKDATA = 0x24,
PROVVER = 0x25,
CALLINGPRES = 0x26,
CALLINGTON = 0x27,
CALLINGTNS = 0x28,
SAMPLINGRATE = 0x29,
CAUSECODE = 0x2a,
ENCRYPTION = 0x2b,
ENKEY = 0x2c,
CODEC_PREFS = 0x2d,
RR_JITTER = 0x2e,
RR_LOSS = 0x2f,
RR_PKTS = 0x30,
RR_DELAY = 0x31,
RR_DROPPED = 0x32,
RR_OOO = 0x33,
}
</LI>
</ul><h4>Public Methods</h4><ul><LI>inline <b><A HREF="#ref2">IAXInfoElement</A></b> (Type type)
</LI>
<LI>virtual <b><A HREF="#ref3">~IAXInfoElement</A></b> ()
</LI>
<LI>inline Type <b><A HREF="#ref4">type</A></b> () const
</LI>
<LI>virtual void <b><A HREF="#ref5">toBuffer</A></b> (DataBlock& buf)
</LI>
<LI>virtual void <b><A HREF="#ref6">toString</A></b> (String& buf)
</LI>
</ul><h4>Public Static Methods</h4><ul><LI>static inline const char* <b><A HREF="#ref7">ieText</A></b> (<A HREF="#u_int8_t">u_int8_t</A> ieCode)
</LI>
</ul><HR><H2><A NAME="longdesc">Detailed Description</A></H2><p>
This class holds a single Information Element with no data
</p>
<A NAME="Type"></A><A NAME="ref1"></A><table width="100%"><tr bgcolor="#eeeeee"><td>enum <strong>Type</strong> { textframe = 0x00,
CALLED_NUMBER = 0x01,
CALLING_NUMBER = 0x02,
CALLING_ANI = 0x03,
CALLING_NAME = 0x04,
CALLED_CONTEXT = 0x05,
USERNAME = 0x06,
PASSWORD = 0x07,
CAPABILITY = 0x08,
FORMAT = 0x09,
LANGUAGE = 0x0a,
VERSION = 0x0b,
ADSICPE = 0x0c,
DNID = 0x0d,
AUTHMETHODS = 0x0e,
CHALLENGE = 0x0f,
MD5_RESULT = 0x10,
RSA_RESULT = 0x11,
APPARENT_ADDR = 0x12,
REFRESH = 0x13,
DPSTATUS = 0x14,
CALLNO = 0x15,
CAUSE = 0x16,
IAX_UNKNOWN = 0x17,
MSGCOUNT = 0x18,
AUTOANSWER = 0x19,
MUSICONHOLD = 0x1a,
TRANSFERID = 0x1b,
RDNIS = 0x1c,
PROVISIONING = 0x1d,
AESPROVISIONING = 0x1e,
DATETIME = 0x1f,
DEVICETYPE = 0x20,
SERVICEIDENT = 0x21,
FIRMWAREVER = 0x22,
FWBLOCKDESC = 0x23,
FWBLOCKDATA = 0x24,
PROVVER = 0x25,
CALLINGPRES = 0x26,
CALLINGTON = 0x27,
CALLINGTNS = 0x28,
SAMPLINGRATE = 0x29,
CAUSECODE = 0x2a,
ENCRYPTION = 0x2b,
ENKEY = 0x2c,
CODEC_PREFS = 0x2d,
RR_JITTER = 0x2e,
RR_LOSS = 0x2f,
RR_PKTS = 0x30,
RR_DELAY = 0x31,
RR_DROPPED = 0x32,
RR_OOO = 0x33,
}
</td><td align="right"><h3><strong>Type</strong></h3></td></tr></table><p></p><p>
Information Element enumeration types
</p>
<A NAME="IAXInfoElement"></A><A NAME="ref2"></A><table width="100%"><tr bgcolor="#eeeeee"><td>inline <strong>IAXInfoElement</strong> (Type type)
<br></td><td align="right"><h3><strong>IAXInfoElement</strong></h3></td></tr></table><p></p><p>
Constructor
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>type</i></TD><TD align="left" valign="top">Type of this IE
</TD></TR>
</TABLE></P>
<A NAME="~IAXInfoElement"></A><A NAME="ref3"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <strong>~IAXInfoElement</strong> ()
<br></td><td align="right"><h3><strong>~IAXInfoElement</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p>
Destructor
</p>
<A NAME="type"></A><A NAME="ref4"></A><table width="100%"><tr bgcolor="#eeeeee"><td>inline Type <strong>type</strong> ()
<br></td><td align="right"><h3><strong>type</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
Get the type of this IE
</p>
<p><b>Returns</b>: Type of this IE
</p>
<A NAME="toBuffer"></A><A NAME="ref5"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void <strong>toBuffer</strong> (DataBlock& buf)
<br></td><td align="right"><h3><strong>toBuffer</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p>
Constructs a buffer containing this Information Element
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>buf</i></TD><TD align="left" valign="top">Destination buffer
</TD></TR>
</TABLE></P>
<A NAME="toString"></A><A NAME="ref6"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void <strong>toString</strong> (String& buf)
<br></td><td align="right"><h3><strong>toString</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p>
Add this element to a string
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>buf</i></TD><TD align="left" valign="top">Destination string
</TD></TR>
</TABLE></P>
<p>Reimplemented from <A HREF="TelEngine__GenObject.html#toString">GenObject</A>.</p>
<A NAME="ieText"></A><A NAME="ref7"></A><table width="100%"><tr bgcolor="#eeeeee"><td> inline const char* <strong>ieText</strong> (<A HREF="#u_int8_t">u_int8_t</A> ieCode)
<br></td><td align="right"><h3><strong>ieText</strong></h3></td></tr></table><p> <small>[static]</small></p><p>
Get the text associated with an IE type value
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>ieCode</i></TD><TD align="left" valign="top">Numeric code of the IE
</TD></TR>
</TABLE></P>
<p><b>Returns</b>: Pointer to the IE text or 0 if it doesn't exist
</p>
<HR>
<table>
<tr><td><small>Generated by: paulc on bussard on Mon Mar 8 12:18:15 2010, using kdoc 2.0a54.</small></td></tr>
</table>
</BODY>
</HTML>
|