2 ; Zapata telephony interface
16 ; Switchtype: Only used for PRI.
18 ; national: National ISDN
19 ; dms100: Nortel DMS100
26 ; PRI Dialplan: Only RARELY used for PRI.
29 ; private: Private ISDN
31 ; national: National ISDN
32 ; international: International ISDN
36 ; Overlap dialing mode (sending overlap digits)
40 ; Signalling method (default is fxs). Valid values:
43 ; featd: Feature Group D (The fake, Adtran style, DTMF)
44 ; featdmf: Feature Group D (The real thing, MF (domestic, US))
45 ; featb: Feature Group B (MF (domestic, US))
46 ; fxs_ls: FXS (Loop Start)
47 ; fxs_gs: FXS (Ground Start)
48 ; fxs_ks: FXS (Kewl Start)
49 ; fxo_ls: FXO (Loop Start)
50 ; fxo_gs: FXO (Ground Start)
51 ; fxo_ks: FXO (Kewl Start)
52 ; pri_cpe: PRI signalling, CPE side
53 ; pri_net: PRI signalling, Network side
54 ; sf: SF (Inband Tone) Signalling
56 ; sf_featd: SF Feature Group D (The fake, Adtran style, DTMF)
57 ; sf_featdmf: SF Feature Group D (The real thing, MF (domestic, US))
58 ; sf_featb: SF Feature Group B (MF (domestic, US))
59 ; The following are used for Radio interfaces:
60 ; fxs_rx: Receive audio/COR on an FXS kewlstart interface (FXO at the channel bank)
61 ; fxs_tx: Transmit audio/PTT on an FXS loopstart interface (FXO at the channel bank)
62 ; fxo_rx: Receive audio/COR on an FXO loopstart interface (FXS at the channel bank)
63 ; fxo_tx: Transmit audio/PTT on an FXO groundstart interface (FXS at the channel bank)
64 ; em_rx: Receive audio/COR on an E&M interface (1-way)
65 ; em_tx: Transmit audio/PTT on an E&M interface (1-way)
66 ; em_txrx: Receive audio/COR AND Transmit audio/PTT on an E&M interface (2-way)
67 ; em_rxtx: same as em_txrx (for our dyslexic friends)
68 ; sf_rx: Receive audio/COR on an SF interface (1-way)
69 ; sf_tx: Transmit audio/PTT on an SF interface (1-way)
70 ; sf_txrx: Receive audio/COR AND Transmit audio/PTT on an SF interface (2-way)
71 ; sf_rxtx: same as sf_txrx (for our dyslexic friends)
75 ; A variety of timing parameters can be specified as well
77 ; prewink: Pre-wink time
78 ; preflash: Pre-flash time
82 ; rxwink: Receiver wink time
83 ; rxflash: Receiver flashtime
84 ; debounce: Debounce timing
86 rxwink=300 ; Atlas seems to use long (250ms) winks
88 ; Whether or not to use caller ID
92 ; Whether or not to hide outgoing caller ID (Override with *67 or *82)
96 ; Whether or not to enable call waiting on FXO lines
100 ; Support Caller*ID on Call Waiting
102 callwaitingcallerid=yes
104 ; Support three-way calling
108 ; Support flash-hook call transfer (requires three way calling)
112 ; Support call forward variable
116 ; Whether or not to support Call Return (*69)
120 ; Stutter dialtone support: If a mailbox is specified, then when voicemail
121 ; is received in that mailbox, taking the phone off hook will cause
122 ; a stutter dialtone instead of a normal one
126 ; Enable echo cancellation
127 ; Use either "yes", "no", or a power of two from 32 to 256 if you wish
128 ; to actually set the number of taps of cancellation.
132 ; Generally, it is not necessary (and in fact undesirable) to echo cancel
133 ; when the circuit path is entirely TDM. You may, however, reverse this
134 ; behavior by enabling the echo cancel during pure TDM bridging below.
136 echocancelwhenbridged=yes
138 ; If you are having trouble with DTMF detection, you can relax the
139 ; DTMF detection parameters. Relaxing them may make the DTMF detector
140 ; more likely to have "talkoff" where DTMF is detected when it
145 ; You may also set the default receive and transmit gains (in dB)
150 ; Logical groups can be assigned to allow outgoing rollover. Groups
151 ; range from 0 to 31, and multiple groups can be specified.
155 ; Ring groups (a.k.a. call groups) and pickup groups. If a phone is ringing
156 ; and it is a member of a group which is one of your pickup groups, then
157 ; you can answer it by picking up and dialing *8#. For simple offices, just
158 ; make these both the same
164 ; Specify whether the channel should be answered immediately or
165 ; if the simple switch should provide dialtone, read digits, etc.
169 ; CallerID can be set to "asreceived" or a specific number
170 ; if you want to override it. Note that "asreceived" only
171 ; applies to trunk interfaces.
175 ; AMA flags affects the recording of Call Detail Records. If specified
176 ; it may be 'default', 'omit', 'billing', or 'documentation'.
180 ; Channels may be associated with an account code to ease
185 ; ADSI (Analog Display Services Interface) can be enabled on a per-channel
186 ; basis if you have (or may have) ADSI compatible CPE equipment
190 ; On trunk interfaces (FXS) and E&M interfaces (E&M, Wink, Feature Group D
191 ; etc, it can be useful to perform busy detection either in an effort to
192 ; detect hangup or for detecting busies
196 ; On trunk interfaces (FXS) it can be useful to attempt to follow the progress
197 ; of a call through RINGING, BUSY, and ANSWERING. If turned on, call
198 ; progress attempts to determine answer, busy, and ringing on phone lines.
199 ; This feature is HIGHLY EXPERIMENTAL and can easily detect false answers,
200 ; so don't count on it being very accurate. Also, it is ONLY configured for
201 ; standard U.S. tones
205 ; Select which class of music to use for music on hold. If not specified
206 ; then the default will be used.
210 ; PRI channels can have an idle extension and a minunused number. So long
211 ; as at least "minunused" channels are idle, chan_zap will try to call
212 ; "idledial" on them, and then dump them into the PBX in the "idleext"
213 ; extension (which is of the form exten@context). When channels are needed
214 ; the "idle" calls are disconnected (so long as there are at least "minidle"
215 ; calls still running, of course) to make more channels available. The
216 ; primary use of this is to create a dynamic service, where idle channels
217 ; are bundled through multilink PPP, thus more efficiently utilizing
218 ; combined voice/data services than conventional fixed mappings/muxings.
221 ;idleext=6999@dialout
225 ; Each channel consists of the channel number or range. It
226 ; inherits the parameters that were specified above its declaration
228 ;callerid="Green Phone"<(256) 428-6121>
230 ;callerid="Black Phone"<(256) 428-6122>
232 ;callerid="CallerID Phone" <(256) 428-6123>
233 ;callerid="CallerID Phone" <(630) 372-1564>
234 ;callerid="CallerID Phone" <(256) 704-4666>
236 ;callerid="Pac Tel Phone" <(256) 428-6124>
238 ;callerid="Uniden Dead" <(256) 428-6125>
240 ;callerid="Cortelco 2500" <(256) 428-6126>
242 ;callerid="Main TA 750" <(256) 428-6127>
245 ; For example, maybe we have some other channels
246 ; which start out in a different context and use
247 ; E & M signalling instead.
256 ; All those in group 0 I'll use for outgoing calls
258 ; Strip most significant digit (9) before sending
268 ;callerid="Joe Schmoe" <(256) 428-6131>
270 ;callerid="Megan May" <(256) 428-6132>
272 ;callerid="Suzy Queue" <(256) 428-6233>
274 ;callerid="Larry Moe" <(256) 428-6234>
277 ; Sample PRI (CPE) config: Specify the switchtype, the signalling as
278 ; either pri_cpe or pri_net for CPE or Network termination, and generally
279 ; you will want to create a single "group" for all channels of the PRI.
281 ; switchtype = national
282 ; signalling = pri_cpe