[asterisk-scf-commits] asterisk-scf/integration/slice.git branch "master" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Fri Sep 10 10:10:21 CDT 2010


branch "master" has been updated
       via  200c642ce49b3daabeabe2d8ad105bfa980fec02 (commit)
      from  9a3717c8245d08d2d3c6097d18d1eee7506b699c (commit)

Summary of changes:
 SessionCommunications/SessionCommunicationsIf.ice |   28 ++++++++++++++++++++-
 1 files changed, 27 insertions(+), 1 deletions(-)


- Log -----------------------------------------------------------------
commit 200c642ce49b3daabeabe2d8ad105bfa980fec02
Author: Ken Hunt <ken.hunt at digium.com>
Date:   Fri Sep 10 10:08:28 2010 -0500

    Added exceptions for routeSession(...) operation of the SessionRouter
    interface.

diff --git a/SessionCommunications/SessionCommunicationsIf.ice b/SessionCommunications/SessionCommunicationsIf.ice
index 0117f77..fd0c6e0 100644
--- a/SessionCommunications/SessionCommunicationsIf.ice
+++ b/SessionCommunications/SessionCommunicationsIf.ice
@@ -9,6 +9,7 @@
 #pragma once 
 
 #include <Core/Endpoint/EndpointIf.ice>
+#include <Core/Routing/RoutingIf.ice>
 #include <System/Component/ComponentServiceIf.ice>
 #include <System/Time/TimeIf.ice>
 #include <Media/MediaIf.ice>
@@ -277,6 +278,28 @@ module V1
 
     sequence <Session*> SessionSeq;
 
+
+    exception EndpointUnreachableException 
+    {
+       string destination; 
+    };
+
+    exception SessionCreationException 
+    {
+       string destination; 
+    };
+
+    exception SourceTerminatedPreBridgingException
+    {
+       string sourceEndpointId;
+    };
+
+    exception BridgingException 
+    {
+       string sourceEndpointId;
+       string destination; 
+    };
+
     /**
      * Instances of SessionRouter attempt to establish communications 
      * between a initiating session and a destination, where the destination
@@ -301,7 +324,10 @@ module V1
          * 
          * @param destination The identifier for the destination.
          */
-        void routeSession(Session* source, string destination);
+        void routeSession(Session* source, string destination)
+              throws AsteriskSCF::Core::Routing::V1::DestinationNotFoundException,
+                     EndpointUnreachableException, SessionCreationException, 
+                     SourceTerminatedPreBridgingException, BridgingException ;
     };
 
     /**

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


-- 
asterisk-scf/integration/slice.git



More information about the asterisk-scf-commits mailing list