diff options
author | Jeremy McNamara <jj@nufone.net> | 2005-05-19 19:13:19 +0000 |
---|---|---|
committer | Jeremy McNamara <jj@nufone.net> | 2005-05-19 19:13:19 +0000 |
commit | ec9ce8db9dabd1ec637d86ec00d94aebb530a98c (patch) | |
tree | 31fbba141f78f57855b296377e6698ae25217f97 /channels/h323/ast_h323.h | |
parent | 9c83ec2f2508e63e6171a88fa21ebc8476ab6cab (diff) |
Make capbilities be connection specific versus for the whole endpoint. Bug #4334
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5742 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/h323/ast_h323.h')
-rwxr-xr-x | channels/h323/ast_h323.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/channels/h323/ast_h323.h b/channels/h323/ast_h323.h index 3b652589e..5bab9fc3b 100755 --- a/channels/h323/ast_h323.h +++ b/channels/h323/ast_h323.h @@ -128,6 +128,7 @@ class MyH323EndPoint : public H323EndPoint { PCLASSINFO(MyH323EndPoint, H323EndPoint); public: + MyH323EndPoint(); int MakeCall(const PString &, PString &, unsigned int *, call_options_t *opts); BOOL ClearCall(const PString &, H323Connection::CallEndReason reason); BOOL ClearCall(const PString &); @@ -137,7 +138,6 @@ class MyH323EndPoint : public H323EndPoint { void OnConnectionCleared(H323Connection &, const PString &); H323Connection * CreateConnection(unsigned, void *); void SendUserTone(const PString &, char); - H323Capabilities GetCapabilities(void); BOOL OnConnectionForwarded(H323Connection &, const PString &, const H323SignalPDU &); BOOL ForwardConnection(H323Connection &, const PString &, const H323SignalPDU &); void SetEndpointTypeInfo( H225_EndpointType & info ) const; @@ -173,6 +173,8 @@ class MyH323Connection : public H323Connection { void OnUserInputString(const PString &value); BOOL OnReceivedProgress(const H323SignalPDU &); void OnSendCapabilitySet(H245_TerminalCapabilitySet &); + void OnSetLocalCapabilities(); + void SetCapabilities(int, int); BOOL OnReceivedCapabilitySet(const H323Capabilities &, const H245_MultiplexCapability *, H245_TerminalCapabilitySetReject &); void SetCause(int _cause) { cause = _cause; }; |