# h323pdu.h File Reference

`#include <opal/buildopts.h>`
`#include <ptlib/sockets.h>`
`#include <h323/h323con.h>`
`#include <h323/transaddr.h>`
`#include <h323/q931.h>`
`#include <h323/h235auth.h>`
`#include <h323/h323trans.h>`
`#include <rtp/rtp.h>`
`#include <asn/h225.h>`
`#include <asn/h245.h>`

Include dependency graph for h323pdu.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Data Structures

class | H323SignalPDU
class | H323ControlPDU
class | H323RasPDU

## Defines

#define | H225_PROTOCOL_VERSION 6
#define | H245_PROTOCOL_VERSION 13
#define | H323TraceDumpPDU(proto, writing, rawData, pdu, tag1, seqNum)

## Functions

void | H323SetAliasAddresses (const H323TransportAddressArray &addresses, H225_ArrayOf_AliasAddress &aliases)
void | H323SetAliasAddresses (const PStringArray &names, H225_ArrayOf_AliasAddress &aliases, int tag=-1)
void | H323SetAliasAddresses (const PStringList &names, H225_ArrayOf_AliasAddress &aliases, int tag=-1)
void | H323SetAliasAddress (const H323TransportAddress &address, H225_AliasAddress &alias)
void | H323SetAliasAddress (const PString &name, H225_AliasAddress &alias, int tag=-1)
PStringArray | H323GetAliasAddressStrings (const H225_ArrayOf_AliasAddress &aliases)
PString | H323GetAliasAddressString (const H225_AliasAddress &alias)
PString | H323GetAliasAddressE164 (const H225_AliasAddress &alias)
PString | H323GetAliasAddressE164 (const H225_ArrayOf_AliasAddress &aliases)
H323Connection::CallEndReason | H323TranslateToCallEndReason (Q931::CauseValues cause, unsigned reason)
Q931::CauseValues | H323TranslateFromCallEndReason (H323Connection::CallEndReason callEndReason, H225_ReleaseCompleteReason &releaseCompleteReason)
void | H323GetApplicationInfo (OpalProductInfo &info, const H225_VendorIdentifier &vendor)
bool | H323SetRTPPacketization (H245_ArrayOf_RTPPayloadType &rtpPacketizations, const PStringSet &mediaPacketizations)
bool | H323SetRTPPacketization (H245_RTPPayloadType &rtpPacketization, const OpalMediaFormat &mediaFormat, RTP_DataFrame::PayloadTypes payloadType)
bool | H323SetRTPPacketization (H245_RTPPayloadType &rtpPacketization, const PString &mediaPacketizationString, RTP_DataFrame::PayloadTypes payloadType)
PString | H323GetRTPPacketization (const H245_RTPPayloadType &rtpPacketization)
PString | H323GetCapabilityIdentifier (const H245_CapabilityIdentifier &capId)
bool | H323SetCapabilityIdentifier (const PString &str, H245_CapabilityIdentifier &capId)
const H245_ParameterValue * | H323GetGenericParameter (const H245_ArrayOf_GenericParameter &params, unsigned ordinal)
bool | H323GetGenericParameterBoolean (const H245_ArrayOf_GenericParameter &params, unsigned ordinal)
unsigned | H323GetGenericParameterInteger (const H245_ArrayOf_GenericParameter &params, unsigned ordinal, unsigned defValue=0, H245_ParameterValue::Choices subType=H245_ParameterValue::e_unsignedMin)
H245_ParameterValue * | H323AddGenericParameter (H245_ArrayOf_GenericParameter &params, unsigned ordinal)
void | H323AddGenericParameterBoolean (H245_ArrayOf_GenericParameter &params, unsigned ordinal, bool value)
void | H323AddGenericParameterInteger (H245_ArrayOf_GenericParameter &params, unsigned ordinal, unsigned value, H245_ParameterValue::Choices subType)
void | H323AddGenericParameterString (H245_ArrayOf_GenericParameter &params, unsigned ordinal, const PString &value)
void | H323AddGenericParameterOctets (H245_ArrayOf_GenericParameter &params, unsigned ordinal, const PBYTEArray &value)

## Define Documentation

#define H225_PROTOCOL_VERSION 6

#define H245_PROTOCOL_VERSION 13

#define H323TraceDumpPDU | ( | proto,
|  | writing,
|  | rawData,
|  | pdu,
|  | tag1,
|  | seqNum |  | ) |

## Function Documentation

