OPAL  Version 3.10.10
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: 24606 $
29  * $Author: dereksmithies $
30  * $Date: 2010-07-28 22:51:05 -0500 (Wed, 28 Jul 2010) $
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/buildopts.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  */
int callingTon
Definition: iedata.h:77
PString challenge
Definition: iedata.h:93
unsigned int transferId
Definition: iedata.h:106
unsigned int receivedLoss
Definition: iedata.h:118
PBYTEArray fwBlockData
Definition: iedata.h:112
unsigned int format
Definition: iedata.h:84
PString password
Definition: iedata.h:82
PBYTEArray callToken
Definition: iedata.h:123
unsigned int receivedJitter
Definition: iedata.h:117
int version
Definition: iedata.h:87
int callingTns
Definition: iedata.h:78
PString rdnis
Definition: iedata.h:90
PTime dateTime
Definition: iedata.h:107
int callingPres
Definition: iedata.h:79
short authMethods
Definition: iedata.h:91
PIPSocket::Address apparentAddr
Definition: iedata.h:96
Definition: iedata.h:55
unsigned short receivedDelay
Definition: iedata.h:120
PString encKey
Definition: iedata.h:113
PINDEX refresh
Definition: iedata.h:97
BYTE causeCode
Definition: iedata.h:101
int firmwareVer
Definition: iedata.h:110
PString codecPrefs
Definition: iedata.h:85
int musicOnHold
Definition: iedata.h:105
PINDEX callNo
Definition: iedata.h:99
PString callingName
Definition: iedata.h:76
unsigned int capability
Definition: iedata.h:83
PString md5Result
Definition: iedata.h:94
PString deviceType
Definition: iedata.h:108
PString serviceIdent
Definition: iedata.h:109
BYTE iaxUnknown
Definition: iedata.h:102
virtual void PrintOn(ostream &strm) const
int provverPres
Definition: iedata.h:116
PINDEX adsicpe
Definition: iedata.h:88
PString rsaResult
Definition: iedata.h:95
PString calledNumber
Definition: iedata.h:73
PString dnid
Definition: iedata.h:89
PINDEX dpStatus
Definition: iedata.h:98
PString callingAni
Definition: iedata.h:75
PINDEX samplingRate
Definition: iedata.h:115
PString language
Definition: iedata.h:86
PString calledContext
Definition: iedata.h:80
unsigned int receivedOoo
Definition: iedata.h:122
unsigned int encryptionMethods
Definition: iedata.h:92
unsigned int receivedPackets
Definition: iedata.h:119
PString cause
Definition: iedata.h:100
int autoAnswer
Definition: iedata.h:104
PString userName
Definition: iedata.h:81
unsigned int provVer
Definition: iedata.h:114
int msgCount
Definition: iedata.h:103
unsigned int fwBlockDesc
Definition: iedata.h:111
unsigned int receivedDropped
Definition: iedata.h:121
PString callingNumber
Definition: iedata.h:74