[asterisk-scf-commits] asterisk-scf/integration/routing.git branch "master" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Fri Oct 22 12:50:08 CDT 2010


branch "master" has been updated
       via  e61d37fa1cb9bffa566a2ed9741b4a54eed2e979 (commit)
      from  9a49f7348d2092473fcbea2d5690159d21de0321 (commit)

Summary of changes:
 src/SessionRouter.cpp |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)


- Log -----------------------------------------------------------------
commit e61d37fa1cb9bffa566a2ed9741b4a54eed2e979
Author: Ken Hunt <ken.hunt at digium.com>
Date:   Fri Oct 22 12:48:34 2010 -0500

    Added log output upon entry of any SessionRouter operation.

diff --git a/src/SessionRouter.cpp b/src/SessionRouter.cpp
index fc3a8a6..edd73c5 100644
--- a/src/SessionRouter.cpp
+++ b/src/SessionRouter.cpp
@@ -370,13 +370,15 @@ void SessionRouter::setBridgeManagerAccessor(const BridgeManagerAccessorPtr& bri
 void SessionRouter::routeSession(const AsteriskSCF::SessionCommunications::V1::SessionPrx& source, const std::string& destination, 
   const Ice::Current& current)
 {
+    lg(Debug) << "routeSession() entered with destination " << destination << std::endl;
+
     // Create a listener for the source to handle early termination. 
     // The wrapper we're using will remove the listener and free it when 
     // this method is left. 
     SessionListenerAllocator listener(mImpl->mAdapter, source); 
 
     // Route the destination
-    lg(Debug) << "routeSession(): Routing destination " << destination;
+    lg(Debug) << "routeSession(): Routing destination " << destination << std::endl;
     EndpointSeq endpoints = mImpl->lookupEndpoints(destination, current);
 
     // Add a session
@@ -453,6 +455,8 @@ void SessionRouter::connectBridgedSessionsWithDestination(const SessionPrx& sess
                                                           const ::std::string& destination,
                                                           const Ice::Current& current)
 {
+    lg(Debug) << "connectBridgedSessionsWithDestination() entered with destination " << destination << std::endl;
+
     BridgePrx bridge(0);
 
     size_t count = 0;
@@ -589,6 +593,7 @@ void SessionRouter::connectBridgedSessions(const SessionPrx& sessionToReplace,
                                            const SessionPrx& bridgedSession,
                                            const Ice::Current&)
 {
+    lg(Debug) << "connectBridgedSessions() entered... " << std::endl;
 
     // Get the bridge being merged into.
     BridgePrx mergeBridge(0);

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


-- 
asterisk-scf/integration/routing.git



More information about the asterisk-scf-commits mailing list