2 ; Zapata telephony interface
8 ; Trunk groups are used for NFAS or GR-303 connections.
10 ; Group: Defines a trunk group.
11 ; group => <trunkgroup>,<dchannel>[,<backup1>...]
13 ; trunkgroup is the numerical trunk group to create
14 ; dchannel is the zap channel which will have the
15 ; d-channel for the trunk.
16 ; backup1 is an optional list of backup d-channels.
18 ;trunkgroup => 1,24,48
20 ; Spanmap: Associates a span with a trunk group
21 ; spanmap => <zapspan>,<trunkgroup>[,<logicalspan>]
23 ; zapspan is the zap span number to associate
24 ; trunkgroup is the trunkgroup (specified above) for the mapping
25 ; logicalspan is the logical span number within the trunk group to use.
26 ; if unspecified, no logical span number is used.
43 ; Switchtype: Only used for PRI.
45 ; national: National ISDN 2 (default)
46 ; dms100: Nortel DMS100
50 ; ni1: Old National ISDN 1
54 ; PRI Dialplan: Only RARELY used for PRI.
57 ; private: Private ISDN
59 ; national: National ISDN
60 ; international: International ISDN
64 ; Overlap dialing mode (sending overlap digits)
68 ; Signalling method (default is fxs). Valid values:
71 ; featd: Feature Group D (The fake, Adtran style, DTMF)
72 ; featdmf: Feature Group D (The real thing, MF (domestic, US))
73 ; featb: Feature Group B (MF (domestic, US))
74 ; fxs_ls: FXS (Loop Start)
75 ; fxs_gs: FXS (Ground Start)
76 ; fxs_ks: FXS (Kewl Start)
77 ; fxo_ls: FXO (Loop Start)
78 ; fxo_gs: FXO (Ground Start)
79 ; fxo_ks: FXO (Kewl Start)
80 ; pri_cpe: PRI signalling, CPE side
81 ; pri_net: PRI signalling, Network side
82 ; gr303fxoks_net: GR-303 Signalling, FXO Loopstart, Network side
83 ; sf: SF (Inband Tone) Signalling
85 ; sf_featd: SF Feature Group D (The fake, Adtran style, DTMF)
86 ; sf_featdmf: SF Feature Group D (The real thing, MF (domestic, US))
87 ; sf_featb: SF Feature Group B (MF (domestic, US))
88 ; The following are used for Radio interfaces:
89 ; fxs_rx: Receive audio/COR on an FXS kewlstart interface (FXO at the channel bank)
90 ; fxs_tx: Transmit audio/PTT on an FXS loopstart interface (FXO at the channel bank)
91 ; fxo_rx: Receive audio/COR on an FXO loopstart interface (FXS at the channel bank)
92 ; fxo_tx: Transmit audio/PTT on an FXO groundstart interface (FXS at the channel bank)
93 ; em_rx: Receive audio/COR on an E&M interface (1-way)
94 ; em_tx: Transmit audio/PTT on an E&M interface (1-way)
95 ; em_txrx: Receive audio/COR AND Transmit audio/PTT on an E&M interface (2-way)
96 ; em_rxtx: same as em_txrx (for our dyslexic friends)
97 ; sf_rx: Receive audio/COR on an SF interface (1-way)
98 ; sf_tx: Transmit audio/PTT on an SF interface (1-way)
99 ; sf_txrx: Receive audio/COR AND Transmit audio/PTT on an SF interface (2-way)
100 ; sf_rxtx: same as sf_txrx (for our dyslexic friends)
104 ; A variety of timing parameters can be specified as well
106 ; prewink: Pre-wink time (default 50ms)
107 ; preflash: Pre-flash time (default 50ms)
108 ; wink: Wink time (default 150ms)
109 ; flash: Flash time (default 750ms)
110 ; start: Start time (default 1500ms)
111 ; rxwink: Receiver wink time (default 300ms)
112 ; rxflash: Receiver flashtime (default 1250ms)
113 ; debounce: Debounce timing (default 600ms)
115 rxwink=300 ; Atlas seems to use long (250ms) winks
117 ; Whether or not to do distinctive ring detection on FXO lines
119 ;usedistinctiveringdetection=yes
122 ; Whether or not to use caller ID
126 ; Whether or not to hide outgoing caller ID (Override with *67 or *82)
130 ; Whether or not to enable call waiting on FXO lines
134 ; Whether or not restrict outgoing caller ID (will be sent as ANI only, not available for the user)
135 ; Mostly use with FXS ports
139 ; Whether or not use the caller ID presentation for the outgoing call that the calling switch is sending
143 ; Support Caller*ID on Call Waiting
145 callwaitingcallerid=yes
147 ; Support three-way calling
151 ; Support flash-hook call transfer (requires three way calling)
155 ; Support call forward variable
159 ; Whether or not to support Call Return (*69)
163 ; Stutter dialtone support: If a mailbox is specified without a voicemail
164 ; context, then when voicemail is received in a mailbox in the default
165 ; voicemail context in voicemail.conf, taking the phone off hook will
166 ; cause a stutter dialtone instead of a normal one.
168 ; If a mailbox is specified *with* a voicemail context, the same will
169 ; result if voicemail recieved in mailbox in the specified voicemail
172 ; for default voicemail context, the example below is fine:
176 ; for any other voicemail context, the following will produce the
179 ;mailbox=1234@context
181 ; Enable echo cancellation
182 ; Use either "yes", "no", or a power of two from 32 to 256 if you wish
183 ; to actually set the number of taps of cancellation.
187 ; Generally, it is not necessary (and in fact undesirable) to echo cancel
188 ; when the circuit path is entirely TDM. You may, however, reverse this
189 ; behavior by enabling the echo cancel during pure TDM bridging below.
191 echocancelwhenbridged=yes
193 ; In some cases, the echo canceller doesn't train quickly enough and there
194 ; is echo at the beginning of the call. Enabling echo training will cause
195 ; asterisk to briefly mute the channel, send an impulse, and use the impulse
196 ; response to pre-train the echo canceller so it can start out with a much
197 ; closer idea of the actual echo.
201 ; If you are having trouble with DTMF detection, you can relax the
202 ; DTMF detection parameters. Relaxing them may make the DTMF detector
203 ; more likely to have "talkoff" where DTMF is detected when it
208 ; You may also set the default receive and transmit gains (in dB)
213 ; Logical groups can be assigned to allow outgoing rollover. Groups
214 ; range from 0 to 31, and multiple groups can be specified.
218 ; Ring groups (a.k.a. call groups) and pickup groups. If a phone is ringing
219 ; and it is a member of a group which is one of your pickup groups, then
220 ; you can answer it by picking up and dialing *8#. For simple offices, just
221 ; make these both the same
227 ; Specify whether the channel should be answered immediately or
228 ; if the simple switch should provide dialtone, read digits, etc.
232 ; CallerID can be set to "asreceived" or a specific number
233 ; if you want to override it. Note that "asreceived" only
234 ; applies to trunk interfaces.
238 ; AMA flags affects the recording of Call Detail Records. If specified
239 ; it may be 'default', 'omit', 'billing', or 'documentation'.
243 ; Channels may be associated with an account code to ease
248 ; ADSI (Analog Display Services Interface) can be enabled on a per-channel
249 ; basis if you have (or may have) ADSI compatible CPE equipment
253 ; On trunk interfaces (FXS) and E&M interfaces (E&M, Wink, Feature Group D
254 ; etc, it can be useful to perform busy detection either in an effort to
255 ; detect hangup or for detecting busies
259 ; If busydetect is enabled, is also possible to specify how many
260 ; busy tones to wait before hanging up. The default is 4, but
261 ; better results can be achieved if set to 6 or even 8. Mind that
262 ; higher the number, more time is needed to hangup a channel, but
263 ; lower is probability to get random hangups
267 ; On trunk interfaces (FXS) it can be useful to attempt to follow the progress
268 ; of a call through RINGING, BUSY, and ANSWERING. If turned on, call
269 ; progress attempts to determine answer, busy, and ringing on phone lines.
270 ; This feature is HIGHLY EXPERIMENTAL and can easily detect false answers,
271 ; so don't count on it being very accurate.
273 ; Few zones are supported at the time of this writing, but may
274 ; be selected with "progzone"
276 ; This feature can also easily detect false hangups. The symptoms of this
277 ; is being disconnected in the middle of a call for no reason.
282 ; For fax detection, uncomment the following line. The default is *OFF*
286 ; Select which class of music to use for music on hold. If not specified
287 ; then the default will be used.
291 ; PRI channels can have an idle extension and a minunused number. So long
292 ; as at least "minunused" channels are idle, chan_zap will try to call
293 ; "idledial" on them, and then dump them into the PBX in the "idleext"
294 ; extension (which is of the form exten@context). When channels are needed
295 ; the "idle" calls are disconnected (so long as there are at least "minidle"
296 ; calls still running, of course) to make more channels available. The
297 ; primary use of this is to create a dynamic service, where idle channels
298 ; are bundled through multilink PPP, thus more efficiently utilizing
299 ; combined voice/data services than conventional fixed mappings/muxings.
302 ;idleext=6999@dialout
306 ; Configure jitter buffers in zapata (each one is 20ms, default is 4)
310 ; You can define your own custom ring cadences here. You can define up to
311 ; 8 pairs. If the silence is negative, it indicates where the callerid
312 ; spill is to be placed. Also, if you define any custom cadences, the
313 ; default cadences will be turned off.
315 ; Syntax is: cadence=ring,silence[,ring,silence[...]]
317 ; These are the default cadences:
319 ;cadence=125,125,2000,-4000
320 ;cadence=250,250,500,1000,250,250,500,-4000
321 ;cadence=125,125,125,125,125,-4000
322 ;cadence=1000,500,2500,-5000
324 ; Each channel consists of the channel number or range. It
325 ; inherits the parameters that were specified above its declaration
327 ; For GR-303, CRV's are created like channels except they must start
328 ; with the trunk group followed by a colon, e.g.:
334 ;callerid="Green Phone"<(256) 428-6121>
336 ;callerid="Black Phone"<(256) 428-6122>
338 ;callerid="CallerID Phone" <(256) 428-6123>
339 ;callerid="CallerID Phone" <(630) 372-1564>
340 ;callerid="CallerID Phone" <(256) 704-4666>
342 ;callerid="Pac Tel Phone" <(256) 428-6124>
344 ;callerid="Uniden Dead" <(256) 428-6125>
346 ;callerid="Cortelco 2500" <(256) 428-6126>
348 ;callerid="Main TA 750" <(256) 428-6127>
351 ; For example, maybe we have some other channels
352 ; which start out in a different context and use
353 ; E & M signalling instead.
362 ; All those in group 0 I'll use for outgoing calls
364 ; Strip most significant digit (9) before sending
374 ;callerid="Joe Schmoe" <(256) 428-6131>
376 ;callerid="Megan May" <(256) 428-6132>
378 ;callerid="Suzy Queue" <(256) 428-6233>
380 ;callerid="Larry Moe" <(256) 428-6234>
383 ; Sample PRI (CPE) config: Specify the switchtype, the signalling as
384 ; either pri_cpe or pri_net for CPE or Network termination, and generally
385 ; you will want to create a single "group" for all channels of the PRI.
387 ; switchtype = national
388 ; signalling = pri_cpe
393 ; Used for distintive ring support for x100p.
394 ; You can see the dringX patterns is to set any one of the dringXcontext fields
395 ; and they will be printed on the console when an inbound call comes in.
398 ;dring1context=internal1
400 ;dring2context=internal2
401 ; If no pattern is matched here is where we go.