ekiga r6368 - in trunk: . src/endpoints



Author: dsandras
Date: Thu Jun  5 20:09:15 2008
New Revision: 6368
URL: http://svn.gnome.org/viewvc/ekiga?rev=6368&view=rev

Log:
Reimplemented blind transfer.


Modified:
   trunk/ChangeLog
   trunk/src/endpoints/opal-call.cpp

Modified: trunk/src/endpoints/opal-call.cpp
==============================================================================
--- trunk/src/endpoints/opal-call.cpp	(original)
+++ trunk/src/endpoints/opal-call.cpp	Thu Jun  5 20:09:15 2008
@@ -99,8 +99,18 @@
 void
 Opal::Call::transfer (std::string uri)
 {
-  //FIXME
-  std::cout << "Should transfer to " << uri << std::endl << std::flush;
+  PSafePtr<OpalConnection> connection = NULL;
+
+  int i = 0;
+
+  do {
+
+    connection = GetConnection (i);
+    i++;
+  }  while (PIsDescendant(&(*connection), OpalPCSSConnection));
+
+  if (connection)
+    connection->TransferConnection (uri);
 }
 
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]