OPAL  Version 3.14.3
iedata.h
Go to the documentation of this file.
1 /*
2  *
3  *
4  * Inter Asterisk Exchange 2
5  *
6  * defines the different types of information elements
7  *
8  * Open Phone Abstraction Library (OPAL)
9  *
10  * Copyright (c) 2005 Indranet Technologies Ltd.
11  *
12  * The contents of this file are subject to the Mozilla Public License
13  * Version 1.0 (the "License"); you may not use this file except in
14  * compliance with the License. You may obtain a copy of the License at
15  * http://www.mozilla.org/MPL/
16  *
17  * Software distributed under the License is distributed on an "AS IS"
18  * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
19  * the License for the specific language governing rights and limitations
20  * under the License.
21  *
22  * The Original Code is Open Phone Abstraction Library.
23  *
24  * The Initial Developer of the Original Code is Indranet Technologies Ltd.
25  *
26  * The author of this code is Derek J Smithies
27  *
28  * $Revision: 29536 $
29  * $Author: rjongbloed $
30  * $Date: 2013-04-19 18:55:15 +1000 (Fri, 19 Apr 2013) $
31  */
32 
33 #ifndef OPAL_IAX2_IEDATA_H
34 #define OPAL_IAX2_IEDATA_H
35 
36 #ifndef _PTLIB_H
37 #include <ptlib.h>
38 #endif
39 
40 #include <opal_config.h>
41 
42 #if OPAL_IAX2
43 
44 #include <ptlib/sockets.h>
45 
46 #ifdef P_USE_PRAGMA
47 #pragma interface
48 #endif
49 
55 class IAX2IeData : public PObject
56 {
57  PCLASSINFO(IAX2IeData, PObject);
58  public:
63  IAX2IeData();
64 
65 
66  ~IAX2IeData();
68 
70  virtual void PrintOn(ostream & strm) const;
71 
72 
73  PString calledNumber;
74  PString callingNumber;
75  PString callingAni;
76  PString callingName;
77  int callingTon;
78  int callingTns;
80  PString calledContext;
81  PString userName;
82  PString password;
83  unsigned int capability;
84  unsigned int format;
85  PString codecPrefs;
86  PString language;
87  int version;
88  PINDEX adsicpe;
89  PString dnid;
90  PString rdnis;
91  short authMethods;
92  unsigned int encryptionMethods;
93  PString challenge;
94  PString md5Result;
95  PString rsaResult;
96  PIPSocket::Address apparentAddr;
97  PINDEX refresh;
98  PINDEX dpStatus;
99  PINDEX callNo;
100  PString cause;
101  BYTE causeCode;
102  BYTE iaxUnknown;
103  int msgCount;
106  unsigned int transferId;
107  PTime dateTime;
108  PString deviceType;
109  PString serviceIdent;
111  unsigned int fwBlockDesc;
112  PBYTEArray fwBlockData;
113  PString encKey;
114  unsigned int provVer;
115  PINDEX samplingRate;
117  unsigned int receivedJitter;
118  unsigned int receivedLoss;
119  unsigned int receivedPackets;
120  unsigned short receivedDelay;
121  unsigned int receivedDropped;
122  unsigned int receivedOoo;
123  PBYTEArray callToken;
124 };
125 
126 
127 #endif // OPAL_IAX2
128 
129 #endif // OPAL_IAX2_IEDATA_H
130 
131 /* The comment below is magic for those who use emacs to edit this file.
132  * With the comment below, the tab key does auto indent to 2 spaces.
133  *
134  * Local Variables:
135  * mode:c
136  * c-basic-offset:2
137  * End:
138  */