[asterisk-scf-commits] asterisk-scf/integration/sip.git branch "transfer" updated.
Commits to the Asterisk SCF project code repositories
asterisk-scf-commits at lists.digium.com
Thu Oct 14 08:55:20 CDT 2010
branch "transfer" has been updated
via 48e54d3c6bdb2767f3fbb02c72094e64bb287aa4 (commit)
from e3295cdaaf584e78619d2784e72bcece305e7c68 (commit)
Summary of changes:
src/SipChannelServiceApp.cpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit 48e54d3c6bdb2767f3fbb02c72094e64bb287aa4
Author: Joshua Colp <jcolp at digium.com>
Date: Thu Oct 14 10:53:01 2010 -0300
Fix initialization order. Acting as a listener the initial state gets pushed in and if this occurs pjsip must already be initialized.
diff --git a/src/SipChannelServiceApp.cpp b/src/SipChannelServiceApp.cpp
index 114a1b1..d5f8e26 100644
--- a/src/SipChannelServiceApp.cpp
+++ b/src/SipChannelServiceApp.cpp
@@ -570,10 +570,11 @@ void SipChannelService::start(const string& name, const Ice::CommunicatorPtr& ic
// Locate the Session Router so we can REALLY do routing.
locateSessionRouter();
+ registerPJSipModules(mPJSipManager->getEndpoint());
+
// Locate the State Replicator so we can fail over!
locateStateReplicator();
- registerPJSipModules(mPJSipManager->getEndpoint());
// Register our Endpoint Locator so that we can provide endpoints to the
// Routing Service for the endpoints we manage.
registerWithRoutingService();
-----------------------------------------------------------------------
--
asterisk-scf/integration/sip.git
More information about the asterisk-scf-commits
mailing list