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

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Mon Feb 14 11:24:50 CST 2011


branch "bridge-replication" has been updated
       via  ee7c92594e2176dffcffd1bd0a0d2cd9b60ec034 (commit)
      from  d416f9ab138874980cf332c1dbd5a4e8ec354b62 (commit)

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


- Log -----------------------------------------------------------------
commit ee7c92594e2176dffcffd1bd0a0d2cd9b60ec034
Author: Brent Eagles <beagles at digium.com>
Date:   Mon Feb 14 13:54:15 2011 -0330

    Hookup missing createReplica call in listener.

diff --git a/src/BridgeImpl.cpp b/src/BridgeImpl.cpp
index 9d70895..faa03e9 100644
--- a/src/BridgeImpl.cpp
+++ b/src/BridgeImpl.cpp
@@ -1079,5 +1079,6 @@ AsteriskSCF::BridgeService::BridgeServant::create(const Ice::ObjectAdapterPtr& o
         const Logger& logger,
         const AsteriskSCF::Bridge::V1::BridgeStateItemPtr& state)
 {
+    logger(Debug) << FUNLOG << ": creating replica for " << state->bridgeId;
     return new BridgeImpl(objectAdapter, state->listeners, listenerMgr, replicator, state, logger);
 }
diff --git a/src/BridgeReplicatorStateListenerI.cpp b/src/BridgeReplicatorStateListenerI.cpp
index ed2121c..e1159b7 100644
--- a/src/BridgeReplicatorStateListenerI.cpp
+++ b/src/BridgeReplicatorStateListenerI.cpp
@@ -91,9 +91,7 @@ public:
                 }
                 if (!found)
                 {
-                    //
-                    // XXX- new bridge!
-                    //
+                    mManager->createBridgeReplica(bridgeItem);
                 }
                 continue;
             }

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


-- 
asterisk-scf/integration/bridging.git



More information about the asterisk-scf-commits mailing list