diff options
author | jeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-10-10 12:20:18 +0000 |
---|---|---|
committer | jeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-10-10 12:20:18 +0000 |
commit | 25157bbe77ed41c8d34ea922d3d6bb7f78d5dbed (patch) | |
tree | d7339e000cef4f33c3d85825e821f82cf602c257 /channels/h323/ast_h323.h | |
parent | 7d314f3632d9ce618963251ae12e469d678b636d (diff) |
finish implementing type=peer, implement setting of FastStart and H.245 Tunneling per user/peer, update External RTP implemenation, fixed compile process/other buglets to operate with Open H.323 v1.14.4 and PWLib v1.7.5, and massive code clean up. All of the above is untested, please test and report
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3970 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/h323/ast_h323.h')
-rwxr-xr-x | channels/h323/ast_h323.h | 41 |
1 files changed, 12 insertions, 29 deletions
diff --git a/channels/h323/ast_h323.h b/channels/h323/ast_h323.h index 2a034f7d9..b04f57c95 100755 --- a/channels/h323/ast_h323.h +++ b/channels/h323/ast_h323.h @@ -218,7 +218,8 @@ class MyH323Connection : public H323Connection { H323Channel * CreateRealTimeLogicalChannel(const H323Capability &, H323Channel::Directions, unsigned, - const H245_H2250LogicalChannelParameters *); + const H245_H2250LogicalChannelParameters *, + RTP_QOS *); H323Connection::AnswerCallResponse OnAnswerCall(const PString &, const H323SignalPDU &, H323SignalPDU &); void OnReceivedReleaseComplete(const H323SignalPDU &); BOOL OnAlerting(const H323SignalPDU &, const PString &); @@ -237,12 +238,8 @@ class MyH323Connection : public H323Connection { PString sourceE164; PString destE164; - PIPSocket::Address externalIpAddress; - WORD externalPort; WORD sessionId; BOOL bridging; - BOOL AST_RTP_Connected; - BOOL AST_Outgoing; }; class MyH323_ExternalRTPChannel : public H323_ExternalRTPChannel { @@ -251,35 +248,24 @@ class MyH323_ExternalRTPChannel : public H323_ExternalRTPChannel { public: MyH323_ExternalRTPChannel( - MyH323Connection & connection, + MyH323Connection & connection, const H323Capability & capability, Directions direction, unsigned sessionID); - MyH323_ExternalRTPChannel( - MyH323Connection & connection, - const H323Capability & capability, - Directions direction, - unsigned sessionID, - const H323TransportAddress & data, - const H323TransportAddress & control); - - /* Create a new channel. */ - MyH323_ExternalRTPChannel( - MyH323Connection & connection, - const H323Capability & capability, - Directions direction, - unsigned sessionID, - const PIPSocket::Address & ip, - WORD dataPort); - /* Destructor */ ~MyH323_ExternalRTPChannel(); - BOOL OnReceivedAckPDU(const H245_H2250LogicalChannelAckParameters & param); + /* Overrides */ + BOOL Start(void); + + protected: + BYTE payloadCode; - PIPSocket::Address externalIpAddress; - WORD externalPort; + PIPSocket::Address localIpAddr; + PIPSocket::Address remoteIpAddr; + WORD localPort; + WORD remotePort; }; /** @@ -292,10 +278,7 @@ class MyProcess : public PProcess { public: MyProcess(); - void Main(); - - }; #endif /* !defined AST_H323_H */ |