00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033 #ifndef OPAL_IAX2_IEDATA_H
00034 #define OPAL_IAX2_IEDATA_H
00035
00036 #ifndef _PTLIB_H
00037 #include <ptlib.h>
00038 #endif
00039
00040 #include <opal/buildopts.h>
00041
00042 #if OPAL_IAX2
00043
00044 #include <ptlib/sockets.h>
00045
00046 #ifdef P_USE_PRAGMA
00047 #pragma interface
00048 #endif
00049
00055 class IAX2IeData : public PObject
00056 {
00057 PCLASSINFO(IAX2IeData, PObject);
00058 public:
00063 IAX2IeData();
00064
00065
00066 ~IAX2IeData();
00068
00070 virtual void PrintOn(ostream & strm) const;
00071
00072
00073 PString calledNumber;
00074 PString callingNumber;
00075 PString callingAni;
00076 PString callingName;
00077 int callingTon;
00078 int callingTns;
00079 int callingPres;
00080 PString calledContext;
00081 PString userName;
00082 PString password;
00083 unsigned int capability;
00084 unsigned int format;
00085 PString codecPrefs;
00086 PString language;
00087 int version;
00088 PINDEX adsicpe;
00089 PString dnid;
00090 PString rdnis;
00091 short authMethods;
00092 unsigned int encryptionMethods;
00093 PString challenge;
00094 PString md5Result;
00095 PString rsaResult;
00096 PIPSocket::Address apparentAddr;
00097 PINDEX refresh;
00098 PINDEX dpStatus;
00099 PINDEX callNo;
00100 PString cause;
00101 BYTE causeCode;
00102 BYTE iaxUnknown;
00103 int msgCount;
00104 int autoAnswer;
00105 int musicOnHold;
00106 unsigned int transferId;
00107 PTime dateTime;
00108 PString deviceType;
00109 PString serviceIdent;
00110 int firmwareVer;
00111 unsigned int fwBlockDesc;
00112 PBYTEArray fwBlockData;
00113 PString encKey;
00114 unsigned int provVer;
00115 PINDEX samplingRate;
00116 int provverPres;
00117 unsigned int receivedJitter;
00118 unsigned int receivedLoss;
00119 unsigned int receivedPackets;
00120 unsigned short receivedDelay;
00121 unsigned int receivedDropped;
00122 unsigned int receivedOoo;
00123 };
00124
00125
00126 #endif // OPAL_IAX2
00127
00128 #endif // OPAL_IAX2_IEDATA_H
00129
00130
00131
00132
00133
00134
00135
00136
00137
00138
00139