dsp_process was enhanced to work with alaw and ulaw in addition to slin.
[asterisk/asterisk.git] / include / asterisk / dsp.h
index 78c9a74..f82f08a 100644 (file)
 #define DSP_FEATURE_CALL_PROGRESS      (DSP_PROGRESS_TALK | DSP_PROGRESS_RINGING | DSP_PROGRESS_BUSY | DSP_PROGRESS_CONGESTION)
 #define DSP_FEATURE_WAITDIALTONE       (1 << 20)               /*!< Enable dial tone detection */
 
-#define DSP_FAXMODE_DETECT_CNG (1 << 0)
-#define DSP_FAXMODE_DETECT_CED (1 << 1)
-#define DSP_FAXMODE_DETECT_V21 (1 << 2)
+#define DSP_FAXMODE_DETECT_CNG         (1 << 0)
+#define DSP_FAXMODE_DETECT_CED         (1 << 1)
+#define DSP_FAXMODE_DETECT_V21         (1 << 2)
+#define DSP_FAXMODE_DETECT_SQUELCH     (1 << 3)
 #define DSP_FAXMODE_DETECT_ALL (DSP_FAXMODE_DETECT_CNG | DSP_FAXMODE_DETECT_CED | DSP_FAXMODE_DETECT_V21)
 
 #define DSP_TONE_STATE_SILENCE  0