2 ; Zapata telephony interface
16 ; Switchtype: Only used for PRI.
18 ; national: National ISDN 2 (default)
19 ; dms100: Nortel DMS100
23 ; ni1: Old National ISDN 1
27 ; PRI Dialplan: Only RARELY used for PRI.
30 ; private: Private ISDN
32 ; national: National ISDN
33 ; international: International ISDN
37 ; Overlap dialing mode (sending overlap digits)
41 ; Signalling method (default is fxs). Valid values:
44 ; featd: Feature Group D (The fake, Adtran style, DTMF)
45 ; featdmf: Feature Group D (The real thing, MF (domestic, US))
46 ; featb: Feature Group B (MF (domestic, US))
47 ; fxs_ls: FXS (Loop Start)
48 ; fxs_gs: FXS (Ground Start)
49 ; fxs_ks: FXS (Kewl Start)
50 ; fxo_ls: FXO (Loop Start)
51 ; fxo_gs: FXO (Ground Start)
52 ; fxo_ks: FXO (Kewl Start)
53 ; pri_cpe: PRI signalling, CPE side
54 ; pri_net: PRI signalling, Network side
55 ; sf: SF (Inband Tone) Signalling
57 ; sf_featd: SF Feature Group D (The fake, Adtran style, DTMF)
58 ; sf_featdmf: SF Feature Group D (The real thing, MF (domestic, US))
59 ; sf_featb: SF Feature Group B (MF (domestic, US))
60 ; The following are used for Radio interfaces:
61 ; fxs_rx: Receive audio/COR on an FXS kewlstart interface (FXO at the channel bank)
62 ; fxs_tx: Transmit audio/PTT on an FXS loopstart interface (FXO at the channel bank)
63 ; fxo_rx: Receive audio/COR on an FXO loopstart interface (FXS at the channel bank)
64 ; fxo_tx: Transmit audio/PTT on an FXO groundstart interface (FXS at the channel bank)
65 ; em_rx: Receive audio/COR on an E&M interface (1-way)
66 ; em_tx: Transmit audio/PTT on an E&M interface (1-way)
67 ; em_txrx: Receive audio/COR AND Transmit audio/PTT on an E&M interface (2-way)
68 ; em_rxtx: same as em_txrx (for our dyslexic friends)
69 ; sf_rx: Receive audio/COR on an SF interface (1-way)
70 ; sf_tx: Transmit audio/PTT on an SF interface (1-way)
71 ; sf_txrx: Receive audio/COR AND Transmit audio/PTT on an SF interface (2-way)
72 ; sf_rxtx: same as sf_txrx (for our dyslexic friends)
76 ; A variety of timing parameters can be specified as well
78 ; prewink: Pre-wink time (default 50ms)
79 ; preflash: Pre-flash time (default 50ms)
80 ; wink: Wink time (default 150ms)
81 ; flash: Flash time (default 750ms)
82 ; start: Start time (default 1500ms)
83 ; rxwink: Receiver wink time (default 300ms)
84 ; rxflash: Receiver flashtime (default 1250ms)
85 ; debounce: Debounce timing (default 600ms)
87 rxwink=300 ; Atlas seems to use long (250ms) winks
89 ; Whether or not to do distinctive ring detection on FXO lines
91 ;usedistinctiveringdetection=yes
94 ; Whether or not to use caller ID
98 ; Whether or not to hide outgoing caller ID (Override with *67 or *82)
102 ; Whether or not to enable call waiting on FXO lines
106 ; Whether or not restrict outgoing caller ID (will be sent as ANI only, not available for the user)
107 ; Mostly use with FXS ports
111 ; Whether or not use the caller ID presentation for the outgoing call that the calling switch is sending
115 ; Support Caller*ID on Call Waiting
117 callwaitingcallerid=yes
119 ; Support three-way calling
123 ; Support flash-hook call transfer (requires three way calling)
127 ; Support call forward variable
131 ; Whether or not to support Call Return (*69)
135 ; Stutter dialtone support: If a mailbox is specified, then when voicemail
136 ; is received in that mailbox, taking the phone off hook will cause
137 ; a stutter dialtone instead of a normal one
141 ; Enable echo cancellation
142 ; Use either "yes", "no", or a power of two from 32 to 256 if you wish
143 ; to actually set the number of taps of cancellation.
147 ; Generally, it is not necessary (and in fact undesirable) to echo cancel
148 ; when the circuit path is entirely TDM. You may, however, reverse this
149 ; behavior by enabling the echo cancel during pure TDM bridging below.
151 echocancelwhenbridged=yes
153 ; In some cases, the echo canceller doesn't train quickly enough and there
154 ; is echo at the beginning of the call. Enabling echo training will cause
155 ; asterisk to briefly mute the channel, send an impulse, and use the impulse
156 ; response to pre-train the echo canceller so it can start out with a much
157 ; closer idea of the actual echo.
161 ; If you are having trouble with DTMF detection, you can relax the
162 ; DTMF detection parameters. Relaxing them may make the DTMF detector
163 ; more likely to have "talkoff" where DTMF is detected when it
168 ; You may also set the default receive and transmit gains (in dB)
173 ; Logical groups can be assigned to allow outgoing rollover. Groups
174 ; range from 0 to 31, and multiple groups can be specified.
178 ; Ring groups (a.k.a. call groups) and pickup groups. If a phone is ringing
179 ; and it is a member of a group which is one of your pickup groups, then
180 ; you can answer it by picking up and dialing *8#. For simple offices, just
181 ; make these both the same
187 ; Specify whether the channel should be answered immediately or
188 ; if the simple switch should provide dialtone, read digits, etc.
192 ; CallerID can be set to "asreceived" or a specific number
193 ; if you want to override it. Note that "asreceived" only
194 ; applies to trunk interfaces.
198 ; AMA flags affects the recording of Call Detail Records. If specified
199 ; it may be 'default', 'omit', 'billing', or 'documentation'.
203 ; Channels may be associated with an account code to ease
208 ; ADSI (Analog Display Services Interface) can be enabled on a per-channel
209 ; basis if you have (or may have) ADSI compatible CPE equipment
213 ; On trunk interfaces (FXS) and E&M interfaces (E&M, Wink, Feature Group D
214 ; etc, it can be useful to perform busy detection either in an effort to
215 ; detect hangup or for detecting busies
219 ; If busydetect is enabled, is also possible to specify how many
220 ; busy tones to wait before hanging up. The default is 4, but
221 ; better results can be achieved if set to 6 or even 8. Mind that
222 ; higher the number, more time is needed to hangup a channel, but
223 ; lower is probability to get random hangups
227 ; On trunk interfaces (FXS) it can be useful to attempt to follow the progress
228 ; of a call through RINGING, BUSY, and ANSWERING. If turned on, call
229 ; progress attempts to determine answer, busy, and ringing on phone lines.
230 ; This feature is HIGHLY EXPERIMENTAL and can easily detect false answers,
231 ; so don't count on it being very accurate. Also, it is ONLY configured for
232 ; standard U.S. tones. This feature can also easily detect false hangups.
233 ; The symptoms of this is being disconnected in the middle of a call for no
238 ; Select which class of music to use for music on hold. If not specified
239 ; then the default will be used.
243 ; PRI channels can have an idle extension and a minunused number. So long
244 ; as at least "minunused" channels are idle, chan_zap will try to call
245 ; "idledial" on them, and then dump them into the PBX in the "idleext"
246 ; extension (which is of the form exten@context). When channels are needed
247 ; the "idle" calls are disconnected (so long as there are at least "minidle"
248 ; calls still running, of course) to make more channels available. The
249 ; primary use of this is to create a dynamic service, where idle channels
250 ; are bundled through multilink PPP, thus more efficiently utilizing
251 ; combined voice/data services than conventional fixed mappings/muxings.
254 ;idleext=6999@dialout
258 ; Configure jitter buffers in zapata (each one is 20ms, default is 4)
262 ; You can define your own custom ring cadences here. You can define up to
263 ; 8 pairs. If the silence is negative, it indicates where the callerid
264 ; spill is to be placed. Also, if you define any custom cadences, the
265 ; default cadences will be turned off.
267 ; Syntax is: cadence=ring,silence[,ring,silence[...]]
269 ; These are the default cadences:
271 ;cadence=125,125,2000,-4000
272 ;cadence=250,250,500,1000,250,250,500,-4000
273 ;cadence=125,125,125,125,125,-4000
274 ;cadence=1000,500,2500,-5000
276 ; Each channel consists of the channel number or range. It
277 ; inherits the parameters that were specified above its declaration
279 ;callerid="Green Phone"<(256) 428-6121>
281 ;callerid="Black Phone"<(256) 428-6122>
283 ;callerid="CallerID Phone" <(256) 428-6123>
284 ;callerid="CallerID Phone" <(630) 372-1564>
285 ;callerid="CallerID Phone" <(256) 704-4666>
287 ;callerid="Pac Tel Phone" <(256) 428-6124>
289 ;callerid="Uniden Dead" <(256) 428-6125>
291 ;callerid="Cortelco 2500" <(256) 428-6126>
293 ;callerid="Main TA 750" <(256) 428-6127>
296 ; For example, maybe we have some other channels
297 ; which start out in a different context and use
298 ; E & M signalling instead.
307 ; All those in group 0 I'll use for outgoing calls
309 ; Strip most significant digit (9) before sending
319 ;callerid="Joe Schmoe" <(256) 428-6131>
321 ;callerid="Megan May" <(256) 428-6132>
323 ;callerid="Suzy Queue" <(256) 428-6233>
325 ;callerid="Larry Moe" <(256) 428-6234>
328 ; Sample PRI (CPE) config: Specify the switchtype, the signalling as
329 ; either pri_cpe or pri_net for CPE or Network termination, and generally
330 ; you will want to create a single "group" for all channels of the PRI.
332 ; switchtype = national
333 ; signalling = pri_cpe
338 ; Used for distintive ring support for x100p.
339 ; You can see the dringX patterns is to set any one of the dringXcontext fields
340 ; and they will be printed on the console when an inbound call comes in.
343 ;dring1context=internal1
345 ;dring2context=internal2
346 ; If no pattern is matched here is where we go.