H245_ParameterValue* H323AddGenericParameter | ( | H245_ArrayOf_GenericParameter & | params,
|  | unsigned | ordinal |
| ) |  |  |

void H323AddGenericParameterBoolean | ( | H245_ArrayOf_GenericParameter & | params,
|  | unsigned | ordinal,
|  | bool | value |
| ) |  |  |

void H323AddGenericParameterInteger | ( | H245_ArrayOf_GenericParameter & | params,
|  | unsigned | ordinal,
|  | unsigned | value,
|  | H245_ParameterValue::Choices | subType |
| ) |  |  |

void H323AddGenericParameterOctets | ( | H245_ArrayOf_GenericParameter & | params,
|  | unsigned | ordinal,
|  | const PBYTEArray & | value |
| ) |  |  |

void H323AddGenericParameterString | ( | H245_ArrayOf_GenericParameter & | params,
|  | unsigned | ordinal,
|  | const PString & | value |
| ) |  |  |

PString H323GetAliasAddressE164 | ( | const H225_ArrayOf_AliasAddress & | aliases | ) |

PString H323GetAliasAddressE164 | ( | const H225_AliasAddress & | alias | ) |

PString H323GetAliasAddressString | ( | const H225_AliasAddress & | alias | ) |

PStringArray H323GetAliasAddressStrings | ( | const H225_ArrayOf_AliasAddress & | aliases | ) |

void H323GetApplicationInfo | ( | OpalProductInfo & | info,
|  | const H225_VendorIdentifier & | vendor |
| ) |  |  |

PString H323GetCapabilityIdentifier | ( | const H245_CapabilityIdentifier & | capId | ) |

const H245_ParameterValue* H323GetGenericParameter | ( | const H245_ArrayOf_GenericParameter & | params,
|  | unsigned | ordinal |
| ) |  |  |

bool H323GetGenericParameterBoolean | ( | const H245_ArrayOf_GenericParameter & | params,
|  | unsigned | ordinal |
| ) |  |  |

unsigned H323GetGenericParameterInteger | ( | const H245_ArrayOf_GenericParameter & | params,
|  | unsigned | ordinal,
|  | unsigned | defValue = `0`,
|  | H245_ParameterValue::Choices | subType = `H245_ParameterValue::e_unsignedMin` |
| ) |  |  |

PString H323GetRTPPacketization | ( | const H245_RTPPayloadType & | rtpPacketization | ) |

void H323SetAliasAddress | ( | const PString & | name,
|  | H225_AliasAddress & | alias,
|  | int | tag = `-1` |
| ) |  |  |

void H323SetAliasAddress | ( | const H323TransportAddress & | address,
|  | H225_AliasAddress & | alias |
| ) |  |  |

void H323SetAliasAddresses | ( | const PStringList & | names,
|  | H225_ArrayOf_AliasAddress & | aliases,
|  | int | tag = `-1` |
| ) |  |  |

void H323SetAliasAddresses | ( | const PStringArray & | names,
|  | H225_ArrayOf_AliasAddress & | aliases,
|  | int | tag = `-1` |
| ) |  |  |

void H323SetAliasAddresses | ( | const H323TransportAddressArray & | addresses,
|  | H225_ArrayOf_AliasAddress & | aliases |
| ) |  |  |

bool H323SetCapabilityIdentifier | ( | const PString & | str,
|  | H245_CapabilityIdentifier & | capId |
| ) |  |  |

bool H323SetRTPPacketization | ( | H245_RTPPayloadType & | rtpPacketization,
|  | const PString & | mediaPacketizationString,
|  | RTP_DataFrame::PayloadTypes | payloadType |
| ) |  |  |

bool H323SetRTPPacketization | ( | H245_RTPPayloadType & | rtpPacketization,
|  | const OpalMediaFormat & | mediaFormat,
|  | RTP_DataFrame::PayloadTypes | payloadType |
| ) |  |  |

bool H323SetRTPPacketization | ( | H245_ArrayOf_RTPPayloadType & | rtpPacketizations,
|  | const PStringSet & | mediaPacketizations |
| ) |  |  |

Q931::CauseValues H323TranslateFromCallEndReason | ( | H323Connection::CallEndReason | callEndReason,
|  | H225_ReleaseCompleteReason & | releaseCompleteReason |
| ) |  |  |

H323Connection::CallEndReason H323TranslateToCallEndReason | ( | Q931::CauseValues | cause,
|  | unsigned | reason |
| ) |  |  |