[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 Oct 26 12:50:15 CDT 2010


branch "master" has been updated
       via  ca6c12c744e5b56c44de60ce576c84c75e77965a (commit)
      from  71d76ebdbb7c6a5566990cd5f6bffdc46cbbcd80 (commit)

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


- Log -----------------------------------------------------------------
commit ca6c12c744e5b56c44de60ce576c84c75e77965a
Author: Joshua Colp <jcolp at digium.com>
Date:   Tue Oct 26 13:47:29 2010 -0400

    Remove the configured endpoint locator and not 'pjsip'. This could lead to other instances having their endpoint locator removed. THIS COMMIT IS GRANDIOSE!

diff --git a/src/SipSessionManagerApp.cpp b/src/SipSessionManagerApp.cpp
index f915761..d5519f4 100644
--- a/src/SipSessionManagerApp.cpp
+++ b/src/SipSessionManagerApp.cpp
@@ -337,7 +337,7 @@ void SipSessionManager::registerWithRoutingService()
  */
 void SipSessionManager::deregisterFromRoutingService()
 {
-   mRoutingServiceLocatorRegistry->removeEndpointLocator("pjsip");
+   mRoutingServiceLocatorRegistry->removeEndpointLocator(mCommunicator->getProperties()->getPropertyWithDefault("Sip.RoutingId", "pjsip"));
 }
 
 /**

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


-- 
asterisk-scf/integration/sip.git



More information about the asterisk-scf-commits mailing list