[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
Wed Jul 20 14:18:08 CDT 2011


branch "dtmf" has been updated
       via  99491b94b0f6447012d5ae02ebc8ce22cd1a383e (commit)
      from  01adb95b829e38b7e37b48ab93e59dcdf54d80c8 (commit)

Summary of changes:
 .../SessionCommunications/TelephonyEventsIf.ice    |   25 +++++++++++++++++--
 1 files changed, 22 insertions(+), 3 deletions(-)


- Log -----------------------------------------------------------------
commit 99491b94b0f6447012d5ae02ebc8ce22cd1a383e
Author: Mark Michelson <mmichelson at digium.com>
Date:   Wed Jul 20 14:18:25 2011 -0500

    Add documentation and remove an erroneous 'idempotent' directive.

diff --git a/slice/AsteriskSCF/SessionCommunications/TelephonyEventsIf.ice b/slice/AsteriskSCF/SessionCommunications/TelephonyEventsIf.ice
index bed4608..11acb78 100644
--- a/slice/AsteriskSCF/SessionCommunications/TelephonyEventsIf.ice
+++ b/slice/AsteriskSCF/SessionCommunications/TelephonyEventsIf.ice
@@ -28,14 +28,33 @@ module V1
     {
     };
 
+    /**
+     * Indicates the beginning of a DTMF press.
+     */
     unsliceable class BeginDTMFEvent extends TelephonyEvent
     {
-        byte digit;
+        /**
+         * The ASCII value of the DTMF that is being pressed.
+         */
+        byte signal;
     };
 
+    /**
+     * Indicates the end of a DTMF press.
+     *
+     * With certain methods of conveying DTMF, such as SIP INFO,
+     * There will be an EndDTMFEvent with no accompanying
+     * BeginDTMFEvent.
+     */
     unsliceable class EndDTMFEvent extends TelephonyEvent
     {
-        byte digit;
+        /**
+         * The ASCII value of the DTMF that was pressed.
+         */
+        byte signal;
+        /**
+         * The duration of the key press in milliseconds.
+         */
         int duration;
     };
 
@@ -54,7 +73,7 @@ module V1
         /**
          * Add a new sink to send telephony events to
          */
-        ["amd"] idempotent void addSink(TelephonyEventSink* sink);
+        ["amd"] void addSink(TelephonyEventSink* sink);
         /**
          * Get a list of the sinks to which this source sends events
          */

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


-- 
asterisk-scf/integration/slice.git



More information about the asterisk-scf-commits mailing list