[asterisk-scf-commits] asterisk-scf/integration/bridging.git branch "master" updated.
Commits to the Asterisk SCF project code repositories
asterisk-scf-commits at lists.digium.com
Wed Oct 20 16:49:37 CDT 2010
branch "master" has been updated
via cecc6b5c5c9ec43a534526c6597ff5a5541171e2 (commit)
from 565dd18cda4c686d41172bd494c7ed41b63a9370 (commit)
Summary of changes:
src/BridgeImpl.cpp | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit cecc6b5c5c9ec43a534526c6597ff5a5541171e2
Author: Brent Eagles <beagles at digium.com>
Date: Wed Oct 20 19:18:18 2010 -0230
Adding a try/catch block in addSessions.
diff --git a/src/BridgeImpl.cpp b/src/BridgeImpl.cpp
index c51b0b1..40f2112 100644
--- a/src/BridgeImpl.cpp
+++ b/src/BridgeImpl.cpp
@@ -447,7 +447,15 @@ void AsteriskSCF::BridgeService::BridgeImpl::addSessions(const AsteriskSCF::Sess
continue;
}
- AsteriskSCF::SessionCommunications::V1::SessionInfoPtr info = (*i)->setBridge(mPrx, mSessionListenerPrx);
+ AsteriskSCF::SessionCommunications::V1::SessionInfoPtr info;
+ try
+ {
+ info = (*i)->setBridge(mPrx, mSessionListenerPrx);
+ }
+ catch(const Ice::Exception& ex)
+ {
+ lg(Debug) << __FUNCTION__ << ": " << (*i)->ice_toString() << " threw " << ex.what() << " continuing";
+ }
//
// We need to define these states! Especially the ones that define when start is called or not.
//
-----------------------------------------------------------------------
--
asterisk-scf/integration/bridging.git
More information about the asterisk-scf-commits
mailing list