[ekiga] OPAL: Fixed call waiting support.
- From: Damien Sandras <dsandras src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga] OPAL: Fixed call waiting support.
- Date: Sun, 20 Jan 2013 17:05:20 +0000 (UTC)
commit da3e391b2eeddc53621af36ce9f709df7f76bd35
Author: Damien Sandras <dsandras beip be>
Date: Sun Jan 20 17:09:15 2013 +0100
OPAL: Fixed call waiting support.
lib/engine/components/opal/h323-endpoint.cpp | 2 +-
lib/engine/components/opal/sip-endpoint.cpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/lib/engine/components/opal/h323-endpoint.cpp b/lib/engine/components/opal/h323-endpoint.cpp
index 8344790..b5028ed 100644
--- a/lib/engine/components/opal/h323-endpoint.cpp
+++ b/lib/engine/components/opal/h323-endpoint.cpp
@@ -438,7 +438,7 @@ Opal::H323::EndPoint::OnIncomingConnection (OpalConnection & connection,
return false;
for (PSafePtr<OpalConnection> conn(connectionsActive, PSafeReference); conn != NULL; ++conn) {
- if (!conn->IsReleased ())
+ if (conn->GetCall().GetToken() != connection.GetCall().GetToken() && !conn->IsReleased ())
busy = true;
}
diff --git a/lib/engine/components/opal/sip-endpoint.cpp b/lib/engine/components/opal/sip-endpoint.cpp
index 56ceeca..b0ae810 100644
--- a/lib/engine/components/opal/sip-endpoint.cpp
+++ b/lib/engine/components/opal/sip-endpoint.cpp
@@ -836,7 +836,7 @@ Opal::Sip::EndPoint::OnIncomingConnection (OpalConnection &connection,
return false;
for (PSafePtr<OpalConnection> conn(connectionsActive, PSafeReference); conn != NULL; ++conn) {
- if (!conn->IsReleased ())
+ if (conn->GetCall().GetToken() != connection.GetCall().GetToken() && !conn->IsReleased ())
busy = true;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]