iedata.h
Go to the documentation of this file.
/*
*
*
* Inter Asterisk Exchange 2
*
* defines the different types of information elements
*
* Open Phone Abstraction Library (OPAL)
*
* Copyright (c) 2005 Indranet Technologies Ltd.
*
* The contents of this file are subject to the Mozilla Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
* the License for the specific language governing rights and limitations
* under the License.
*
* The Original Code is Open Phone Abstraction Library.
*
* The Initial Developer of the Original Code is Indranet Technologies Ltd.
*
* The author of this code is Derek J Smithies
*
* $Revision: 24606 $
* $Author: dereksmithies $
* $Date: 2010-07-28 22:51:05 -0500 (Wed, 28 Jul 2010) $
*/
#ifndef OPAL_IAX2_IEDATA_H
#define OPAL_IAX2_IEDATA_H
#ifndef _PTLIB_H
#include <ptlib.h>
#endif
#include <opal/buildopts.h>
#if OPAL_IAX2
#include <ptlib/sockets.h>
#ifdef P_USE_PRAGMA
#pragma interface
#endif
class IAX2IeData : public PObject
{
PCLASSINFO(IAX2IeData, PObject);
public:
IAX2IeData();
~IAX2IeData();
virtual void PrintOn(ostream & strm) const;
PString calledNumber;
PString callingNumber;
PString callingAni;
PString callingName;
int callingTon;
int callingTns;
int callingPres;
PString calledContext;
PString userName;
PString password;
unsigned int capability;
unsigned int format;
PString codecPrefs;
PString language;
int version;
PINDEX adsicpe;
PString dnid;
PString rdnis;
short authMethods;
unsigned int encryptionMethods;
PString challenge;
PString md5Result;
PString rsaResult;
PIPSocket::Address apparentAddr;
PINDEX refresh;
PINDEX dpStatus;
PINDEX callNo;
PString cause;
BYTE causeCode;
BYTE iaxUnknown;
int msgCount;
int autoAnswer;
int musicOnHold;
unsigned int transferId;
PTime dateTime;
PString deviceType;
PString serviceIdent;
int firmwareVer;
unsigned int fwBlockDesc;
PBYTEArray fwBlockData;
PString encKey;
unsigned int provVer;
PINDEX samplingRate;
int provverPres;
unsigned int receivedJitter;
unsigned int receivedLoss;
unsigned int receivedPackets;
unsigned short receivedDelay;
unsigned int receivedDropped;
unsigned int receivedOoo;
PBYTEArray callToken;
};
#endif // OPAL_IAX2
#endif // OPAL_IAX2_IEDATA_H
/* The comment below is magic for those who use emacs to edit this file.
* With the comment below, the tab key does auto indent to 2 spaces.
*
* Local Variables:
* mode:c
* c-basic-offset:2
* End:
*/
IAX2IeData::callingTon
int callingTon
Definition: iedata.h:77
IAX2IeData::challenge
PString challenge
Definition: iedata.h:93
IAX2IeData::transferId
unsigned int transferId
Definition: iedata.h:106
IAX2IeData::receivedLoss
unsigned int receivedLoss
Definition: iedata.h:118
IAX2IeData::fwBlockData
PBYTEArray fwBlockData
Definition: iedata.h:112
IAX2IeData::format
unsigned int format
Definition: iedata.h:84
buildopts.h
IAX2IeData::password
PString password
Definition: iedata.h:82
IAX2IeData::callToken
PBYTEArray callToken
Definition: iedata.h:123
IAX2IeData::receivedJitter
unsigned int receivedJitter
Definition: iedata.h:117
IAX2IeData::IAX2IeData
IAX2IeData()
IAX2IeData::version
int version
Definition: iedata.h:87
IAX2IeData::callingTns
int callingTns
Definition: iedata.h:78
IAX2IeData::rdnis
PString rdnis
Definition: iedata.h:90
IAX2IeData::dateTime
PTime dateTime
Definition: iedata.h:107
IAX2IeData::callingPres
int callingPres
Definition: iedata.h:79
IAX2IeData::authMethods
short authMethods
Definition: iedata.h:91
IAX2IeData::apparentAddr
PIPSocket::Address apparentAddr
Definition: iedata.h:96
IAX2IeData
Definition: iedata.h:55
IAX2IeData::~IAX2IeData
~IAX2IeData()
IAX2IeData::receivedDelay
unsigned short receivedDelay
Definition: iedata.h:120
IAX2IeData::encKey
PString encKey
Definition: iedata.h:113
IAX2IeData::refresh
PINDEX refresh
Definition: iedata.h:97
IAX2IeData::causeCode
BYTE causeCode
Definition: iedata.h:101
IAX2IeData::firmwareVer
int firmwareVer
Definition: iedata.h:110
IAX2IeData::codecPrefs
PString codecPrefs
Definition: iedata.h:85
IAX2IeData::musicOnHold
int musicOnHold
Definition: iedata.h:105
IAX2IeData::callNo
PINDEX callNo
Definition: iedata.h:99
IAX2IeData::callingName
PString callingName
Definition: iedata.h:76
IAX2IeData::capability
unsigned int capability
Definition: iedata.h:83
IAX2IeData::md5Result
PString md5Result
Definition: iedata.h:94
IAX2IeData::deviceType
PString deviceType
Definition: iedata.h:108
IAX2IeData::serviceIdent
PString serviceIdent
Definition: iedata.h:109
IAX2IeData::iaxUnknown
BYTE iaxUnknown
Definition: iedata.h:102
IAX2IeData::PrintOn
virtual void PrintOn(ostream &strm) const
IAX2IeData::provverPres
int provverPres
Definition: iedata.h:116
IAX2IeData::adsicpe
PINDEX adsicpe
Definition: iedata.h:88
IAX2IeData::rsaResult
PString rsaResult
Definition: iedata.h:95
IAX2IeData::calledNumber
PString calledNumber
Definition: iedata.h:73
IAX2IeData::dnid
PString dnid
Definition: iedata.h:89
IAX2IeData::dpStatus
PINDEX dpStatus
Definition: iedata.h:98
IAX2IeData::callingAni
PString callingAni
Definition: iedata.h:75
IAX2IeData::samplingRate
PINDEX samplingRate
Definition: iedata.h:115
IAX2IeData::language
PString language
Definition: iedata.h:86
IAX2IeData::calledContext
PString calledContext
Definition: iedata.h:80
IAX2IeData::receivedOoo
unsigned int receivedOoo
Definition: iedata.h:122
IAX2IeData::encryptionMethods
unsigned int encryptionMethods
Definition: iedata.h:92
IAX2IeData::receivedPackets
unsigned int receivedPackets
Definition: iedata.h:119
IAX2IeData::cause
PString cause
Definition: iedata.h:100
IAX2IeData::autoAnswer
int autoAnswer
Definition: iedata.h:104
IAX2IeData::userName
PString userName
Definition: iedata.h:81
IAX2IeData::provVer
unsigned int provVer
Definition: iedata.h:114
IAX2IeData::msgCount
int msgCount
Definition: iedata.h:103
IAX2IeData::fwBlockDesc
unsigned int fwBlockDesc
Definition: iedata.h:111
IAX2IeData::receivedDropped
unsigned int receivedDropped
Definition: iedata.h:121
IAX2IeData::callingNumber
PString callingNumber
Definition: iedata.h:74