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

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Wed Jul 20 10:16:15 CDT 2011


branch "basecomponent" has been updated
       via  bdd9fcecea3f74f32c58455d588f43bdfb6fc5ac (commit)
      from  1dfec49b2055048058eafee06954c2325a18ae3d (commit)

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


- Log -----------------------------------------------------------------
commit bdd9fcecea3f74f32c58455d588f43bdfb6fc5ac
Author: Ken Hunt <ken.hunt at digium.com>
Date:   Wed Jul 20 10:13:41 2011 -0500

    Using simplified registration wrapper interface.

diff --git a/src/Component.cpp b/src/Component.cpp
index 8295f00..a3bbd51 100644
--- a/src/Component.cpp
+++ b/src/Component.cpp
@@ -150,13 +150,8 @@ void Component::preparePrimaryServicesForDiscovery()
 {
     try
     {
-        std::string serviceName = getCommunicator()->getProperties()->getPropertyWithDefault(
-               getName() + ".Service", "default");
-
         mBridgeManagerRegistration = this->wrapServiceForRegistration(mBridgeManagerPrx,
-                                                                      BridgeManagerDiscoveryCategory,
-                                                                      serviceName,
-                                                                      getName());
+                                                                      BridgeManagerDiscoveryCategory);
         managePrimaryService(mBridgeManagerRegistration);
     }
     catch (const Ice::Exception& e)

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


-- 
asterisk-scf/integration/bridging.git



More information about the asterisk-scf-commits mailing list