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

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Mon Apr 25 11:12:08 CDT 2011


branch "route_replica" has been updated
       via  92bc96aee37ea0b6580cdc69a684a9378b04467f (commit)
      from  724ffef296439e5123235c391af6b07d6e079336 (commit)

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


- Log -----------------------------------------------------------------
commit 92bc96aee37ea0b6580cdc69a684a9378b04467f
Author: Ken Hunt <ken.hunt at digium.com>
Date:   Mon Apr 25 11:11:46 2011 -0500

    gcc cleanup.

diff --git a/src/BasicRoutingServiceApp.cpp b/src/BasicRoutingServiceApp.cpp
index 64d8397..59dae3d 100644
--- a/src/BasicRoutingServiceApp.cpp
+++ b/src/BasicRoutingServiceApp.cpp
@@ -80,6 +80,7 @@ public:
           mWorkQueue( new AsteriskSCF::Threading::SimpleWorkQueue("SessionRouterWorkQueue")),
           mListeningToReplicator(false)
     {
+        lg.setLevel(Error);
     }
 
     ~BasicRoutingServiceApp()
diff --git a/src/SessionRouterOperation.h b/src/SessionRouterOperation.h
index 9095423..7bc8212 100644
--- a/src/SessionRouterOperation.h
+++ b/src/SessionRouterOperation.h
@@ -26,6 +26,7 @@
 #include <AsteriskSCF/SessionCommunications/SessionCommunicationsIf.h>
 #include <AsteriskSCF/SmartProxy.h>
 #include <AsteriskSCF/Core/Routing/RoutingIf.h>
+#include <AsteriskSCF/logger.h>
 #include "ReplicationContext.h"
 
 #include "SessionListener.h"
@@ -219,7 +220,7 @@ public:
             // we provide our override of the appropriate AMD callback. 
             // For state machine, note that this means the result will "callback" on the same thread
             // that called this method.
-            AMD_EndpointLocator_lookupPtr lookupCallback;
+            ::AsteriskSCF::Core::Routing::V1::AMD_EndpointLocator_lookupPtr lookupCallback;
 
             lookupCallback = new LookupCallback<T, S>(this);
 
@@ -312,7 +313,7 @@ protected:
  * AMD implementation that other components would use to do a lookup(). 
  */
 template <typename T, typename S>
-class LookupCallback : public AMD_EndpointLocator_lookup
+class LookupCallback : public ::AsteriskSCF::Core::Routing::V1::AMD_EndpointLocator_lookup
 {
 public:
     LookupCallback(SessionRouterOperation<T, S>* operation)

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


-- 
asterisk-scf/integration/routing.git



More information about the asterisk-scf-commits mailing list