[asterisk-scf-commits] asterisk-scf/integration/slice.git branch "dtmf" created.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Fri Jul 8 09:32:35 CDT 2011


branch "dtmf" has been created
        at  25ea611953b99f851219aef1e9a5d007ee6eb904 (commit)

- Log -----------------------------------------------------------------
commit 25ea611953b99f851219aef1e9a5d007ee6eb904
Author: Mark Michelson <mmichelson at digium.com>
Date:   Fri Jul 8 09:32:21 2011 -0500

    Change case of DTMF classes.

diff --git a/slice/AsteriskSCF/SessionCommunications/SessionCommunicationsIf.ice b/slice/AsteriskSCF/SessionCommunications/SessionCommunicationsIf.ice
index c1731ea..998cc3c 100644
--- a/slice/AsteriskSCF/SessionCommunications/SessionCommunicationsIf.ice
+++ b/slice/AsteriskSCF/SessionCommunications/SessionCommunicationsIf.ice
@@ -207,7 +207,7 @@ module V1
     /**
      * Command to indicate the beginning of a DTMF digit
      */
-    unsliceable class beginDTMF extends TelephonyIndication
+    unsliceable class BeginDTMF extends TelephonyIndication
     {
         byte digit;
     };
@@ -215,7 +215,7 @@ module V1
     /**
      * Command to indicate the end of a DTMF digit
      */
-    unsliceable class endDTMF extends TelephonyIndication
+    unsliceable class EndDTMF extends TelephonyIndication
     {
         byte digit;
         int duration;

commit 0726637cb65cd31baee1ab589eafb8798987f5b3
Author: Mark Michelson <mmichelson at digium.com>
Date:   Thu Jul 7 09:22:14 2011 -0500

    There's no need for all these DTMF classes.
    
    Basically, you can tell whether DTMF has been detected or whether
    it is being commanded to be indicated without the need for the
    different classes.

diff --git a/slice/AsteriskSCF/SessionCommunications/SessionCommunicationsIf.ice b/slice/AsteriskSCF/SessionCommunications/SessionCommunicationsIf.ice
index 2f855d3..c1731ea 100644
--- a/slice/AsteriskSCF/SessionCommunications/SessionCommunicationsIf.ice
+++ b/slice/AsteriskSCF/SessionCommunications/SessionCommunicationsIf.ice
@@ -203,24 +203,7 @@ module V1
      * case we only send an end indication that has the "duration"
      * specified within.
      */
-    
-    /**
-     * Indication that a DTMF digit has begun
-     */
-    unsliceable class DTMFBegun extends TelephonyIndication
-    {
-        byte digit;
-    };
-
-    /**
-     * Indication that a DTMF digit has ended
-     */
-    unsliceable class DTMFEnded extends TelephonyIndication
-    {
-        byte digit;
-        int duration;
-    };
-
+   
     /**
      * Command to indicate the beginning of a DTMF digit
      */

commit 77eb1663d727f545cf5bac36ba8442df72bfd617
Author: Mark Michelson <mmichelson at digium.com>
Date:   Wed Jul 6 16:42:56 2011 -0500

    Add DTMF indication classes.

diff --git a/slice/AsteriskSCF/SessionCommunications/SessionCommunicationsIf.ice b/slice/AsteriskSCF/SessionCommunications/SessionCommunicationsIf.ice
index 7edc171..2f855d3 100644
--- a/slice/AsteriskSCF/SessionCommunications/SessionCommunicationsIf.ice
+++ b/slice/AsteriskSCF/SessionCommunications/SessionCommunicationsIf.ice
@@ -195,6 +195,50 @@ module V1
     };
 
     /**
+     * About DTMF
+     * DTMF can be transmitted in multiple ways. The most common way
+     * is to detect that DTMF has begun and that it has ended. However,
+     * there are such cases where we get a single notification that
+     * DTMF was received, and how long the DTMF press was. In such a
+     * case we only send an end indication that has the "duration"
+     * specified within.
+     */
+    
+    /**
+     * Indication that a DTMF digit has begun
+     */
+    unsliceable class DTMFBegun extends TelephonyIndication
+    {
+        byte digit;
+    };
+
+    /**
+     * Indication that a DTMF digit has ended
+     */
+    unsliceable class DTMFEnded extends TelephonyIndication
+    {
+        byte digit;
+        int duration;
+    };
+
+    /**
+     * Command to indicate the beginning of a DTMF digit
+     */
+    unsliceable class beginDTMF extends TelephonyIndication
+    {
+        byte digit;
+    };
+
+    /**
+     * Command to indicate the end of a DTMF digit
+     */
+    unsliceable class endDTMF extends TelephonyIndication
+    {
+        byte digit;
+        int duration;
+    };
+
+    /**
      * A sequence of cookies, allowing for a variable number of them
      * to be passed in a single operation or event.
      *

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


-- 
asterisk-scf/integration/slice.git



More information about the asterisk-scf-commits mailing list