[asterisk-scf-commits] asterisk-scf/integration/bridging.git branch "transfer" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Tue Oct 12 08:10:28 CDT 2010


branch "transfer" has been updated
       via  82462aa0606a562c8e9858b96a343211fb8ea138 (commit)
      from  66de9f491d83a52480a5e723e4d226494af14451 (commit)

Summary of changes:
 src/BridgeImpl.cpp |    2 +-
 src/BridgeImpl.h   |    4 ++++
 2 files changed, 5 insertions(+), 1 deletions(-)


- Log -----------------------------------------------------------------
commit 82462aa0606a562c8e9858b96a343211fb8ea138
Author: Brent Eagles <beagles at digium.com>
Date:   Tue Oct 12 10:39:06 2010 -0230

    Add default constructor to BridgeImpl::BridgeSession and fix typo in
    bridge implementation.

diff --git a/src/BridgeImpl.cpp b/src/BridgeImpl.cpp
index 4302799..cdcbadb 100644
--- a/src/BridgeImpl.cpp
+++ b/src/BridgeImpl.cpp
@@ -483,7 +483,7 @@ void AsteriskSCF::BridgeService::BridgeImpl::replaceSession(const AsteriskSCF::S
     // If the old session wasn't found then we need to add a new one. If we simply insert the new one at the
     // end and update the iterator "i", we minimize the special case code.
     //
-    if(i == mSession.end())
+    if(i == mSessions.end())
     {
         BridgeSession t;
         i = mSessions.insert(i, t);
diff --git a/src/BridgeImpl.h b/src/BridgeImpl.h
index 5c9d327..b8f23df 100644
--- a/src/BridgeImpl.h
+++ b/src/BridgeImpl.h
@@ -28,6 +28,10 @@ namespace BridgeService
             SessionCommunications::V1::SessionPrx session;
             MediaConnectorPtr connector;
 
+            BridgeSession() 
+            {
+            }
+
             BridgeSession(const SessionCommunications::V1::SessionPrx& s, const MediaConnectorPtr& con) :
                 session(s),
                 connector(con)

-----------------------------------------------------------------------


-- 
asterisk-scf/integration/bridging.git



More information about the asterisk-scf-commits mailing list