1 ///////////////////////////////////////////////////////////////////////////////
5 //---------------------------------------------------------------------------//
6 // Copyright: Andreas Eversberg //
8 // h323_ep endpoint header file //
10 ///////////////////////////////////////////////////////////////////////////////
13 #ifndef H323_EP_HEADER
14 #define H323_EP_HEADER
17 class H323_ep : public H323EndPoint
22 H323Connection *CreateConnection(unsigned callReference);
23 void OnConnectionEstablished(H323Connection &connection, const PString &token);
24 BOOL OnAlerting(H323Connection &connection, const H323SignalPDU &alertingPDU, const PString &user);
25 void OnConnectionCleared(H323Connection &connection, const PString &token);
26 BOOL OpenAudioChannel(H323Connection &connection, BOOL isEncoding, unsigned bufferSize, H323AudioCodec &codec);
27 BOOL OpenVideoChannel(H323Connection &connection, BOOL isEncoding, H323VideoCodec &codec);
29 void SetEndpointTypeInfo (H225_EndpointType & info) const;
30 BOOL Call(char *token_string, char *caller, char *host);
36 #endif // H323_EP_HEADER