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 ; Some switches (AT&T especially) require network specific facility IE
55 ; supported values are currently 'none', 'sdn', 'megacom', 'accunet'
59 ; PRI Dialplan: Only RARELY used for PRI.
62 ; private: Private ISDN
64 ; national: National ISDN
65 ; international: International ISDN
69 ; PRI Local Dialplan: Only RARELY used for PRI (sets the calling number's numbering plan)
72 ; private: Private ISDN
74 ; national: National ISDN
75 ; international: International ISDN
77 ;prilocaldialplan=national
79 ; Overlap dialing mode (sending overlap digits)
83 ; PRI Out of band indications.
84 ; Enable this to report Busy and Congestion on a PRI using out-of-band
85 ; notification. Inband indication, as used by Asterisk doesn't seem to work
88 ; outofband: Signal Busy/Congestion out of band with RELEASE/DISCONNECT
89 ; inband: Signal Busy/Congestion using in-band tones
91 ; priindication = outofband
94 ; All of the ISDN timers and counters that are used are configurable. Specify
95 ; the timer name, and its value (in ms for timers)
97 ; pritimer => t200,1000
98 ; pritimer => t313,4000
101 ; Signalling method (default is fxs). Valid values:
104 ; featd: Feature Group D (The fake, Adtran style, DTMF)
105 ; featdmf: Feature Group D (The real thing, MF (domestic, US))
106 ; featb: Feature Group B (MF (domestic, US))
107 ; fxs_ls: FXS (Loop Start)
108 ; fxs_gs: FXS (Ground Start)
109 ; fxs_ks: FXS (Kewl Start)
110 ; fxo_ls: FXO (Loop Start)
111 ; fxo_gs: FXO (Ground Start)
112 ; fxo_ks: FXO (Kewl Start)
113 ; pri_cpe: PRI signalling, CPE side
114 ; pri_net: PRI signalling, Network side
115 ; gr303fxoks_net: GR-303 Signalling, FXO Loopstart, Network side
116 ; gr303fxsks_cpe: GR-303 Signalling, FXS Loopstart, CPE side
117 ; sf: SF (Inband Tone) Signalling
119 ; sf_featd: SF Feature Group D (The fake, Adtran style, DTMF)
120 ; sf_featdmf: SF Feature Group D (The real thing, MF (domestic, US))
121 ; sf_featb: SF Feature Group B (MF (domestic, US))
122 ; The following are used for Radio interfaces:
123 ; fxs_rx: Receive audio/COR on an FXS kewlstart interface (FXO at the channel bank)
124 ; fxs_tx: Transmit audio/PTT on an FXS loopstart interface (FXO at the channel bank)
125 ; fxo_rx: Receive audio/COR on an FXO loopstart interface (FXS at the channel bank)
126 ; fxo_tx: Transmit audio/PTT on an FXO groundstart interface (FXS at the channel bank)
127 ; em_rx: Receive audio/COR on an E&M interface (1-way)
128 ; em_tx: Transmit audio/PTT on an E&M interface (1-way)
129 ; em_txrx: Receive audio/COR AND Transmit audio/PTT on an E&M interface (2-way)
130 ; em_rxtx: same as em_txrx (for our dyslexic friends)
131 ; sf_rx: Receive audio/COR on an SF interface (1-way)
132 ; sf_tx: Transmit audio/PTT on an SF interface (1-way)
133 ; sf_txrx: Receive audio/COR AND Transmit audio/PTT on an SF interface (2-way)
134 ; sf_rxtx: same as sf_txrx (for our dyslexic friends)
138 ; A variety of timing parameters can be specified as well
140 ; prewink: Pre-wink time (default 50ms)
141 ; preflash: Pre-flash time (default 50ms)
142 ; wink: Wink time (default 150ms)
143 ; flash: Flash time (default 750ms)
144 ; start: Start time (default 1500ms)
145 ; rxwink: Receiver wink time (default 300ms)
146 ; rxflash: Receiver flashtime (default 1250ms)
147 ; debounce: Debounce timing (default 600ms)
149 rxwink=300 ; Atlas seems to use long (250ms) winks
151 ; Whether or not to do distinctive ring detection on FXO lines
153 ;usedistinctiveringdetection=yes
156 ; Whether or not to use caller ID
160 ; Type of caller ID signalling in use
161 ; bell = bell202 as used in US, v23 = v23 as used in the UK, dtmf = DTMF as used in Denmark, Sweden and Netherlands
165 ; What signals the start of caller ID
166 ; ring = a ring signals the start, polarity = polarity reversal signals the start
170 ; Whether or not to hide outgoing caller ID (Override with *67 or *82)
174 ; Whether or not to enable call waiting on FXO lines
178 ; Whether or not restrict outgoing caller ID (will be sent as ANI only, not available for the user)
179 ; Mostly use with FXS ports
183 ; Whether or not use the caller ID presentation for the outgoing call that the calling switch is sending
187 ; Support Caller*ID on Call Waiting
189 callwaitingcallerid=yes
191 ; Support three-way calling
195 ; Support flash-hook call transfer (requires three way calling)
199 ; Support call forward variable
203 ; Whether or not to support Call Return (*69)
207 ; Stutter dialtone support: If a mailbox is specified without a voicemail
208 ; context, then when voicemail is received in a mailbox in the default
209 ; voicemail context in voicemail.conf, taking the phone off hook will
210 ; cause a stutter dialtone instead of a normal one.
212 ; If a mailbox is specified *with* a voicemail context, the same will
213 ; result if voicemail recieved in mailbox in the specified voicemail
216 ; for default voicemail context, the example below is fine:
220 ; for any other voicemail context, the following will produce the
223 ;mailbox=1234@context
225 ; Enable echo cancellation
226 ; Use either "yes", "no", or a power of two from 32 to 256 if you wish
227 ; to actually set the number of taps of cancellation.
231 ; Generally, it is not necessary (and in fact undesirable) to echo cancel
232 ; when the circuit path is entirely TDM. You may, however, reverse this
233 ; behavior by enabling the echo cancel during pure TDM bridging below.
235 echocancelwhenbridged=yes
237 ; In some cases, the echo canceller doesn't train quickly enough and there
238 ; is echo at the beginning of the call. Enabling echo training will cause
239 ; asterisk to briefly mute the channel, send an impulse, and use the impulse
240 ; response to pre-train the echo canceller so it can start out with a much
241 ; closer idea of the actual echo. Value may be "yes", "no", or a number of
242 ; milliseconds to delay before training (default = 400)
247 ; If you are having trouble with DTMF detection, you can relax the
248 ; DTMF detection parameters. Relaxing them may make the DTMF detector
249 ; more likely to have "talkoff" where DTMF is detected when it
254 ; You may also set the default receive and transmit gains (in dB)
259 ; Logical groups can be assigned to allow outgoing rollover. Groups
260 ; range from 0 to 31, and multiple groups can be specified.
264 ; Ring groups (a.k.a. call groups) and pickup groups. If a phone is ringing
265 ; and it is a member of a group which is one of your pickup groups, then
266 ; you can answer it by picking up and dialing *8#. For simple offices, just
267 ; make these both the same
273 ; Specify whether the channel should be answered immediately or
274 ; if the simple switch should provide dialtone, read digits, etc.
278 ; CallerID can be set to "asreceived" or a specific number
279 ; if you want to override it. Note that "asreceived" only
280 ; applies to trunk interfaces.
284 ; AMA flags affects the recording of Call Detail Records. If specified
285 ; it may be 'default', 'omit', 'billing', or 'documentation'.
289 ; Channels may be associated with an account code to ease
294 ; ADSI (Analog Display Services Interface) can be enabled on a per-channel
295 ; basis if you have (or may have) ADSI compatible CPE equipment
299 ; On trunk interfaces (FXS) and E&M interfaces (E&M, Wink, Feature Group D
300 ; etc, it can be useful to perform busy detection either in an effort to
301 ; detect hangup or for detecting busies
305 ; If busydetect is enabled, is also possible to specify how many
306 ; busy tones to wait before hanging up. The default is 4, but
307 ; better results can be achieved if set to 6 or even 8. Mind that
308 ; higher the number, more time is needed to hangup a channel, but
309 ; lower is probability to get random hangups
313 ; On trunk interfaces (FXS) it can be useful to attempt to follow the progress
314 ; of a call through RINGING, BUSY, and ANSWERING. If turned on, call
315 ; progress attempts to determine answer, busy, and ringing on phone lines.
316 ; This feature is HIGHLY EXPERIMENTAL and can easily detect false answers,
317 ; so don't count on it being very accurate.
319 ; Few zones are supported at the time of this writing, but may
320 ; be selected with "progzone"
322 ; This feature can also easily detect false hangups. The symptoms of this
323 ; is being disconnected in the middle of a call for no reason.
328 ; For FXO (FXS signalled) devices, whether to use pulse dial instead of DTMF
332 ; For fax detection, uncomment one of the following lines. The default is *OFF*
339 ; Select which class of music to use for music on hold. If not specified
340 ; then the default will be used.
344 ; PRI channels can have an idle extension and a minunused number. So long
345 ; as at least "minunused" channels are idle, chan_zap will try to call
346 ; "idledial" on them, and then dump them into the PBX in the "idleext"
347 ; extension (which is of the form exten@context). When channels are needed
348 ; the "idle" calls are disconnected (so long as there are at least "minidle"
349 ; calls still running, of course) to make more channels available. The
350 ; primary use of this is to create a dynamic service, where idle channels
351 ; are bundled through multilink PPP, thus more efficiently utilizing
352 ; combined voice/data services than conventional fixed mappings/muxings.
355 ;idleext=6999@dialout
359 ; Configure jitter buffers in zapata (each one is 20ms, default is 4)
363 ; You can define your own custom ring cadences here. You can define up to
364 ; 8 pairs. If the silence is negative, it indicates where the callerid
365 ; spill is to be placed. Also, if you define any custom cadences, the
366 ; default cadences will be turned off.
368 ; Syntax is: cadence=ring,silence[,ring,silence[...]]
370 ; These are the default cadences:
372 ;cadence=125,125,2000,-4000
373 ;cadence=250,250,500,1000,250,250,500,-4000
374 ;cadence=125,125,125,125,125,-4000
375 ;cadence=1000,500,2500,-5000
377 ; Each channel consists of the channel number or range. It
378 ; inherits the parameters that were specified above its declaration
380 ; For GR-303, CRV's are created like channels except they must start
381 ; with the trunk group followed by a colon, e.g.:
387 ;callerid="Green Phone"<(256) 428-6121>
389 ;callerid="Black Phone"<(256) 428-6122>
391 ;callerid="CallerID Phone" <(256) 428-6123>
392 ;callerid="CallerID Phone" <(630) 372-1564>
393 ;callerid="CallerID Phone" <(256) 704-4666>
395 ;callerid="Pac Tel Phone" <(256) 428-6124>
397 ;callerid="Uniden Dead" <(256) 428-6125>
399 ;callerid="Cortelco 2500" <(256) 428-6126>
401 ;callerid="Main TA 750" <(256) 428-6127>
404 ; For example, maybe we have some other channels
405 ; which start out in a different context and use
406 ; E & M signalling instead.
415 ; All those in group 0 I'll use for outgoing calls
417 ; Strip most significant digit (9) before sending
427 ;callerid="Joe Schmoe" <(256) 428-6131>
429 ;callerid="Megan May" <(256) 428-6132>
431 ;callerid="Suzy Queue" <(256) 428-6233>
433 ;callerid="Larry Moe" <(256) 428-6234>
436 ; Sample PRI (CPE) config: Specify the switchtype, the signalling as
437 ; either pri_cpe or pri_net for CPE or Network termination, and generally
438 ; you will want to create a single "group" for all channels of the PRI.
440 ; switchtype = national
441 ; signalling = pri_cpe
446 ; Used for distintive ring support for x100p.
447 ; You can see the dringX patterns is to set any one of the dringXcontext fields
448 ; and they will be printed on the console when an inbound call comes in.
451 ;dring1context=internal1
453 ;dring2context=internal2
454 ; If no pattern is matched here is where we go.