127207c2801e21d4fa56e36f903bc5c8de4df112
[asterisk/asterisk.git] / configs / zapata.conf.sample
1 ;
2 ; Zapata telephony interface
3 ;
4 ; Configuration file
5
6 [channels]
7 ;
8 ; Default language
9 ;
10 ;language=en
11 ;
12 ; Default context
13 ;
14 context=default
15 ;
16 ; Switchtype:  Only used for PRI.
17 ;
18 ; national:       National ISDN
19 ; dms100:         Nortel DMS100
20 ; 4ess:           AT&T 4ESS
21 ; 5ess:           Lucent 5ESS
22 ; euroisdn:       EuroISDN
23 ;
24 switchtype=national
25 ;
26 ; PRI Dialplan:  Only RARELY used for PRI.
27 ;
28 ; unknown:        Unknown
29 ; private:        Private ISDN
30 ; local:          Local ISDN
31 ; national:       National ISDN
32 ; international:  International ISDN
33 ;
34 ;pridialplan=national
35 ;
36 ; Overlap dialing mode (sending overlap digits)
37 ;
38 ;overlapdial=yes
39 ;
40 ; Signalling method (default is fxs).  Valid values:
41 ; em:      E & M
42 ; em_w:    E & M Wink
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
55 ; sf_w:       SF Wink
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)
72 ;
73 signalling=fxo_ls
74 ;
75 ; A variety of timing parameters can be specified as well
76 ; Including:
77 ;    prewink:     Pre-wink time
78 ;    preflash:    Pre-flash time
79 ;    wink:        Wink time
80 ;    flash:       Flash time
81 ;    start:       Start time
82 ;    rxwink:      Receiver wink time
83 ;    rxflash:     Receiver flashtime
84 ;    debounce:    Debounce timing
85 ;
86 rxwink=300              ; Atlas seems to use long (250ms) winks
87 ;
88 ; Whether or not to use caller ID
89 ;
90 usecallerid=yes
91 ;
92 ; Whether or not to hide outgoing caller ID (Override with *67 or *82)
93 ;
94 hidecallerid=no
95 ;
96 ; Whether or not to enable call waiting on FXO lines
97 ;
98 callwaiting=yes
99 ;
100 ; Support Caller*ID on Call Waiting
101 ;
102 callwaitingcallerid=yes
103 ;
104 ; Support three-way calling
105 ;
106 threewaycalling=yes
107 ;
108 ; Support flash-hook call transfer (requires three way calling)
109 ;
110 transfer=yes
111 ;
112 ; Support call forward variable
113 ;
114 cancallforward=yes
115 ;
116 ; Whether or not to support Call Return (*69)
117 ;
118 callreturn=yes
119 ;
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
123 ;
124 ;mailbox=1234
125 ;
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.
129 ;
130 echocancel=yes
131 ;
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.
135 ;
136 echocancelwhenbridged=yes
137 ;
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
141 ; shouldn't be.
142 ;
143 ;relaxdtmf=yes
144 ;
145 ; You may also set the default receive and transmit gains (in dB)
146 ;
147 rxgain=0.0
148 txgain=0.0
149 ;
150 ; Logical groups can be assigned to allow outgoing rollover.  Groups
151 ; range from 0 to 31, and multiple groups can be specified.
152 ;
153 group=1
154 ;
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
159 ;
160 callgroup=1
161 pickupgroup=1
162
163 ;
164 ; Specify whether the channel should be answered immediately or
165 ; if the simple switch should provide dialtone, read digits, etc.
166 ;
167 immediate=no
168 ;
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.
172 ;
173 ;callerid=2564286000
174 ;
175 ; AMA flags affects the recording of Call Detail Records.  If specified
176 ; it may be 'default', 'omit', 'billing', or 'documentation'.
177 ;
178 ;amaflags=default
179 ;
180 ; Channels may be associated with an account code to ease
181 ; billing
182 ;
183 ;accountcode=lss0101
184 ;
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
187 ;
188 ;adsi=yes
189 ;
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
193 ;
194 ;busydetect=yes
195 ;
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 
202 ;
203 ;callprogress=yes
204 ;
205 ; Select which class of music to use for music on hold.  If not specified
206 ; then the default will be used.
207 ;
208 ;musiconhold=default
209 ;
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.
219 ;
220 ;idledial=6999
221 ;idleext=6999@dialout
222 ;minunused=2
223 ;minidle=1
224 ;
225 ; Each channel consists of the channel number or range.  It
226 ; inherits the parameters that were specified above its declaration
227 ;
228 ;callerid="Green Phone"<(256) 428-6121>
229 ;channel => 1
230 ;callerid="Black Phone"<(256) 428-6122>
231 ;channel => 2
232 ;callerid="CallerID Phone" <(256) 428-6123>
233 ;callerid="CallerID Phone" <(630) 372-1564>
234 ;callerid="CallerID Phone" <(256) 704-4666>
235 ;channel => 3
236 ;callerid="Pac Tel Phone" <(256) 428-6124>
237 ;channel => 4
238 ;callerid="Uniden Dead" <(256) 428-6125>
239 ;channel => 5
240 ;callerid="Cortelco 2500" <(256) 428-6126>
241 ;channel => 6
242 ;callerid="Main TA 750" <(256) 428-6127>
243 ;channel => 44
244 ;
245 ; For example, maybe we have some other channels
246 ; which start out in a different context and use
247 ; E & M signalling instead.
248 ;
249 ;context=remote
250 ;sigalling=em
251 ;channel => 15
252 ;channel => 16
253
254 ;signalling=em_w
255 ;
256 ; All those in group 0 I'll use for outgoing calls
257 ;
258 ; Strip most significant digit (9) before sending
259 ;
260 ;stripmsd=1
261 ;callerid=asreceived
262 ;group=0
263 ;signalling=fxs_ls
264 ;channel => 45
265
266 ;signalling=fxo_ls
267 ;group=1
268 ;callerid="Joe Schmoe" <(256) 428-6131>
269 ;channel => 25
270 ;callerid="Megan May" <(256) 428-6132>
271 ;channel => 26
272 ;callerid="Suzy Queue" <(256) 428-6233>
273 ;channel => 27
274 ;callerid="Larry Moe" <(256) 428-6234>
275 ;channel => 28
276 ;
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.
280 ;
281 ; switchtype = national
282 ; signalling = pri_cpe
283 ; group = 2
284 ; channel => 1-23
285