[asterisk-dev] Has digits.h been removed from dahdi?
    Shaun Ruffell 
    sruffell at digium.com
       
    Thu Jul  3 14:23:20 CDT 2014
    
    
  
On Thu, Jul 03, 2014 at 03:47:14PM +0800, toasterisk at gmail.com wrote:
> Hello:
> after dahdi-2.4, the digits.h looks not under the driver/dahdi package. Does the file remove to
> some files or merge to some file? I need to modify the code in digits.h. Does Anyone know these values
> defined in dahdi-2.6 or above version? 
> -------------------------------------------------------------
> #define DEFAULT_DTMF_LENGTH 100 * DAHDI_DEFAULT_CHUNKSIZE
> #define DEFAULT_MFR1_LENGTH 68 * DAHDI_DEFAULT_CHUNKSIZE
> #define DEFAULT_MFR2_LENGTH 100 * DAHDI_DEFAULT_CHUNKSIZE
> #define PAUSE_LENGTH 500 * DAHDI_DEFAULT_CHUNKSIZE    
> ---------------------------------------------------------------
> thanks!
> 
> 
> Cheers!
Hi, these are defined in include/dahdi/dahdi_config.h now.  They are
now expressed in milliseconds and not multiples of the default chunk
size.
http://git.asterisk.org/gitweb/?p=dahdi/linux.git;a=commit;h=a45f8533955
-- 
Shaun Ruffell
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: www.digium.com & www.asterisk.org
    
    
More information about the asterisk-dev
mailing list