File: capi_8h-source.html

package info (click to toggle)
capisuite 0.4.5-8
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 4,612 kB
  • ctags: 1,051
  • sloc: cpp: 3,981; sh: 3,465; python: 446; makefile: 265
file content (313 lines) | stat: -rw-r--r-- 30,412 bytes parent folder | download | duplicates (4)
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
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>CapiSuite: capi.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3.8 -->
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div>
<h1>capi.h</h1><a href="capi_8h.html">Go to the documentation of this file.</a><pre class="fragment"><div>00001 
00008 <span class="comment">/***************************************************************************</span>
00009 <span class="comment">*                                                                         *</span>
00010 <span class="comment">*   This program is free software; you can redistribute it and/or modify  *</span>
00011 <span class="comment">*   it under the terms of the GNU General Public License as published by  *</span>
00012 <span class="comment">*   the Free Software Foundation; either version 2 of the License, or     *</span>
00013 <span class="comment">*   (at your option) any later version.                                   *</span>
00014 <span class="comment">*                                                                         *</span>
00015 <span class="comment">***************************************************************************/</span>
00016 
00017 <span class="preprocessor">#ifndef CAPI_H</span>
00018 <span class="preprocessor"></span><span class="preprocessor">#define CAPI_H</span>
00019 <span class="preprocessor"></span>
00020 <span class="preprocessor">#include &lt;capi20.h&gt;</span>
00021 <span class="preprocessor">#include &lt;string&gt;</span>
00022 <span class="preprocessor">#include &lt;map&gt;</span>  
00023 <span class="preprocessor">#include &lt;vector&gt;</span>
00024 <span class="preprocessor">#include "<a class="code" href="capiexception_8h.html">capiexception.h</a>"</span>
00025 
00026 <span class="keyword">class </span><a class="code" href="classConnection.html">Connection</a>;
00027 <span class="keyword">class </span><a class="code" href="classApplicationInterface.html">ApplicationInterface</a>;
00028 
00033 <span class="keywordtype">void</span>* capi_exec_handler(<span class="keywordtype">void</span>* args);
00034 
<a name="l00060"></a><a class="code" href="classCapi.html">00060</a> <span class="keyword">class </span><a class="code" href="classCapi.html">Capi</a> {
00061         <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classConnection.html">Connection</a>; 
00062         <span class="keyword">friend</span> <span class="keywordtype">void</span>* <a class="code" href="classCapi.html#n0">capi_exec_handler</a>(<span class="keywordtype">void</span>*);
00063 
00064         <span class="keyword">public</span>:
00079                 <a class="code" href="classCapi.html#a0">Capi</a> (ostream &amp;<a class="code" href="classCapi.html#r13">debug</a>, <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> <a class="code" href="classCapi.html#r15">debug_level</a>, ostream &amp;<a class="code" href="classCapi.html#r14">error</a>, <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> <a class="code" href="classCapi.html#r3">DDILength</a>=0, <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> <a class="code" href="classCapi.html#r4">DDIBaseLength</a>=0, vector&lt;string&gt; <a class="code" href="classCapi.html#r5">DDIStopNumbers</a>=vector&lt;string&gt;(), <span class="keywordtype">unsigned</span> maxLogicalConnection=2, <span class="keywordtype">unsigned</span> maxBDataBlocks=7,<span class="keywordtype">unsigned</span> maxBDataLen=2048) <span class="keywordflow">throw</span> (<a class="code" href="classCapiError.html">CapiError</a>, <a class="code" href="classCapiMsgError.html">CapiMsgError</a>);
00080 
00085                 <a class="code" href="classCapi.html#a1">~Capi</a>();
00086 
00091                 <span class="keywordtype">void</span> <a class="code" href="classCapi.html#a2">registerApplicationInterface</a>(<a class="code" href="classApplicationInterface.html">ApplicationInterface</a>* application_in);
00092 
00106                 <span class="keywordtype">void</span> <a class="code" href="classCapi.html#a3">setListenFaxG3</a> (_cdword Controller=0) <span class="keywordflow">throw</span> (<a class="code" href="classCapiMsgError.html">CapiMsgError</a>,<a class="code" href="classCapiError.html">CapiError</a>);
00107 
00121                 <span class="keywordtype">void</span> <a class="code" href="classCapi.html#a4">setListenTelephony</a> (_cdword Controller=0) <span class="keywordflow">throw</span> (<a class="code" href="classCapiMsgError.html">CapiMsgError</a>,<a class="code" href="classCapiError.html">CapiError</a>);
00122 
00142                 string <a class="code" href="classCapi.html#a5">getInfo</a>(<span class="keywordtype">bool</span> verbose=<span class="keyword">false</span>);
00143 
00144         <span class="keyword">private</span>:
00145 
00150                 <span class="keywordtype">void</span> <a class="code" href="classCapi.html#d0">unregisterConnection</a> (_cdword plci);  
00151 
00157                 <span class="keywordtype">void</span> <a class="code" href="classCapi.html#d1">readProfile</a>() <span class="keywordflow">throw</span> (<a class="code" href="classCapiMsgError.html">CapiMsgError</a>);
00158 
00159 
00160                 <span class="comment">/********************************************************************************/</span>
00161                 <span class="comment">/*          methods to send CAPI messages - called by the Connection class      */</span>
00162                 <span class="comment">/********************************************************************************/</span>
00163 
00164                 <span class="comment">/*************************** REQUESTS *******************************************/</span>
00165 
00173                 <span class="keywordtype">void</span> <a class="code" href="classCapi.html#d2">listen_req</a> (_cdword Controller, _cdword InfoMask=0x03FF, _cdword CIPMask=0x1FFF03FF) <span class="keywordflow">throw</span> (<a class="code" href="classCapiMsgError.html">CapiMsgError</a>);
00174 
00180                 <span class="keywordtype">void</span> <a class="code" href="classCapi.html#d3">alert_req</a> (_cdword plci) <span class="keywordflow">throw</span> (<a class="code" href="classCapiMsgError.html">CapiMsgError</a>);
00181 
00201                 <span class="keywordtype">void</span> <a class="code" href="classCapi.html#d4">connect_req</a> (<a class="code" href="classConnection.html">Connection</a> *conn, _cdword Controller, _cword CIPvalue, _cstruct calledPartyNumber, _cstruct callingPartyNumber, _cword B1protocol, _cword B2protocol, _cword B3protocol, _cstruct B1configuration, _cstruct B2configuration, _cstruct B3configuration) <span class="keywordflow">throw</span> (<a class="code" href="classCapiMsgError.html">CapiMsgError</a>);
00202 
00214                 <span class="keywordtype">void</span> <a class="code" href="classCapi.html#d5">select_b_protocol_req</a> (_cdword plci, _cword B1protocol, _cword B2protocol, _cword B3protocol, _cstruct B1configuration, _cstruct B2configuration, _cstruct B3configuration) <span class="keywordflow">throw</span> (<a class="code" href="classCapiMsgError.html">CapiMsgError</a>);
00215 
00221                 <span class="keywordtype">void</span> <a class="code" href="classCapi.html#d6">connect_b3_req</a> (_cdword plci) <span class="keywordflow">throw</span> (<a class="code" href="classCapiMsgError.html">CapiMsgError</a>);
00222 
00232                 <span class="keywordtype">void</span> <a class="code" href="classCapi.html#d7">data_b3_req</a> (_cdword ncci, <span class="keywordtype">void</span>* Data, _cword DataLength,_cword DataHandle,_cword Flags) <span class="keywordflow">throw</span> (<a class="code" href="classCapiMsgError.html">CapiMsgError</a>);
00233 
00240                 <span class="keywordtype">void</span> <a class="code" href="classCapi.html#d8">disconnect_b3_req</a> (_cdword ncci, _cstruct ncpi=NULL) <span class="keywordflow">throw</span> (<a class="code" href="classCapiMsgError.html">CapiMsgError</a>);
00241 
00250                 <span class="keywordtype">void</span> <a class="code" href="classCapi.html#d9">disconnect_req</a> (_cdword plci, _cstruct Keypadfacility=NULL, _cstruct Useruserdata=NULL, _cstruct Facilitydataarray=NULL) <span class="keywordflow">throw</span> (<a class="code" href="classCapiMsgError.html">CapiMsgError</a>);
00251 
00259                 <span class="keywordtype">void</span> <a class="code" href="classCapi.html#d10">facility_req</a> (_cdword address, _cword FacilitySelector, _cstruct FacilityRequestParameter) <span class="keywordflow">throw</span> (<a class="code" href="classCapiMsgError.html">CapiMsgError</a>);
00260 
00261                 <span class="comment">/*************************** RESPONSES *******************************************/</span>
00262 
00276                 <span class="keywordtype">void</span> <a class="code" href="classCapi.html#d11">connect_resp</a> (_cword <a class="code" href="classCapi.html#r8">messageNumber</a>, _cdword plci, _cword reject, _cword B1protocol, _cword B2protocol, _cword B3protocol, _cstruct B1configuration, _cstruct B2configuration, _cstruct B3configuration) <span class="keywordflow">throw</span> (<a class="code" href="classCapiMsgError.html">CapiMsgError</a>);
00277 
00284                 <span class="keywordtype">void</span> <a class="code" href="classCapi.html#d12">connect_active_resp</a> (_cword messageNumber, _cdword plci) <span class="keywordflow">throw</span> (<a class="code" href="classCapiMsgError.html">CapiMsgError</a>);
00285 
00294                 <span class="keywordtype">void</span> <a class="code" href="classCapi.html#d13">connect_b3_resp</a> (_cword messageNumber, _cdword ncci, _cword reject, _cstruct ncpi) <span class="keywordflow">throw</span> (<a class="code" href="classCapiMsgError.html">CapiMsgError</a>);
00295 
00302                 <span class="keywordtype">void</span> <a class="code" href="classCapi.html#d14">connect_b3_active_resp</a> (_cword messageNumber, _cdword ncci) <span class="keywordflow">throw</span> (<a class="code" href="classCapiMsgError.html">CapiMsgError</a>);
00303 
00311                 <span class="keywordtype">void</span> <a class="code" href="classCapi.html#d15">data_b3_resp</a> (_cword messageNumber, _cdword ncci, _cword dataHandle) <span class="keywordflow">throw</span> (<a class="code" href="classCapiMsgError.html">CapiMsgError</a>);
00312 
00321                 <span class="keywordtype">void</span> <a class="code" href="classCapi.html#d16">facility_resp</a> (_cword messageNumber, _cdword address, _cword facilitySelector, _cstruct facilityResponseParameter=NULL) <span class="keywordflow">throw</span> (<a class="code" href="classCapiMsgError.html">CapiMsgError</a>);
00322 
00329                 <span class="keywordtype">void</span> <a class="code" href="classCapi.html#d17">info_resp</a> (_cword messageNumber, _cdword address) <span class="keywordflow">throw</span> (<a class="code" href="classCapiMsgError.html">CapiMsgError</a>);
00330 
00337                 <span class="keywordtype">void</span> <a class="code" href="classCapi.html#d18">disconnect_resp</a> (_cword messageNumber, _cdword plci) <span class="keywordflow">throw</span> (<a class="code" href="classCapiMsgError.html">CapiMsgError</a>);
00338 
00345                 <span class="keywordtype">void</span> <a class="code" href="classCapi.html#d19">disconnect_b3_resp</a> (_cword messageNumber, _cdword ncci) <span class="keywordflow">throw</span> (<a class="code" href="classCapiMsgError.html">CapiMsgError</a>);
00346 
00347                 <span class="comment">/********************************************************************************/</span>
00348                 <span class="comment">/*   main message handling method for incoming msgs                             */</span>
00349                 <span class="comment">/********************************************************************************/</span>
00350 
00361                 <span class="keywordtype">void</span> <a class="code" href="classCapi.html#d20">readMessage</a> (<span class="keywordtype">void</span>) <span class="keywordflow">throw</span> (<a class="code" href="classCapiMsgError.html">CapiMsgError</a>, <a class="code" href="classCapiError.html">CapiError</a>, <a class="code" href="classCapiWrongState.html">CapiWrongState</a>, <a class="code" href="classCapiExternalError.html">CapiExternalError</a>);
00362 
00363                 <span class="comment">/********************************************************************************/</span>
00364                 <span class="comment">/*                      methods for internal use                                */</span>
00365                 <span class="comment">/********************************************************************************/</span>
00366 
00375                 <span class="keyword">static</span> string <a class="code" href="classCapi.html#h0">describeParamInfo</a> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> info);
00376 
<a name="l00381"></a><a class="code" href="classCapi.html#d21">00381</a>                 <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> <a class="code" href="classCapi.html#d21">getApplId</a>(<span class="keywordtype">void</span>) {<span class="keywordflow">return</span> <a class="code" href="classCapi.html#r11">applId</a>;}
00382 
00385                 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classCapi.html#d22">run</a>(<span class="keywordtype">void</span>);
00386 
00391                 string <a class="code" href="classCapi.html#d23">prefix</a>();
00392 
00393                 <span class="comment">/********************************************************************************/</span>
00394                 <span class="comment">/*                              attributes                                      */</span>
00395                 <span class="comment">/********************************************************************************/</span>
00396 
<a name="l00399"></a><a class="code" href="classCapi_1_1CardProfileT.html">00399</a>                 <span class="keyword">class </span><a class="code" href="classCapi_1_1CardProfileT.html">CardProfileT</a>
00400                 {
00401                         <span class="keyword">public</span>:
<a name="l00404"></a><a class="code" href="classCapi_1_1CardProfileT.html#a0">00404</a>                         <a class="code" href="classCapi_1_1CardProfileT.html#a0">CardProfileT</a>()
00405                         :<a class="code" href="classCapi_1_1CardProfileT.html#o0">manufacturer</a>(<span class="stringliteral">""</span>),<a class="code" href="classCapi_1_1CardProfileT.html#o1">version</a>(<span class="stringliteral">""</span>),<a class="code" href="classCapi_1_1CardProfileT.html#o2">bChannels</a>(0),<a class="code" href="classCapi_1_1CardProfileT.html#o4">fax</a>(false),<a class="code" href="classCapi_1_1CardProfileT.html#o5">faxExt</a>(false),<a class="code" href="classCapi_1_1CardProfileT.html#o6">dtmf</a>(false)
00406                         {}
00407 
<a name="l00408"></a><a class="code" href="classCapi_1_1CardProfileT.html#o0">00408</a>                         string <a class="code" href="classCapi_1_1CardProfileT.html#o0">manufacturer</a>; 
<a name="l00409"></a><a class="code" href="classCapi_1_1CardProfileT.html#o1">00409</a>                         string <a class="code" href="classCapi_1_1CardProfileT.html#o1">version</a>; 
<a name="l00410"></a><a class="code" href="classCapi_1_1CardProfileT.html#o2">00410</a>                         <span class="keywordtype">int</span> <a class="code" href="classCapi_1_1CardProfileT.html#o2">bChannels</a>; 
<a name="l00411"></a><a class="code" href="classCapi_1_1CardProfileT.html#o3">00411</a>                         <span class="keywordtype">bool</span> <a class="code" href="classCapi_1_1CardProfileT.html#o3">transp</a>; 
<a name="l00412"></a><a class="code" href="classCapi_1_1CardProfileT.html#o4">00412</a>                         <span class="keywordtype">bool</span> <a class="code" href="classCapi_1_1CardProfileT.html#o4">fax</a>; 
<a name="l00413"></a><a class="code" href="classCapi_1_1CardProfileT.html#o5">00413</a>                         <span class="keywordtype">bool</span> <a class="code" href="classCapi_1_1CardProfileT.html#o5">faxExt</a>; 
<a name="l00414"></a><a class="code" href="classCapi_1_1CardProfileT.html#o6">00414</a>                         <span class="keywordtype">bool</span> <a class="code" href="classCapi_1_1CardProfileT.html#o6">dtmf</a>; 
<a name="l00415"></a><a class="code" href="classCapi_1_1CardProfileT.html#o7">00415</a>                         <span class="keywordtype">bool</span> <a class="code" href="classCapi_1_1CardProfileT.html#o7">suppServ</a>; 
00416                 };
00417 
<a name="l00418"></a><a class="code" href="classCapi.html#r0">00418</a>                 <span class="keywordtype">short</span> <a class="code" href="classCapi.html#r0">numControllers</a>;  
00419                 string <a class="code" href="classCapi.html#r1">capiManufacturer</a>, 
<a name="l00420"></a><a class="code" href="classCapi.html#r2">00420</a>                        <a class="code" href="classCapi.html#r2">capiVersion</a>; 
00421 
<a name="l00422"></a><a class="code" href="classCapi.html#r3">00422</a>                 <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> DDILength; 
<a name="l00423"></a><a class="code" href="classCapi.html#r4">00423</a>                 <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> DDIBaseLength; 
<a name="l00424"></a><a class="code" href="classCapi.html#r5">00424</a>                 vector&lt;string&gt; <a class="code" href="classCapi.html#r5">DDIStopNumbers</a>; 
00425                 
<a name="l00426"></a><a class="code" href="classCapi.html#r6">00426</a>                 vector &lt;CardProfileT&gt; <a class="code" href="classCapi.html#r6">profiles</a>; 
00427 
00428 
<a name="l00429"></a><a class="code" href="classCapi.html#r7">00429</a>                 map &lt;_cdword,Connection*&gt; <a class="code" href="classCapi.html#r7">connections</a>; 
00430 
00431 
<a name="l00432"></a><a class="code" href="classCapi.html#r8">00432</a>                 _cword messageNumber;  
<a name="l00433"></a><a class="code" href="classCapi.html#r9">00433</a>                 _cdword <a class="code" href="classCapi.html#r9">usedInfoMask</a>;  
<a name="l00434"></a><a class="code" href="classCapi.html#r10">00434</a>                 _cdword <a class="code" href="classCapi.html#r10">usedCIPMask</a>;   
00435 
<a name="l00436"></a><a class="code" href="classCapi.html#r11">00436</a>                 <span class="keywordtype">unsigned</span> <a class="code" href="classCapi.html#r11">applId</a>;  
00437 
<a name="l00438"></a><a class="code" href="classCapi.html#r12">00438</a>                 <a class="code" href="classApplicationInterface.html">ApplicationInterface</a> *<a class="code" href="classCapi.html#r12">application</a>; 
00439                 ostream &amp;debug, 
<a name="l00440"></a><a class="code" href="classCapi.html#r14">00440</a>                         &amp;error; 
<a name="l00441"></a><a class="code" href="classCapi.html#r15">00441</a>                 <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> debug_level; 
00442 
<a name="l00443"></a><a class="code" href="classCapi.html#r16">00443</a>                 pthread_t <a class="code" href="classCapi.html#r16">thread_handle</a>; 
00444 };
00445 
00446 <span class="preprocessor">#endif</span>
00447 <span class="preprocessor"></span>
00448 <span class="comment">/*  History</span>
00449 <span class="comment"></span>
00450 <span class="comment">$Log: capi.h,v $</span>
00451 <span class="comment">Revision 1.5.2.3  2003/11/06 18:32:15  gernot</span>
00452 <span class="comment">- implemented DDIStopNumbers</span>
00453 <span class="comment"></span>
00454 <span class="comment">Revision 1.5.2.2  2003/11/02 14:58:16  gernot</span>
00455 <span class="comment">- use DDI_base_length instead of DDI_base</span>
00456 <span class="comment">- added DDI_stop_numbers option</span>
00457 <span class="comment">- use DDI_* options in the Connection class</span>
00458 <span class="comment">- call the Python script if number is complete</span>
00459 <span class="comment"></span>
00460 <span class="comment">Revision 1.5.2.1  2003/10/26 16:51:55  gernot</span>
00461 <span class="comment">- begin implementation of DDI, get DDI Info Elements</span>
00462 <span class="comment"></span>
00463 <span class="comment">Revision 1.5  2003/04/17 10:39:42  gernot</span>
00464 <span class="comment">- support ALERTING notification (to know when it's ringing on the other side)</span>
00465 <span class="comment">- cosmetical fixes in capi.cpp</span>
00466 <span class="comment"></span>
00467 <span class="comment">Revision 1.4  2003/04/08 07:50:48  gernot</span>
00468 <span class="comment">- fix wrong exception order which gcc-2.95 doesn't like...</span>
00469 <span class="comment"></span>
00470 <span class="comment">Revision 1.3  2003/04/04 09:14:02  gernot</span>
00471 <span class="comment">- setListenTelephony() and setListenFaxG3 now check if the given controller</span>
00472 <span class="comment">  supports this service and throw an error otherwise</span>
00473 <span class="comment"></span>
00474 <span class="comment">Revision 1.2  2003/04/03 21:16:03  gernot</span>
00475 <span class="comment">- added new readProfile() which stores controller profiles in attributes</span>
00476 <span class="comment">- getInfo() only creates the string out of the stored values and doesn't</span>
00477 <span class="comment">  do the real inquiry any more</span>
00478 <span class="comment">- getInfo() and numControllers aren't static any more</span>
00479 <span class="comment"></span>
00480 <span class="comment">Revision 1.1.1.1  2003/02/19 08:19:53  gernot</span>
00481 <span class="comment">initial checkin of 0.4</span>
00482 <span class="comment"></span>
00483 <span class="comment">Revision 1.22  2003/02/10 14:20:52  ghillie</span>
00484 <span class="comment">merged from NATIVE_PTHREADS to HEAD</span>
00485 <span class="comment"></span>
00486 <span class="comment">Revision 1.21.2.1  2003/02/09 15:05:36  ghillie</span>
00487 <span class="comment">- rewritten to use native pthread_* calls instead of CommonC++ Thread</span>
00488 <span class="comment"></span>
00489 <span class="comment">Revision 1.21  2003/01/06 16:29:52  ghillie</span>
00490 <span class="comment">- destructor doesn't throw any exceptions any more</span>
00491 <span class="comment"></span>
00492 <span class="comment">Revision 1.20  2003/01/04 16:07:42  ghillie</span>
00493 <span class="comment">- log improvements: log_level, timestamp</span>
00494 <span class="comment"></span>
00495 <span class="comment">Revision 1.19  2002/12/18 14:40:44  ghillie</span>
00496 <span class="comment">- removed this nasty listen_state. Made nothing than problems</span>
00497 <span class="comment"></span>
00498 <span class="comment">Revision 1.18  2002/12/11 13:05:34  ghillie</span>
00499 <span class="comment">- minor comment improvements</span>
00500 <span class="comment"></span>
00501 <span class="comment">Revision 1.17  2002/12/09 15:33:23  ghillie</span>
00502 <span class="comment">- debug and error stream now given in constructor</span>
00503 <span class="comment"></span>
00504 <span class="comment">Revision 1.16  2002/12/05 15:02:36  ghillie</span>
00505 <span class="comment">- constructor: removed param application (pointer to ApplicationInterface, now given by registerApplInterface()), added param debug giving debug stream</span>
00506 <span class="comment">- new methods registerApplicationInterface(), unregisterConnection()</span>
00507 <span class="comment">- connect_req gets COnnection* now</span>
00508 <span class="comment"></span>
00509 <span class="comment">Revision 1.15  2002/11/29 11:38:13  ghillie</span>
00510 <span class="comment">- missed some changes because CapiCommThread was deleted</span>
00511 <span class="comment"></span>
00512 <span class="comment">Revision 1.14  2002/11/29 11:11:12  ghillie</span>
00513 <span class="comment">- moved communication thread from own class (CapiCommThread) to Capi class</span>
00514 <span class="comment"></span>
00515 <span class="comment">Revision 1.13  2002/11/29 10:23:07  ghillie</span>
00516 <span class="comment">- updated comments, use doxygen format now</span>
00517 <span class="comment"></span>
00518 <span class="comment">Revision 1.12  2002/11/27 15:58:13  ghillie</span>
00519 <span class="comment">updated comments for doxygen</span>
00520 <span class="comment"></span>
00521 <span class="comment">Revision 1.11  2002/11/25 20:58:47  ghillie</span>
00522 <span class="comment">- improved documentation, is now readable by doxygen</span>
00523 <span class="comment">- setListen* can now set listen state for all available controllers</span>
00524 <span class="comment"></span>
00525 <span class="comment">Revision 1.10  2002/11/22 15:08:22  ghillie</span>
00526 <span class="comment">- new method select_b_protocol_req()</span>
00527 <span class="comment">- added SELECT_B_PROTOCOL_CONF case in readMessage()</span>
00528 <span class="comment"></span>
00529 <span class="comment">Revision 1.9  2002/11/19 15:57:18  ghillie</span>
00530 <span class="comment">- Added missing throw() declarations</span>
00531 <span class="comment">- phew. Added error handling. All exceptions are caught now.</span>
00532 <span class="comment"></span>
00533 <span class="comment">Revision 1.8  2002/11/18 14:24:09  ghillie</span>
00534 <span class="comment">- moved global severity_t to CapiError::severity_t</span>
00535 <span class="comment">- added throw() declarations</span>
00536 <span class="comment"></span>
00537 <span class="comment">Revision 1.7  2002/11/17 14:39:23  ghillie</span>
00538 <span class="comment">removed CapiError from this header -&gt; exceptions are now defined in capiexception.h</span>
00539 <span class="comment"></span>
00540 <span class="comment">Revision 1.6  2002/11/15 15:25:53  ghillie</span>
00541 <span class="comment">added ALERT_REQ so we don't loose a call when we wait before connection establishment</span>
00542 <span class="comment"></span>
00543 <span class="comment">Revision 1.5  2002/11/13 08:34:54  ghillie</span>
00544 <span class="comment">moved history to the bottom</span>
00545 <span class="comment"></span>
00546 <span class="comment">Revision 1.4  2002/11/08 07:57:07  ghillie</span>
00547 <span class="comment">added functions to initiate a call</span>
00548 <span class="comment">corrected FACILITY calls to use PLCI instead of NCCI in DTMF processing as told by Mr. Ortmann on comp.dcom.isdn.capi</span>
00549 <span class="comment"></span>
00550 <span class="comment">Revision 1.3  2002/10/31 15:39:04  ghillie</span>
00551 <span class="comment">added missing FACILITY_RESP message (oops...)</span>
00552 <span class="comment"></span>
00553 <span class="comment">Revision 1.2  2002/10/31 12:37:35  ghillie</span>
00554 <span class="comment">added DTMF support</span>
00555 <span class="comment"></span>
00556 <span class="comment">Revision 1.1  2002/10/25 13:29:38  ghillie</span>
00557 <span class="comment">grouped files into subdirectories</span>
00558 <span class="comment"></span>
00559 <span class="comment">Revision 1.8  2002/10/09 14:36:22  gernot</span>
00560 <span class="comment">added CallModule base class for all call handling modules</span>
00561 <span class="comment"></span>
00562 <span class="comment">Revision 1.7  2002/10/09 11:18:59  gernot</span>
00563 <span class="comment">cosmetic changes (again...) and changed info function of CAPI class</span>
00564 <span class="comment"></span>
00565 <span class="comment">Revision 1.6  2002/10/08 12:01:26  gernot</span>
00566 <span class="comment">cosmetic... (indentation)</span>
00567 <span class="comment"></span>
00568 <span class="comment">Revision 1.5  2002/10/01 09:02:04  gernot</span>
00569 <span class="comment">changes for compilation with gcc3.2</span>
00570 <span class="comment"></span>
00571 <span class="comment">Revision 1.4  2002/09/22 14:22:53  gernot</span>
00572 <span class="comment">some cosmetic comment improvements ;-)</span>
00573 <span class="comment"></span>
00574 <span class="comment">Revision 1.3  2002/09/19 12:08:19  gernot</span>
00575 <span class="comment">added magic CVS strings</span>
00576 <span class="comment"></span>
00577 <span class="comment">* Sun Sep 15 2002 - gernot@hillier.de</span>
00578 <span class="comment">- put under CVS, cvs changelog follows above</span>
00579 <span class="comment"></span>
00580 <span class="comment">* Sun May 19 2002 - gernot@hillier.de</span>
00581 <span class="comment">- changed to not using QT libs any more</span>
00582 <span class="comment">- modified to conform to CAPI20-Spec, 4th edition (parameter names, ...)</span>
00583 <span class="comment"></span>
00584 <span class="comment">* Sun Apr 1 2002 - gernot@hillier.de</span>
00585 <span class="comment">- first version</span>
00586 <span class="comment"></span>
00587 <span class="comment">*/</span>
</div></pre><hr size="1"><address style="align: right;"><small>Generated on Sun Nov 28 14:37:44 2004 for CapiSuite by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.8 </small></address>
</body>
</html>