[asterisk-scf-commits] asterisk-scf/integration/bridging.git branch "partyidhook" updated.
Commits to the Asterisk SCF project code repositories
asterisk-scf-commits at lists.digium.com
Fri Sep 30 09:10:42 CDT 2011
branch "partyidhook" has been updated
via 670639fe0d986a14672040b4f0af4b5ca12783ad (commit)
from 5f0e961420cdb81b49a3983c401165fba17ebf3c (commit)
Summary of changes:
src/BridgePartyIdExtensionPoint.cpp | 13 ++++++++-----
1 files changed, 8 insertions(+), 5 deletions(-)
- Log -----------------------------------------------------------------
commit 670639fe0d986a14672040b4f0af4b5ca12783ad
Author: Ken Hunt <ken.hunt at digium.com>
Date: Fri Sep 30 09:09:29 2011 -0500
Constructor wasn't fully initializing the extension point class.
diff --git a/src/BridgePartyIdExtensionPoint.cpp b/src/BridgePartyIdExtensionPoint.cpp
index 3ccd6e7..60aa335 100644
--- a/src/BridgePartyIdExtensionPoint.cpp
+++ b/src/BridgePartyIdExtensionPoint.cpp
@@ -27,6 +27,7 @@ using namespace AsteriskSCF::SessionCommunications::V1;
using namespace AsteriskSCF::SessionCommunications::ExtensionPoints::V1;
using namespace AsteriskSCF::BridgeService;
using namespace AsteriskSCF::Replication::BridgeService::V1;
+using namespace AsteriskSCF::Collections;
namespace
{
@@ -65,9 +66,9 @@ public:
virtual void replaceHooks(const AsteriskSCF::Replication::BridgeService::V1::PartyIdHooksPtr& hooks);
private:
- AsteriskSCF::Collections::ProxySet<ReceivedConnectedLinePartyIdHookPrx>::SetPtr mReceiveConnectedLineHooks;
- AsteriskSCF::Collections::ProxySet<ForwardingConnectedLinePartyIdHookPrx>::SetPtr mForwardingConnectedLineHooks;
- AsteriskSCF::Collections::ProxySet<ForwardingRedirectionsPartyIdHookPrx>::SetPtr mForwardingRedirectionsHooks;
+ ProxySet<ReceivedConnectedLinePartyIdHookPrx>::SetPtr mReceiveConnectedLineHooks;
+ ProxySet<ForwardingConnectedLinePartyIdHookPrx>::SetPtr mForwardingConnectedLineHooks;
+ ProxySet<ForwardingRedirectionsPartyIdHookPrx>::SetPtr mForwardingRedirectionsHooks;
Logger mLogger;
};
@@ -77,8 +78,10 @@ private:
BridgePartyIdExtensionPointImpl::BridgePartyIdExtensionPointImpl(
const Ice::ObjectAdapterPtr& adapter,
const AsteriskSCF::System::Logging::Logger& logger)
- : mLogger(logger)
-
+ : mLogger(logger),
+ mReceiveConnectedLineHooks(new ProxySet<ReceivedConnectedLinePartyIdHookPrx>(adapter, logger, "ReceiveConnectedLineHooks")),
+ mForwardingConnectedLineHooks(new ProxySet<ForwardingConnectedLinePartyIdHookPrx>(adapter, logger, "ForwardingConnectedLineHooks")),
+ mForwardingRedirectionsHooks(new ProxySet<ForwardingRedirectionsPartyIdHookPrx>(adapter, logger, "ForwardingRedirectionHooks"))
{
}
-----------------------------------------------------------------------
--
asterisk-scf/integration/bridging.git
More information about the asterisk-scf-commits
mailing list