[asterisk-scf-commits] asterisk-scf/release/media_rtp_pjmedia.git branch "master" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Thu May 26 11:59:27 CDT 2011


branch "master" has been updated
       via  572d9688bb23319a2ef23030dbd4f60b9c6acefd (commit)
      from  9ebdc19da47c48de3c9ae080431dec36817c29b7 (commit)

Summary of changes:
 src/MediaRTPpjmedia.cpp |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)


- Log -----------------------------------------------------------------
commit 572d9688bb23319a2ef23030dbd4f60b9c6acefd
Author: Joshua Colp <jcolp at digium.com>
Date:   Thu May 26 13:55:42 2011 -0300

    Use a UUID for the configuration service so that IceStorm does not consider it already subscribed when other instances subscribe.

diff --git a/src/MediaRTPpjmedia.cpp b/src/MediaRTPpjmedia.cpp
index b11f220..a76217b 100644
--- a/src/MediaRTPpjmedia.cpp
+++ b/src/MediaRTPpjmedia.cpp
@@ -57,7 +57,6 @@ Logger lg = getLoggerFactory().getLogger("AsteriskSCF.MediaRTP");
 static const string ReplicaServiceId("MediaRtpReplica");
 static const string MediaServiceId("RTPMediaService");
 static const string MediaComparatorServiceId("RTPMediaServiceComparator");
-static const string ConfigurationServiceId("RTPConfigurationService");
 
 /**
  * Implementation of the RTPMediaService interface as defined in MediaRTPIf.ice
@@ -485,7 +484,7 @@ void MediaRTPpjmediaApp::start(const std::string&, const Ice::CommunicatorPtr& c
 
     mConfigurationService = new ConfigurationServiceImpl();
     ConfigurationServicePrx mConfigurationServiceProxy = ConfigurationServicePrx::uncheckedCast(
-	mLocalAdapter->add(mConfigurationService, mCommunicator->stringToIdentity(ConfigurationServiceId)));
+	mLocalAdapter->addWithUUID(mConfigurationService));
 
     mLocalAdapter->activate();
 

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


-- 
asterisk-scf/release/media_rtp_pjmedia.git



More information about the asterisk-scf-commits mailing list