00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00021 #ifndef _OOH323HDR_H_
00022 #define _OOH323HDR_H_
00023
00024 #include "ooasn1.h"
00025 #include "ootypes.h"
00026 #include "ootrace.h"
00027 #include "ooq931.h"
00028 #include "MULTIMEDIA-SYSTEM-CONTROL.h"
00029
00030 #ifdef __cplusplus
00031 extern "C" {
00032 #endif
00033
00034 #ifndef EXTERN
00035 #ifdef MAKE_DLL
00036 #define EXTERN __declspec(dllexport)
00037 #else
00038 #define EXTERN
00039 #endif
00040 #endif
00041
00042 struct OOH323CallData;
00043
00055 EXTERN int ooOnReceivedSetup
00056 (struct OOH323CallData *call, Q931Message *q931Msg);
00057
00067 EXTERN int ooOnReceivedSignalConnect
00068 (struct OOH323CallData* call, Q931Message *q931Msg);
00069
00078 EXTERN int ooHandleH2250Message
00079 (struct OOH323CallData *call, Q931Message *q931Msg);
00080
00088 EXTERN int ooOnReceivedFacility
00089 (struct OOH323CallData *call, Q931Message * pQ931Msg);
00090
00098 EXTERN int ooHandleTunneledH245Messages(struct OOH323CallData *call,
00099 H225H323_UU_PDU * pH323UUPdu);
00100
00106 EXTERN int ooHandleStartH245FacilityMessage(struct OOH323CallData *call,
00107 H225Facility_UUIE *facility);
00108
00120 EXTERN int ooH323RetrieveAliases
00121 (struct OOH323CallData *call, H225_SeqOfH225AliasAddress *pAddresses,
00122 OOAliases **aliasList);
00123
00133 EXTERN int ooPopulateAliasList(OOCTXT *pctxt, OOAliases *pAliases,
00134 H225_SeqOfH225AliasAddress *pAliasList);
00135
00145 EXTERN OOAliases* ooH323GetAliasFromList
00146 (OOAliases *aliasList, int type, char *value);
00147
00157 EXTERN OOAliases* ooH323AddAliasToList
00158 (OOAliases **pAliasList, OOCTXT *pctxt, H225AliasAddress *pAliasAddress);
00159
00172 int ooH323GetIpPortFromH225TransportAddress(struct OOH323CallData *call,
00173 H225TransportAddress *h225Address, char *ip, int *port);
00177 #ifdef __cplusplus
00178 }
00179 #endif
00180
00181 #endif
00182