Author: sayer
Date: 2010-02-23 16:26:22 +0100 (Tue, 23 Feb 2010)
New Revision: 1629

Modified:
   trunk/core/AmDtmfDetector.h
Log:
fix detection of same digits following each other when using DTMF RTP payload. 
drawback is little bigger reaction time.

Modified: trunk/core/AmDtmfDetector.h
===================================================================
--- trunk/core/AmDtmfDetector.h 2010-02-23 15:24:59 UTC (rev 1628)
+++ trunk/core/AmDtmfDetector.h 2010-02-23 15:26:22 UTC (rev 1629)
@@ -345,7 +345,7 @@
 
   // after MAX_PACKET_WAIT packets with no RTP DTMF packets received, 
   // a RTP DTMF event is sent out to the aggregating detector
-  static const int MAX_PACKET_WAIT = 5;
+  static const int MAX_PACKET_WAIT = 8;
   /**
    * Time when first packet for current event was received
    */
@@ -382,7 +382,7 @@
   public AmKeyPressSink
 {
  private:
-  static const int WAIT_TIMEOUT = 100; // miliseconds
+  static const int WAIT_TIMEOUT = 200; // miliseconds
   /**
    * Session this class belongs to.
    */

_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to