[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
Wed Sep 22 17:11:33 CDT 2010


branch "master" has been updated
       via  522497e7b530c166013e621c067e02203d0b6ac8 (commit)
      from  138f40a3d2200000491b715a167e2193b57584c4 (commit)

Summary of changes:
 src/SipStateReplicatorApp.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


- Log -----------------------------------------------------------------
commit 522497e7b530c166013e621c067e02203d0b6ac8
Author: Mark Michelson <mmichelson at digium.com>
Date:   Wed Sep 22 17:10:25 2010 -0500

    It helps to actually create an object adapter before trying to use it.

diff --git a/src/SipStateReplicatorApp.cpp b/src/SipStateReplicatorApp.cpp
index afdfe8f..464d1e1 100644
--- a/src/SipStateReplicatorApp.cpp
+++ b/src/SipStateReplicatorApp.cpp
@@ -170,6 +170,7 @@ void SipStateReplicatorApp::deregisterFromServiceLocator()
 void SipStateReplicatorApp::initialize(const std::string appName)
 {
    mStateReplicator = new SipStateReplicatorI(communicator()->getProperties()->getPropertyWithDefault("SipStateReplicator.Name", "default"));
+   mAdapter = communicator()->createObjectAdapter("SipStateReplicator");
    mAppName = appName;
    // Create and publish our ComponentService interface support.
    mComponentService = new ComponentServiceImpl(*this);

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


-- 
asterisk-scf/integration/sip.git



More information about the asterisk-scf-commits mailing list