diff options
author | jeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-05-12 00:55:52 +0000 |
---|---|---|
committer | jeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-05-12 00:55:52 +0000 |
commit | 504964b544f492960b38f5d7da488bc049325bd1 (patch) | |
tree | 98598a94219e9e979e265e0aac8f863831c551a6 /channels/h323/ast_h323.cpp | |
parent | ca23acd5eab0315380303bff36e809b1269944d7 (diff) |
various bug fixes from Miroslaw KLABA
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@999 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/h323/ast_h323.cpp')
-rwxr-xr-x | channels/h323/ast_h323.cpp | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/channels/h323/ast_h323.cpp b/channels/h323/ast_h323.cpp index 64401111d..e4fe560b8 100755 --- a/channels/h323/ast_h323.cpp +++ b/channels/h323/ast_h323.cpp @@ -298,6 +298,8 @@ void MyH323EndPoint::OnConnectionCleared(H323Connection & connection, const PStr switch (connection.GetCallEndReason()) { case H323Connection::EndedByCallForwarded : + if (h323debug) + cout << " -- " << remoteName << " has forwarded the call" << endl; break; case H323Connection::EndedByRemoteUser : if (h323debug) @@ -535,6 +537,20 @@ BOOL MyH323Connection::OnSendSignalSetup(H323SignalPDU & setupPDU) return H323Connection::OnSendSignalSetup(setupPDU); } +BOOL MyH323Connection::OnSendReleaseComplete(H323SignalPDU & releaseCompletePDU) +{ + if (h323debug) + cout << " -- Sending RELEASE COMPLETE" << endl; + return H323Connection::OnSendReleaseComplete(releaseCompletePDU); +} + +BOOL MyH323Connection::OnReceivedFacility(const H323SignalPDU & pdu) +{ + if (h323debug) + cout << " -- Received Facility message... " << endl; + return H323Connection::OnReceivedFacility(pdu); +} + void MyH323Connection::OnReceivedReleaseComplete(const H323SignalPDU & pdu) { if (h323debug) @@ -594,7 +610,7 @@ H323Channel * MyH323Connection::CreateRealTimeLogicalChannel(const H323Capabilit externalPort = on_create_connection(GetCallReference()); if (h323debug) { - cout << " =*= In CreateRealTimeLogicalChannel" << endl; + cout << " =*= In CreateRealTimeLogicalChannel for call " << GetCallReference() << endl; cout << " -- externalIpAddress: " << externalIpAddress << endl; cout << " -- externalPort: " << externalPort << endl; cout << " -- Direction: " << dir << endl; |