OPAL  Version 3.18.8
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 
29 #ifndef OPAL_IAX2_IEDATA_H
30 #define OPAL_IAX2_IEDATA_H
31 
32 #ifndef _PTLIB_H
33 #include <ptlib.h>
34 #endif
35 
36 #include <opal_config.h>
37 
38 #if OPAL_IAX2
39 
40 #include <ptlib/sockets.h>
41 
42 #ifdef P_USE_PRAGMA
43 #pragma interface
44 #endif
45 
51 class IAX2IeData : public PObject
52 {
53  PCLASSINFO(IAX2IeData, PObject);
54  public:
59  IAX2IeData();
60 
61 
62  ~IAX2IeData();
64 
66  virtual void PrintOn(ostream & strm) const;
67 
68 
69  PString calledNumber;
70  PString callingNumber;
71  PString callingAni;
72  PString callingName;
73  int callingTon;
74  int callingTns;
76  PString calledContext;
77  PString userName;
78  PString password;
79  unsigned int capability;
80  unsigned int format;
81  PString codecPrefs;
82  PString language;
83  int version;
84  PINDEX adsicpe;
85  PString dnid;
86  PString rdnis;
87  short authMethods;
88  unsigned int encryptionMethods;
89  PString challenge;
90  PString md5Result;
91  PString rsaResult;
92  PIPSocket::Address apparentAddr;
93  PINDEX refresh;
94  PINDEX dpStatus;
95  PINDEX callNo;
96  PString cause;
97  BYTE causeCode;
98  BYTE iaxUnknown;
99  int msgCount;
102  unsigned int transferId;
103  PTime dateTime;
104  PString deviceType;
105  PString serviceIdent;
107  unsigned int fwBlockDesc;
108  PBYTEArray fwBlockData;
109  PString encKey;
110  unsigned int provVer;
111  PINDEX samplingRate;
113  unsigned int receivedJitter;
114  unsigned int receivedLoss;
115  unsigned int receivedPackets;
116  unsigned short receivedDelay;
117  unsigned int receivedDropped;
118  unsigned int receivedOoo;
119  PBYTEArray callToken;
120 };
121 
122 
123 #endif // OPAL_IAX2
124 
125 #endif // OPAL_IAX2_IEDATA_H
126 
127 /* The comment below is magic for those who use emacs to edit this file.
128  * With the comment below, the tab key does auto indent to 2 spaces.
129  *
130  * Local Variables:
131  * mode:c
132  * c-basic-offset:2
133  * End:
134  */
int callingTon
Definition: iedata.h:73
PString challenge
Definition: iedata.h:89
unsigned int transferId
Definition: iedata.h:102
unsigned int receivedLoss
Definition: iedata.h:114
PBYTEArray fwBlockData
Definition: iedata.h:108
unsigned int format
Definition: iedata.h:80
PString password
Definition: iedata.h:78
PBYTEArray callToken
Definition: iedata.h:119
unsigned int receivedJitter
Definition: iedata.h:113
int version
Definition: iedata.h:83
int callingTns
Definition: iedata.h:74
PString rdnis
Definition: iedata.h:86
PTime dateTime
Definition: iedata.h:103
int callingPres
Definition: iedata.h:75
short authMethods
Definition: iedata.h:87
PIPSocket::Address apparentAddr
Definition: iedata.h:92
Definition: iedata.h:51
unsigned short receivedDelay
Definition: iedata.h:116
PString encKey
Definition: iedata.h:109
PINDEX refresh
Definition: iedata.h:93
BYTE causeCode
Definition: iedata.h:97
int firmwareVer
Definition: iedata.h:106
PString codecPrefs
Definition: iedata.h:81
int musicOnHold
Definition: iedata.h:101
PINDEX callNo
Definition: iedata.h:95
PString callingName
Definition: iedata.h:72
unsigned int capability
Definition: iedata.h:79
PString md5Result
Definition: iedata.h:90
PString deviceType
Definition: iedata.h:104
PString serviceIdent
Definition: iedata.h:105
BYTE iaxUnknown
Definition: iedata.h:98
virtual void PrintOn(ostream &strm) const
int provverPres
Definition: iedata.h:112
PINDEX adsicpe
Definition: iedata.h:84
PString rsaResult
Definition: iedata.h:91
PString calledNumber
Definition: iedata.h:69
PString dnid
Definition: iedata.h:85
PINDEX dpStatus
Definition: iedata.h:94
PString callingAni
Definition: iedata.h:71
PINDEX samplingRate
Definition: iedata.h:111
PString language
Definition: iedata.h:82
PString calledContext
Definition: iedata.h:76
unsigned int receivedOoo
Definition: iedata.h:118
unsigned int encryptionMethods
Definition: iedata.h:88
unsigned int receivedPackets
Definition: iedata.h:115
PString cause
Definition: iedata.h:96
int autoAnswer
Definition: iedata.h:100
PString userName
Definition: iedata.h:77
unsigned int provVer
Definition: iedata.h:110
int msgCount
Definition: iedata.h:99
unsigned int fwBlockDesc
Definition: iedata.h:107
unsigned int receivedDropped
Definition: iedata.h:117
PString callingNumber
Definition: iedata.h:70