Debian Codegraph @

include/dahdi/dahdi_config.h

raw symbols SCIP
1 /*
2 * DAHDI configuration options
3 *
4 */
5
6 /*
7 * See http://www.asterisk.org for more information about
8 * the Asterisk project. Please do not directly contact
9 * any of the maintainers of this project for assistance;
10 * the project provides a web site, mailing lists and IRC
11 * channels for your use.
12 *
13 * This program is free software, distributed under the terms of
14 * the GNU General Public License Version 2 as published by the
15 * Free Software Foundation. See the LICENSE file included with
16 * this program for more details.
17 */
18
19 #ifndef _DAHDI_CONFIG_H
20 #define _DAHDI_CONFIG_H
21
22 #ifdef __KERNEL__
23 #include <linux/version.h>
24 #endif
25
26 /* DAHDI compile time options */
27
28 /* These default tone lengths are in units of milliseconds. */
29 #define DAHDI_CONFIG_DEFAULT_DTMF_LENGTH 100
30 #define DAHDI_CONFIG_DEFAULT_MFR1_LENGTH 68
31 #define DAHDI_CONFIG_DEFAULT_MFR2_LENGTH 100
32 #define DAHDI_CONFIG_PAUSE_LENGTH 500
33
34 /*
35 * Uncomment if you have a European phone, or any other phone with a
36 * short flash time.
37 * This will stop the flash being mis-detected as a pulse dial "1" on
38 * phones with short flashes
39 */
40 /* #define SHORT_FLASH_TIME */
41
42 /*
43 * Uncomment to disable calibration tests
44 * (not generally recommended)
45 */
46 /* #define NO_CALIBRATION */
47
48 /*
49 * Boost ring voltage (Higher ring voltage, takes more power)
50 * Note: this only affects the wcfxsusb and wcusb drivers; all other
51 * drivers have a 'boostringer' module parameter.
52 */
53 /* #define BOOST_RINGER */
54
55 /*
56 * Define CONFIG_CALC_XLAW if you have a small number of channels and/or
57 * a small level 2 cache, to optimize for few channels
58 *
59 */
60 /* #define CONFIG_CALC_XLAW */
61
62 /*
63 * Define if you want MMX optimizations in DAHDI
64 *
65 * Note: CONFIG_DAHDI_MMX is generally incompatible with AMD
66 * processors and can cause system instability!
67 *
68 */
69 /* #define CONFIG_DAHDI_MMX */
70
71 /* We now use the linux kernel config to detect which options to use */
72 /* You can still override them below */
73 #if defined(CONFIG_HDLC) || defined(CONFIG_HDLC_MODULE)
74 #define DAHDI_HDLC_TYPE_TRANS
75 #define HDLC_MAINTAINERS_ARE_MORE_STUPID_THAN_I_THOUGHT
76 #endif
77
78 /*
79 * Uncomment CONFIG_DAHDI_NET to enable SyncPPP, CiscoHDLC, and Frame Relay
80 * support.
81 */
82 #define CONFIG_DAHDI_NET
83 #define CONFIG_DAHDI_PPP
84
85 /*
86 * Uncomment for Generic PPP support (i.e. DAHDIRAS)
87 */
88
89 #if defined(CONFIG_PPP) || defined(CONFIG_PPP_MODULE)
90 /* #define CONFIG_DAHDI_PPP */
91 #endif
92
93 /*
94 * Uncomment to enable "watchdog" to monitor if interfaces
95 * stop taking interrupts or otherwise misbehave
96 */
97 /* #define CONFIG_DAHDI_WATCHDOG */
98
99 /*
100 * Uncomment the following to include extra debugging output.
101 */
102 /* #define CONFIG_DAHDI_DEBUG */
103
104 /*
105 * Uncomment for Non-standard FXS groundstart start state (A=Low, B=Low)
106 * particularly for CAC channel bank groundstart FXO ports.
107 */
108 /* #define CONFIG_CAC_GROUNDSTART */
109
110 /*
111 * Define CONFIG_DAHDI_CORE_TIMER if you would like dahdi to always provide a
112 * timing source regardless of which spans / drivers are configured.
113 */
114 #define CONFIG_DAHDI_CORE_TIMER
115
116 /*
117 * Define CONFIG_DAHDI_NO_ECHOCAN_DISABLE to prevent the 2100Hz tone detector
118 * from disabling any installed software echocan.
119 *
120 */
121 /* #define CONFIG_DAHDI_NO_ECHOCAN_DISABLE */
122
123 /*
124 * Define if you would like to allow software echocans to process the tx audio
125 * in addition to the rx audio. Used for things like DC removal.
126 *
127 */
128 /* #define CONFIG_DAHDI_ECHOCAN_PROCESS_TX */
129
130 /*
131 * Uncomment if you happen have an early TDM400P Rev H which
132 * sometimes forgets its PCI ID to have wcfxs match essentially all
133 * subvendor ID's
134 */
135 /* #define TDM_REVH_MATCHALL */
136
137 /*
138 * Uncomment the following if you want to support E&M trunks being
139 * able to "flash" after going off-hook (dont ask why, just nod :-) ).
140 *
141 * NOTE: *DO NOT* Enable "EMFLASH" and "EMPULSE" at the same time!!
142 *
143 */
144 /* #define EMFLASH */
145
146 /*
147 * Uncomment the following if you want to support E&M trunks being
148 * able to recognize Dial Pulse digits. This can validly be enabled
149 * so that either Dial Pulse or DTMF/MF tones will be recognized, but
150 * the drawback is that the ONHOOK will take an extra {rxwinktime}
151 * to be recognized.
152 *
153 * NOTE: *DO NOT* Enable "EMFLASH" and "EMPULSE" at the same time!!
154 *
155 */
156 /* #define EMPULSE */
157
158 /*
159 * Comment out the following if you dont want events to indicate the
160 * beginning of an incoming ring. Most non-Asterisk applications will
161 * want this commented out.
162 */
163 #define RINGBEGIN
164
165 /*
166 * Uncomment the following if you need to support FXS Flash events.
167 * Most applications will want this commented out.
168 */
169 /* #define FXSFLASH */
170
171 /*
172 * Enable sync_tick() calls. Allows low-level drivers to synchronize
173 * their internal clocks to the DAHDI master clock.
174 */
175 #define DAHDI_SYNC_TICK
176
177 /*
178 * Skip processing PCM if low-level driver won't use it anyway
179 */
180 /* #define OPTIMIZE_CHANMUTE */
181
182
183 /*
184 * Pass DAHDI_AUDIOMODE to channel driver as well
185 */
186 /* #define DAHDI_AUDIO_NOTIFY */
187
188 /*
189 * Creates an interface for mirroring the raw channel data out to a pseudo-chan
190 */
191 #define CONFIG_DAHDI_MIRROR
192
193 /*
194 * Adds support for conference links. There are some non-Asterisk users of this
195 * functionality.
196 */
197 /* #define CONFIG_DAHDI_CONFLINK */
198
199 #define CONFIG_DAHDI_DYNAMIC
200 #define CONFIG_DAHDI_DYNAMIC_LOC
201
202 #endif