[asterisk-scf-commits] asterisk-scf/integration/slice.git branch "bridge-replication" created.
Commits to the Asterisk SCF project code repositories
asterisk-scf-commits at lists.digium.com
Thu Mar 3 13:25:25 CST 2011
branch "bridge-replication" has been created
at 4adea5cdd16698c0efe04ec3c071868fdcf0168f (commit)
- Log -----------------------------------------------------------------
commit 4adea5cdd16698c0efe04ec3c071868fdcf0168f
Author: Brent Eagles <beagles at digium.com>
Date: Thu Mar 3 15:53:44 2011 -0330
Add an exception to pass back if the session to be replaced does not exist
on the bridge. This is useful for detected actual errors, or duplicate calls.
diff --git a/AsteriskSCF/SessionCommunications/SessionCommunicationsIf.ice b/AsteriskSCF/SessionCommunications/SessionCommunicationsIf.ice
index 01e9c1b..024a1d3 100644
--- a/AsteriskSCF/SessionCommunications/SessionCommunicationsIf.ice
+++ b/AsteriskSCF/SessionCommunications/SessionCommunicationsIf.ice
@@ -509,6 +509,15 @@ module V1
};
/**
+ * The bridge throws SessionNotFound exception if a specified session is
+ * not currently on the bridge.
+ **/
+ exception SessionNotFound
+ {
+ Session* missingSession;
+ };
+
+ /**
* Forward declaration for the BridgeListener interface.
*/
interface BridgeListener;
@@ -595,9 +604,11 @@ module V1
* be already participating in another bridge.
*
* @throws InvalidSessions if any of the provided sessions are invalid.
+ *
+ * @throws SessionNotFound if the session to be replaced is not on the bridge.
*/
void replaceSession(Session* sessionToReplace, SessionSeq newSessions)
- throws InvalidSessions;
+ throws InvalidSessions, SessionNotFound;
};
/**
-----------------------------------------------------------------------
--
asterisk-scf/integration/slice.git
More information about the asterisk-scf-commits
mailing list