ekiga r6860 - in trunk: . src/endpoints
- From: dsandras svn gnome org
- To: svn-commits-list gnome org
- Subject: ekiga r6860 - in trunk: . src/endpoints
- Date: Sun, 7 Sep 2008 14:01:39 +0000 (UTC)
Author: dsandras
Date: Sun Sep 7 14:01:39 2008
New Revision: 6860
URL: http://svn.gnome.org/viewvc/ekiga?rev=6860&view=rev
Log:
Fixed call transfer.
Modified:
trunk/ChangeLog
trunk/src/endpoints/sip-endpoint.cpp
Modified: trunk/src/endpoints/sip-endpoint.cpp
==============================================================================
--- trunk/src/endpoints/sip-endpoint.cpp (original)
+++ trunk/src/endpoints/sip-endpoint.cpp Sun Sep 7 14:01:39 2008
@@ -1106,17 +1106,18 @@
manager.dial (uri);
}
+
void Opal::Sip::EndPoint::on_message (std::string uri,
std::string name)
{
dialect->start_chat_with (uri, name);
}
+
void Opal::Sip::EndPoint::on_transfer (std::string uri)
{
- PStringList connections = GetAllConnections ();
- /* FIXME : we don't handle several connections here */
- PSafePtr<OpalConnection> connection = GetConnectionWithLock (connections[0]);
-
- connection->ForwardCall (uri);
+ /* FIXME : we don't handle several calls here */
+ for (PSafePtr<OpalConnection> connection(connectionsActive, PSafeReference); connection != NULL; ++connection)
+ if (!PIsDescendant(&(*connection), OpalPCSSConnection))
+ connection->TransferConnection (uri);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]