[asterisk-scf-commits] asterisk-scf/integration/slice.git branch "dtmf" updated.
Commits to the Asterisk SCF project code repositories
asterisk-scf-commits at lists.digium.com
Fri Jul 8 15:04:12 CDT 2011
branch "dtmf" has been updated
via 1573dccf550be8a44050b60278e53bf76ad3eeb4 (commit)
from 25ea611953b99f851219aef1e9a5d007ee6eb904 (commit)
Summary of changes:
.../SessionCommunicationsIf.ice | 39 ++++++++++++++++++++
1 files changed, 39 insertions(+), 0 deletions(-)
- Log -----------------------------------------------------------------
commit 1573dccf550be8a44050b60278e53bf76ad3eeb4
Author: Mark Michelson <mmichelson at digium.com>
Date: Fri Jul 8 15:02:08 2011 -0500
Initial telephony events/telephony session addition.
diff --git a/slice/AsteriskSCF/SessionCommunications/SessionCommunicationsIf.ice b/slice/AsteriskSCF/SessionCommunications/SessionCommunicationsIf.ice
index 998cc3c..73404c7 100644
--- a/slice/AsteriskSCF/SessionCommunications/SessionCommunicationsIf.ice
+++ b/slice/AsteriskSCF/SessionCommunications/SessionCommunicationsIf.ice
@@ -494,6 +494,45 @@ module V1
["amd"] void removeBridge(SessionListener* listener) throws NotBridged;
};
+ unsliceable class TelephonyEvent
+ {
+ };
+
+ unsliceable class BeginDTMFEvent extends TelephonyEvent
+ {
+ byte digit;
+ };
+
+ unsliceable class EndDTMFEvent extends TelephonyEvent
+ {
+ byte digit;
+ int duration;
+ };
+
+ interface TelephonyEventsSource
+ {
+ idempotent void addSink(TelephonyEventsSink* sink);
+ idempotent TelephonyEventSink* getSinks();
+ };
+
+ interface TelephonyEventsSink
+ {
+ void write(TelephonyEvent event);
+ idempotent void setSource(TelephonyEventsSource* source);
+ idempotent TelephonyEventsSource* getSource();
+ };
+
+ /**
+ * A telephony session is a session that is with a telephone or telephone
+ * network. It has events associated with it that do not occur with other types
+ * of sessions.
+ */
+ interface TelephonySession extends Session
+ {
+ TelephonyEventSourceSeq getSources();
+ TelephonyEventSinkSeq getSinks();
+ };
+
/**
* Exception used to indicate an endpoint is unreachable.
*/
-----------------------------------------------------------------------
--
asterisk-scf/integration/slice.git
More information about the asterisk-scf-commits
mailing list