diff options
author | martinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-06-17 21:53:18 +0000 |
---|---|---|
committer | martinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-06-17 21:53:18 +0000 |
commit | 69e268f08c55bf1f91ccc92a3ccb05d8aa31143a (patch) | |
tree | b0477c07aa30f6afa03e85b6bdf38a4afc80098a /Makefile | |
parent | 5f8cdb401217596181aabfc7df5d1a7dddf1bd7f (diff) |
Add the new routine for busydetect that you can choose to use in asterisk/Makefile
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1103 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'Makefile')
-rwxr-xr-x | Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -55,6 +55,18 @@ MALLOC_DEBUG = #-include $(PWD)/include/asterisk/astmm.h # Default -> leave empty INSTALL_PREFIX= +# Original busydetect routine +BUSYDETECT = -DBUSYDETECT + +# Improved busydetect routine +BUSYDETECT+= #-DBUSYDETECT_MARTIN +# Detect the busy signal looking only at tone lengths +# For example if you have 3 beeps 100ms tone, 100ms silence separated by 500 ms of silence +BUSYDETECT+= #-DBUSYDETECT_TONEONLY +# Inforce the detection of busy singal (get rid of false hangups) +# Don't use together with -DBUSYDETECT_TONEONLY +BUSYDETECT+= #-DBUSYDETECT_COMPARE_TONE_AND_SILENCE + ASTLIBDIR=$(INSTALL_PREFIX)/usr/lib/asterisk ASTVARLIBDIR=$(INSTALL_PREFIX)/var/lib/asterisk ASTETCDIR=$(INSTALL_PREFIX)/etc/asterisk @@ -101,6 +113,7 @@ CFLAGS+=-DASTAGIDIR=\"$(AGI_DIR)\" CFLAGS+= $(DEBUG_THREADS) CFLAGS+= $(TRACE_FRAMES) CFLAGS+= $(MALLOC_DEBUG) +CFLAGS+= $(BUSYDETECT) CFLAGS+=# -fomit-frame-pointer SUBDIRS=res channels pbx apps codecs formats agi cdr astman ifeq (${OSARCH},Linux) |