[asterisk-scf-commits] asterisk-scf/integration/sip.git branch "master" updated.
Commits to the Asterisk SCF project code repositories
asterisk-scf-commits at lists.digium.com
Tue Aug 24 09:40:03 CDT 2010
branch "master" has been updated
via 2b50818d7a9acdb374ed5f37bc1f7e8fd0027531 (commit)
from 11318dcd0ee197f7062f1495de173de1f52a19c6 (commit)
Summary of changes:
slice | 2 +-
src/SipChannelServiceApp.cpp | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit 2b50818d7a9acdb374ed5f37bc1f7e8fd0027531
Author: Joshua Colp <jcolp at digium.com>
Date: Tue Aug 24 11:54:59 2010 -0300
Use the slice defined service locator category to get a proxy to the bridge factory.
diff --git a/slice b/slice
index e88ddfb..5d80463 160000
--- a/slice
+++ b/slice
@@ -1 +1 @@
-Subproject commit e88ddfb27c75ef7e4315a598c9c2749052cc0f5b
+Subproject commit 5d804630eb1081d200e1408644b6af22a8a751f3
diff --git a/src/SipChannelServiceApp.cpp b/src/SipChannelServiceApp.cpp
index 504987b..2950ba9 100644
--- a/src/SipChannelServiceApp.cpp
+++ b/src/SipChannelServiceApp.cpp
@@ -330,8 +330,11 @@ void SipChannelServiceApp::locateBridgeService()
mServiceLocator = ServiceLocatorPrx::checkedCast(communicator()->propertyToProxy("LocatorService.Proxy"));
}
- // Should work like Routing, above. The Bridging slice must have a public DiscoveryCategory string definition.
+ ServiceLocatorParamsPtr genericparams = new ServiceLocatorParams();
+ genericparams->category = Hydra::Core::Bridging::V1::BridgeServiceDiscoveryCategory;
+ Ice::ObjectPrx objectPrx = mServiceLocator->locate(genericparams);
+ mDataModelInstance.mBridgeFactory = Hydra::Core::Bridging::V1::BridgeFactoryPrx::checkedCast(objectPrx);
}
/**
-----------------------------------------------------------------------
--
asterisk-scf/integration/sip.git
More information about the asterisk-scf-commits
mailing list