aboutsummaryrefslogtreecommitdiffstats
path: root/channels/h323/ast_h323.cpp
diff options
context:
space:
mode:
authorjeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b>2003-09-22 06:21:03 +0000
committerjeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b>2003-09-22 06:21:03 +0000
commitcb741d4947db6afbe80d406456c9d3d740460874 (patch)
treea8730e61a75ce18cc658f32765b6d56949df7e46 /channels/h323/ast_h323.cpp
parent5fe638a937ffdb8c82714a5a32802de9ca456b32 (diff)
rollback transfer support...not properly implemented
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1537 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/h323/ast_h323.cpp')
-rwxr-xr-xchannels/h323/ast_h323.cpp45
1 files changed, 0 insertions, 45 deletions
diff --git a/channels/h323/ast_h323.cpp b/channels/h323/ast_h323.cpp
index 6ee771a42..87d767c6c 100755
--- a/channels/h323/ast_h323.cpp
+++ b/channels/h323/ast_h323.cpp
@@ -407,49 +407,6 @@ H323Connection * MyH323EndPoint::CreateConnection(unsigned callReference, void *
return new MyH323Connection(*this, callReference, options);
}
-H323Connection * MyH323EndPoint::SetupTransfer(const PString & token,
- const PString & callIdentity,
- const PString & remoteParty,
- PString & newToken,
- void * userData)
-{
- PString alias;
- H323TransportAddress address;
-
- H323Connection * connection;
-
- if (h323debug) {
- cout << " -- Setup transfer of " << callIdentity << ":" << endl;
- cout << " -- Call from " << token << endl;
- cout << " -- Remote Party " << remoteParty << endl;
- }
-
- connection = FindConnectionWithLock(token);
-
- if (connection != NULL) {
- unsigned int old_call_reference = connection->GetCallReference();
-
- if (h323debug)
- cout << " -- Old call reference " << old_call_reference << endl;
- connection->Unlock();
-
- if (on_transfer_call(old_call_reference, remoteParty)) {
- if (h323debug)
- cout << " -- Transfer succeded " << endl;
- if (connection->ClearCall(H323Connection::EndedByCallForwarded))
- return NULL;
- return NULL;
- }
- }
- if (h323debug)
- cout << " -- Transfer failed " << endl;
-
- if (connection != NULL) {
- return connection;
- }
- return NULL;
-}
-
/* MyH323Connection */
MyH323Connection::MyH323Connection(MyH323EndPoint & ep,
unsigned callReference,
@@ -796,7 +753,6 @@ void h323_debug(int flag, unsigned level)
/** Installs the callback functions on behalf of the PBX application */
void h323_callback_register(setup_incoming_cb ifunc,
setup_outbound_cb sfunc,
- setup_transfer_cb tfunc,
on_connection_cb confunc,
start_logchan_cb lfunc,
clear_con_cb clfunc,
@@ -805,7 +761,6 @@ void h323_callback_register(setup_incoming_cb ifunc,
{
on_incoming_call = ifunc;
on_outgoing_call = sfunc;
- on_transfer_call = tfunc;
on_create_connection = confunc;
on_start_logical_channel = lfunc;
on_connection_cleared = clfunc;