58f9c7fa6f8c7bf1ac230a4f456e54888e618ab1
[asterisk/asterisk.git] / pbx / ael / ael-test / ref.ael-vtest13
1 [globals]
2 static=yes
3 writeprotect=yes
4 CONSOLE=Console/dsp
5 IAXINFO=murf:tlhfckoct
6 FWDNUMBER=544788 
7 FWDCIDNAME="Joe-Worker"
8 FWDPASSWORD=zingledoodle 
9 FWDRINGS=Zap/6 
10 FWDVMBOX=1 
11
12
13 [std-exten]
14 exten => s,1,Set(LOCAL(ext)=${ARG1})
15 exten => s,2,Set(LOCAL(dev)=${ARG2})
16 exten => s,3,Dial(${dev}/${ext},20)
17 exten => s,4,Set(~~EXTEN~~=${EXTEN})
18 exten => s,5,Goto(sw-1-${DIALSTATUS},10)
19 exten => s,6,NoOp(Finish switch-std-exten-1)
20 exten => s,7,Return()
21 exten => a,1,VoiceMailMain(${ext})
22 exten => _sw-1-.,10,Voicemail(u${ext})
23 exten => _sw-1-.,11,Goto(s,6)
24 exten => sw-1-,10,Goto(sw-1-.|10)
25 exten => sw-1-ANSWER,10,Goto(s,6)
26 exten => sw-1-NOANSWER,10,Voicemail(u${ext})
27 exten => sw-1-NOANSWER,11,Goto(s,6)
28 exten => sw-1-BUSY,10,Voicemail(b${ext})
29 exten => sw-1-BUSY,11,Goto(s,6)
30
31
32 [std-priv-exten_1]
33 exten => s,1,Set(LOCAL(dev)=${ARG1})
34 exten => s,2,Set(LOCAL(ext)=${ARG2})
35 exten => s,3,Set(LOCAL(timeout)=${ARG3})
36 exten => s,4,Set(LOCAL(opts)=${ARG4})
37 exten => s,5,Set(LOCAL(torcont)=${ARG5})
38 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
39 exten => s,7,Dial(${dev},${timeout},${opts})
40 exten => s,8,NoOp(${DIALSTATUS} was chosen)
41 exten => s,9,Set(~~EXTEN~~=${EXTEN})
42 exten => s,10,Goto(sw-3-${DIALSTATUS},10)
43 exten => s,11,NoOp(Finish switch-std-priv-exten_1-3)
44 exten => s,12,Return()
45 exten => _sw-3-.,10,Voicemail(u${ext})
46 exten => _sw-3-.,11,Goto(s,11)
47 exten => sw-3-,10,Goto(sw-3-.|10)
48 exten => sw-3-NOANSWER,10,Voicemail(u${ext})
49 exten => sw-3-NOANSWER,11,Goto(s,11)
50 exten => sw-3-ANSWER,10,Goto(s,11)
51 exten => sw-3-BUSY,10,Voicemail(b${ext})
52 exten => sw-3-BUSY,11,Goto(s,11)
53 exten => sw-3-DONTCALL,10,Goto(${dontcont},s,begin)
54 exten => sw-3-DONTCALL,11,Goto(s,11)
55 exten => sw-3-TORTURE,10,Goto(${torcont},s,begin)
56 exten => sw-3-TORTURE,11,Goto(s,11)
57
58
59 [std-priv-exten_2]
60 exten => s,1,Set(LOCAL(dev)=${ARG1})
61 exten => s,2,Set(LOCAL(ext)=${ARG2})
62 exten => s,3,Set(LOCAL(timeout)=${ARG3})
63 exten => s,4,Set(LOCAL(opts)=${ARG4})
64 exten => s,5,Set(LOCAL(torcont)=${ARG5})
65 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
66 exten => s,7,Dial(${dev},${timeout},${opts})
67 exten => s,8,NoOp(${DIALSTATUS} was chosen)
68 exten => s,9,Set(~~EXTEN~~=${EXTEN})
69 exten => s,10,Goto(sw-4-${DIALSTATUS},10)
70 exten => s,11,NoOp(Finish switch-std-priv-exten_2-4)
71 exten => s,12,Return()
72 exten => _sw-4-.,10,Voicemail(u${ext})
73 exten => _sw-4-.,11,Goto(s,11)
74 exten => sw-4-,10,Goto(sw-4-.|10)
75 exten => sw-4-NOANSWER,10,Voicemail(u${ext})
76 exten => sw-4-NOANSWER,11,Goto(s,11)
77 exten => sw-4-ANSWER,10,Goto(s,11)
78 exten => sw-4-BUSY,10,Voicemail(b${ext})
79 exten => sw-4-BUSY,11,Goto(s,11)
80 exten => sw-4-DONTCALL,10,Goto(${dontcont},s,begin)
81 exten => sw-4-DONTCALL,11,Goto(s,11)
82 exten => sw-4-TORTURE,10,Goto(${torcont},s,begin)
83 exten => sw-4-TORTURE,11,Goto(s,11)
84
85
86 [std-priv-exten_3]
87 exten => s,1,Set(LOCAL(dev)=${ARG1})
88 exten => s,2,Set(LOCAL(ext)=${ARG2})
89 exten => s,3,Set(LOCAL(timeout)=${ARG3})
90 exten => s,4,Set(LOCAL(opts)=${ARG4})
91 exten => s,5,Set(LOCAL(torcont)=${ARG5})
92 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
93 exten => s,7,Dial(${dev},${timeout},${opts})
94 exten => s,8,NoOp(${DIALSTATUS} was chosen)
95 exten => s,9,Set(~~EXTEN~~=${EXTEN})
96 exten => s,10,Goto(sw-5-${DIALSTATUS},10)
97 exten => s,11,NoOp(Finish switch-std-priv-exten_3-5)
98 exten => s,12,Return()
99 exten => _sw-5-.,10,Voicemail(u${ext})
100 exten => _sw-5-.,11,Goto(s,11)
101 exten => sw-5-,10,Goto(sw-5-.|10)
102 exten => sw-5-NOANSWER,10,Voicemail(u${ext})
103 exten => sw-5-NOANSWER,11,Goto(s,11)
104 exten => sw-5-ANSWER,10,Goto(s,11)
105 exten => sw-5-BUSY,10,Voicemail(b${ext})
106 exten => sw-5-BUSY,11,Goto(s,11)
107 exten => sw-5-DONTCALL,10,Goto(${dontcont},s,begin)
108 exten => sw-5-DONTCALL,11,Goto(s,11)
109 exten => sw-5-TORTURE,10,Goto(${torcont},s,begin)
110 exten => sw-5-TORTURE,11,Goto(s,11)
111
112
113 [std-priv-exten_4]
114 exten => s,1,Set(LOCAL(dev)=${ARG1})
115 exten => s,2,Set(LOCAL(ext)=${ARG2})
116 exten => s,3,Set(LOCAL(timeout)=${ARG3})
117 exten => s,4,Set(LOCAL(opts)=${ARG4})
118 exten => s,5,Set(LOCAL(torcont)=${ARG5})
119 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
120 exten => s,7,Dial(${dev},${timeout},${opts})
121 exten => s,8,NoOp(${DIALSTATUS} was chosen)
122 exten => s,9,Set(~~EXTEN~~=${EXTEN})
123 exten => s,10,Goto(sw-6-${DIALSTATUS},10)
124 exten => s,11,NoOp(Finish switch-std-priv-exten_4-6)
125 exten => s,12,Return()
126 exten => _sw-6-.,10,Voicemail(u${ext})
127 exten => _sw-6-.,11,Goto(s,11)
128 exten => sw-6-,10,Goto(sw-6-.|10)
129 exten => sw-6-NOANSWER,10,Voicemail(u${ext})
130 exten => sw-6-NOANSWER,11,Goto(s,11)
131 exten => sw-6-ANSWER,10,Goto(s,11)
132 exten => sw-6-BUSY,10,Voicemail(b${ext})
133 exten => sw-6-BUSY,11,Goto(s,11)
134 exten => sw-6-DONTCALL,10,Goto(${dontcont},s,begin)
135 exten => sw-6-DONTCALL,11,Goto(s,11)
136 exten => sw-6-TORTURE,10,Goto(${torcont},s,begin)
137 exten => sw-6-TORTURE,11,Goto(s,11)
138
139
140 [std-priv-exten_5]
141 exten => s,1,Set(LOCAL(dev)=${ARG1})
142 exten => s,2,Set(LOCAL(ext)=${ARG2})
143 exten => s,3,Set(LOCAL(timeout)=${ARG3})
144 exten => s,4,Set(LOCAL(opts)=${ARG4})
145 exten => s,5,Set(LOCAL(torcont)=${ARG5})
146 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
147 exten => s,7,Dial(${dev},${timeout},${opts})
148 exten => s,8,NoOp(${DIALSTATUS} was chosen)
149 exten => s,9,Set(~~EXTEN~~=${EXTEN})
150 exten => s,10,Goto(sw-7-${DIALSTATUS},10)
151 exten => s,11,NoOp(Finish switch-std-priv-exten_5-7)
152 exten => s,12,Return()
153 exten => _sw-7-.,10,Voicemail(u${ext})
154 exten => _sw-7-.,11,Goto(s,11)
155 exten => sw-7-,10,Goto(sw-7-.|10)
156 exten => sw-7-NOANSWER,10,Voicemail(u${ext})
157 exten => sw-7-NOANSWER,11,Goto(s,11)
158 exten => sw-7-ANSWER,10,Goto(s,11)
159 exten => sw-7-BUSY,10,Voicemail(b${ext})
160 exten => sw-7-BUSY,11,Goto(s,11)
161 exten => sw-7-DONTCALL,10,Goto(${dontcont},s,begin)
162 exten => sw-7-DONTCALL,11,Goto(s,11)
163 exten => sw-7-TORTURE,10,Goto(${torcont},s,begin)
164 exten => sw-7-TORTURE,11,Goto(s,11)
165
166
167 [std-priv-exten_6]
168 exten => s,1,Set(LOCAL(dev)=${ARG1})
169 exten => s,2,Set(LOCAL(ext)=${ARG2})
170 exten => s,3,Set(LOCAL(timeout)=${ARG3})
171 exten => s,4,Set(LOCAL(opts)=${ARG4})
172 exten => s,5,Set(LOCAL(torcont)=${ARG5})
173 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
174 exten => s,7,Dial(${dev},${timeout},${opts})
175 exten => s,8,NoOp(${DIALSTATUS} was chosen)
176 exten => s,9,Set(~~EXTEN~~=${EXTEN})
177 exten => s,10,Goto(sw-8-${DIALSTATUS},10)
178 exten => s,11,NoOp(Finish switch-std-priv-exten_6-8)
179 exten => s,12,Return()
180 exten => _sw-8-.,10,Voicemail(u${ext})
181 exten => _sw-8-.,11,Goto(s,11)
182 exten => sw-8-,10,Goto(sw-8-.|10)
183 exten => sw-8-NOANSWER,10,Voicemail(u${ext})
184 exten => sw-8-NOANSWER,11,Goto(s,11)
185 exten => sw-8-ANSWER,10,Goto(s,11)
186 exten => sw-8-BUSY,10,Voicemail(b${ext})
187 exten => sw-8-BUSY,11,Goto(s,11)
188 exten => sw-8-DONTCALL,10,Goto(${dontcont},s,begin)
189 exten => sw-8-DONTCALL,11,Goto(s,11)
190 exten => sw-8-TORTURE,10,Goto(${torcont},s,begin)
191 exten => sw-8-TORTURE,11,Goto(s,11)
192
193
194 [std-priv-exten_7]
195 exten => s,1,Set(LOCAL(dev)=${ARG1})
196 exten => s,2,Set(LOCAL(ext)=${ARG2})
197 exten => s,3,Set(LOCAL(timeout)=${ARG3})
198 exten => s,4,Set(LOCAL(opts)=${ARG4})
199 exten => s,5,Set(LOCAL(torcont)=${ARG5})
200 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
201 exten => s,7,Dial(${dev},${timeout},${opts})
202 exten => s,8,NoOp(${DIALSTATUS} was chosen)
203 exten => s,9,Set(~~EXTEN~~=${EXTEN})
204 exten => s,10,Goto(sw-9-${DIALSTATUS},10)
205 exten => s,11,NoOp(Finish switch-std-priv-exten_7-9)
206 exten => s,12,Return()
207 exten => _sw-9-.,10,Voicemail(u${ext})
208 exten => _sw-9-.,11,Goto(s,11)
209 exten => sw-9-,10,Goto(sw-9-.|10)
210 exten => sw-9-NOANSWER,10,Voicemail(u${ext})
211 exten => sw-9-NOANSWER,11,Goto(s,11)
212 exten => sw-9-ANSWER,10,Goto(s,11)
213 exten => sw-9-BUSY,10,Voicemail(b${ext})
214 exten => sw-9-BUSY,11,Goto(s,11)
215 exten => sw-9-DONTCALL,10,Goto(${dontcont},s,begin)
216 exten => sw-9-DONTCALL,11,Goto(s,11)
217 exten => sw-9-TORTURE,10,Goto(${torcont},s,begin)
218 exten => sw-9-TORTURE,11,Goto(s,11)
219
220
221 [std-priv-exten_8]
222 exten => s,1,Set(LOCAL(dev)=${ARG1})
223 exten => s,2,Set(LOCAL(ext)=${ARG2})
224 exten => s,3,Set(LOCAL(timeout)=${ARG3})
225 exten => s,4,Set(LOCAL(opts)=${ARG4})
226 exten => s,5,Set(LOCAL(torcont)=${ARG5})
227 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
228 exten => s,7,Dial(${dev},${timeout},${opts})
229 exten => s,8,NoOp(${DIALSTATUS} was chosen)
230 exten => s,9,Set(~~EXTEN~~=${EXTEN})
231 exten => s,10,Goto(sw-10-${DIALSTATUS},10)
232 exten => s,11,NoOp(Finish switch-std-priv-exten_8-10)
233 exten => s,12,Return()
234 exten => _sw-10-.,10,Voicemail(u${ext})
235 exten => _sw-10-.,11,Goto(s,11)
236 exten => sw-10-,10,Goto(sw-10-.|10)
237 exten => sw-10-NOANSWER,10,Voicemail(u${ext})
238 exten => sw-10-NOANSWER,11,Goto(s,11)
239 exten => sw-10-ANSWER,10,Goto(s,11)
240 exten => sw-10-BUSY,10,Voicemail(b${ext})
241 exten => sw-10-BUSY,11,Goto(s,11)
242 exten => sw-10-DONTCALL,10,Goto(${dontcont},s,begin)
243 exten => sw-10-DONTCALL,11,Goto(s,11)
244 exten => sw-10-TORTURE,10,Goto(${torcont},s,begin)
245 exten => sw-10-TORTURE,11,Goto(s,11)
246
247
248 [std-priv-exten_9]
249 exten => s,1,Set(LOCAL(dev)=${ARG1})
250 exten => s,2,Set(LOCAL(ext)=${ARG2})
251 exten => s,3,Set(LOCAL(timeout)=${ARG3})
252 exten => s,4,Set(LOCAL(opts)=${ARG4})
253 exten => s,5,Set(LOCAL(torcont)=${ARG5})
254 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
255 exten => s,7,Dial(${dev},${timeout},${opts})
256 exten => s,8,NoOp(${DIALSTATUS} was chosen)
257 exten => s,9,Set(~~EXTEN~~=${EXTEN})
258 exten => s,10,Goto(sw-11-${DIALSTATUS},10)
259 exten => s,11,NoOp(Finish switch-std-priv-exten_9-11)
260 exten => s,12,Return()
261 exten => _sw-11-.,10,Voicemail(u${ext})
262 exten => _sw-11-.,11,Goto(s,11)
263 exten => sw-11-,10,Goto(sw-11-.|10)
264 exten => sw-11-NOANSWER,10,Voicemail(u${ext})
265 exten => sw-11-NOANSWER,11,Goto(s,11)
266 exten => sw-11-ANSWER,10,Goto(s,11)
267 exten => sw-11-BUSY,10,Voicemail(b${ext})
268 exten => sw-11-BUSY,11,Goto(s,11)
269 exten => sw-11-DONTCALL,10,Goto(${dontcont},s,begin)
270 exten => sw-11-DONTCALL,11,Goto(s,11)
271 exten => sw-11-TORTURE,10,Goto(${torcont},s,begin)
272 exten => sw-11-TORTURE,11,Goto(s,11)
273
274
275 [std-priv-exten_10]
276 exten => s,1,Set(LOCAL(dev)=${ARG1})
277 exten => s,2,Set(LOCAL(ext)=${ARG2})
278 exten => s,3,Set(LOCAL(timeout)=${ARG3})
279 exten => s,4,Set(LOCAL(opts)=${ARG4})
280 exten => s,5,Set(LOCAL(torcont)=${ARG5})
281 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
282 exten => s,7,Dial(${dev},${timeout},${opts})
283 exten => s,8,NoOp(${DIALSTATUS} was chosen)
284 exten => s,9,Set(~~EXTEN~~=${EXTEN})
285 exten => s,10,Goto(sw-12-${DIALSTATUS},10)
286 exten => s,11,NoOp(Finish switch-std-priv-exten_10-12)
287 exten => s,12,Return()
288 exten => _sw-12-.,10,Voicemail(u${ext})
289 exten => _sw-12-.,11,Goto(s,11)
290 exten => sw-12-,10,Goto(sw-12-.|10)
291 exten => sw-12-NOANSWER,10,Voicemail(u${ext})
292 exten => sw-12-NOANSWER,11,Goto(s,11)
293 exten => sw-12-ANSWER,10,Goto(s,11)
294 exten => sw-12-BUSY,10,Voicemail(b${ext})
295 exten => sw-12-BUSY,11,Goto(s,11)
296 exten => sw-12-DONTCALL,10,Goto(${dontcont},s,begin)
297 exten => sw-12-DONTCALL,11,Goto(s,11)
298 exten => sw-12-TORTURE,10,Goto(${torcont},s,begin)
299 exten => sw-12-TORTURE,11,Goto(s,11)
300
301
302 [std-priv-exten_11]
303 exten => s,1,Set(LOCAL(dev)=${ARG1})
304 exten => s,2,Set(LOCAL(ext)=${ARG2})
305 exten => s,3,Set(LOCAL(timeout)=${ARG3})
306 exten => s,4,Set(LOCAL(opts)=${ARG4})
307 exten => s,5,Set(LOCAL(torcont)=${ARG5})
308 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
309 exten => s,7,Dial(${dev},${timeout},${opts})
310 exten => s,8,NoOp(${DIALSTATUS} was chosen)
311 exten => s,9,Set(~~EXTEN~~=${EXTEN})
312 exten => s,10,Goto(sw-13-${DIALSTATUS},10)
313 exten => s,11,NoOp(Finish switch-std-priv-exten_11-13)
314 exten => s,12,Return()
315 exten => _sw-13-.,10,Voicemail(u${ext})
316 exten => _sw-13-.,11,Goto(s,11)
317 exten => sw-13-,10,Goto(sw-13-.|10)
318 exten => sw-13-NOANSWER,10,Voicemail(u${ext})
319 exten => sw-13-NOANSWER,11,Goto(s,11)
320 exten => sw-13-ANSWER,10,Goto(s,11)
321 exten => sw-13-BUSY,10,Voicemail(b${ext})
322 exten => sw-13-BUSY,11,Goto(s,11)
323 exten => sw-13-DONTCALL,10,Goto(${dontcont},s,begin)
324 exten => sw-13-DONTCALL,11,Goto(s,11)
325 exten => sw-13-TORTURE,10,Goto(${torcont},s,begin)
326 exten => sw-13-TORTURE,11,Goto(s,11)
327
328
329 [std-priv-exten_12]
330 exten => s,1,Set(LOCAL(dev)=${ARG1})
331 exten => s,2,Set(LOCAL(ext)=${ARG2})
332 exten => s,3,Set(LOCAL(timeout)=${ARG3})
333 exten => s,4,Set(LOCAL(opts)=${ARG4})
334 exten => s,5,Set(LOCAL(torcont)=${ARG5})
335 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
336 exten => s,7,Dial(${dev},${timeout},${opts})
337 exten => s,8,NoOp(${DIALSTATUS} was chosen)
338 exten => s,9,Set(~~EXTEN~~=${EXTEN})
339 exten => s,10,Goto(sw-14-${DIALSTATUS},10)
340 exten => s,11,NoOp(Finish switch-std-priv-exten_12-14)
341 exten => s,12,Return()
342 exten => _sw-14-.,10,Voicemail(u${ext})
343 exten => _sw-14-.,11,Goto(s,11)
344 exten => sw-14-,10,Goto(sw-14-.|10)
345 exten => sw-14-NOANSWER,10,Voicemail(u${ext})
346 exten => sw-14-NOANSWER,11,Goto(s,11)
347 exten => sw-14-ANSWER,10,Goto(s,11)
348 exten => sw-14-BUSY,10,Voicemail(b${ext})
349 exten => sw-14-BUSY,11,Goto(s,11)
350 exten => sw-14-DONTCALL,10,Goto(${dontcont},s,begin)
351 exten => sw-14-DONTCALL,11,Goto(s,11)
352 exten => sw-14-TORTURE,10,Goto(${torcont},s,begin)
353 exten => sw-14-TORTURE,11,Goto(s,11)
354
355
356 [std-priv-exten_13]
357 exten => s,1,Set(LOCAL(dev)=${ARG1})
358 exten => s,2,Set(LOCAL(ext)=${ARG2})
359 exten => s,3,Set(LOCAL(timeout)=${ARG3})
360 exten => s,4,Set(LOCAL(opts)=${ARG4})
361 exten => s,5,Set(LOCAL(torcont)=${ARG5})
362 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
363 exten => s,7,Dial(${dev},${timeout},${opts})
364 exten => s,8,NoOp(${DIALSTATUS} was chosen)
365 exten => s,9,Set(~~EXTEN~~=${EXTEN})
366 exten => s,10,Goto(sw-15-${DIALSTATUS},10)
367 exten => s,11,NoOp(Finish switch-std-priv-exten_13-15)
368 exten => s,12,Return()
369 exten => _sw-15-.,10,Voicemail(u${ext})
370 exten => _sw-15-.,11,Goto(s,11)
371 exten => sw-15-,10,Goto(sw-15-.|10)
372 exten => sw-15-NOANSWER,10,Voicemail(u${ext})
373 exten => sw-15-NOANSWER,11,Goto(s,11)
374 exten => sw-15-ANSWER,10,Goto(s,11)
375 exten => sw-15-BUSY,10,Voicemail(b${ext})
376 exten => sw-15-BUSY,11,Goto(s,11)
377 exten => sw-15-DONTCALL,10,Goto(${dontcont},s,begin)
378 exten => sw-15-DONTCALL,11,Goto(s,11)
379 exten => sw-15-TORTURE,10,Goto(${torcont},s,begin)
380 exten => sw-15-TORTURE,11,Goto(s,11)
381
382
383 [std-priv-exten_14]
384 exten => s,1,Set(LOCAL(dev)=${ARG1})
385 exten => s,2,Set(LOCAL(ext)=${ARG2})
386 exten => s,3,Set(LOCAL(timeout)=${ARG3})
387 exten => s,4,Set(LOCAL(opts)=${ARG4})
388 exten => s,5,Set(LOCAL(torcont)=${ARG5})
389 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
390 exten => s,7,Dial(${dev},${timeout},${opts})
391 exten => s,8,NoOp(${DIALSTATUS} was chosen)
392 exten => s,9,Set(~~EXTEN~~=${EXTEN})
393 exten => s,10,Goto(sw-16-${DIALSTATUS},10)
394 exten => s,11,NoOp(Finish switch-std-priv-exten_14-16)
395 exten => s,12,Return()
396 exten => _sw-16-.,10,Voicemail(u${ext})
397 exten => _sw-16-.,11,Goto(s,11)
398 exten => sw-16-,10,Goto(sw-16-.|10)
399 exten => sw-16-NOANSWER,10,Voicemail(u${ext})
400 exten => sw-16-NOANSWER,11,Goto(s,11)
401 exten => sw-16-ANSWER,10,Goto(s,11)
402 exten => sw-16-BUSY,10,Voicemail(b${ext})
403 exten => sw-16-BUSY,11,Goto(s,11)
404 exten => sw-16-DONTCALL,10,Goto(${dontcont},s,begin)
405 exten => sw-16-DONTCALL,11,Goto(s,11)
406 exten => sw-16-TORTURE,10,Goto(${torcont},s,begin)
407 exten => sw-16-TORTURE,11,Goto(s,11)
408
409
410 [std-priv-exten_15]
411 exten => s,1,Set(LOCAL(dev)=${ARG1})
412 exten => s,2,Set(LOCAL(ext)=${ARG2})
413 exten => s,3,Set(LOCAL(timeout)=${ARG3})
414 exten => s,4,Set(LOCAL(opts)=${ARG4})
415 exten => s,5,Set(LOCAL(torcont)=${ARG5})
416 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
417 exten => s,7,Dial(${dev},${timeout},${opts})
418 exten => s,8,NoOp(${DIALSTATUS} was chosen)
419 exten => s,9,Set(~~EXTEN~~=${EXTEN})
420 exten => s,10,Goto(sw-17-${DIALSTATUS},10)
421 exten => s,11,NoOp(Finish switch-std-priv-exten_15-17)
422 exten => s,12,Return()
423 exten => _sw-17-.,10,Voicemail(u${ext})
424 exten => _sw-17-.,11,Goto(s,11)
425 exten => sw-17-,10,Goto(sw-17-.|10)
426 exten => sw-17-NOANSWER,10,Voicemail(u${ext})
427 exten => sw-17-NOANSWER,11,Goto(s,11)
428 exten => sw-17-ANSWER,10,Goto(s,11)
429 exten => sw-17-BUSY,10,Voicemail(b${ext})
430 exten => sw-17-BUSY,11,Goto(s,11)
431 exten => sw-17-DONTCALL,10,Goto(${dontcont},s,begin)
432 exten => sw-17-DONTCALL,11,Goto(s,11)
433 exten => sw-17-TORTURE,10,Goto(${torcont},s,begin)
434 exten => sw-17-TORTURE,11,Goto(s,11)
435
436
437 [std-priv-exten_16]
438 exten => s,1,Set(LOCAL(dev)=${ARG1})
439 exten => s,2,Set(LOCAL(ext)=${ARG2})
440 exten => s,3,Set(LOCAL(timeout)=${ARG3})
441 exten => s,4,Set(LOCAL(opts)=${ARG4})
442 exten => s,5,Set(LOCAL(torcont)=${ARG5})
443 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
444 exten => s,7,Dial(${dev},${timeout},${opts})
445 exten => s,8,NoOp(${DIALSTATUS} was chosen)
446 exten => s,9,Set(~~EXTEN~~=${EXTEN})
447 exten => s,10,Goto(sw-18-${DIALSTATUS},10)
448 exten => s,11,NoOp(Finish switch-std-priv-exten_16-18)
449 exten => s,12,Return()
450 exten => _sw-18-.,10,Voicemail(u${ext})
451 exten => _sw-18-.,11,Goto(s,11)
452 exten => sw-18-,10,Goto(sw-18-.|10)
453 exten => sw-18-NOANSWER,10,Voicemail(u${ext})
454 exten => sw-18-NOANSWER,11,Goto(s,11)
455 exten => sw-18-ANSWER,10,Goto(s,11)
456 exten => sw-18-BUSY,10,Voicemail(b${ext})
457 exten => sw-18-BUSY,11,Goto(s,11)
458 exten => sw-18-DONTCALL,10,Goto(${dontcont},s,begin)
459 exten => sw-18-DONTCALL,11,Goto(s,11)
460 exten => sw-18-TORTURE,10,Goto(${torcont},s,begin)
461 exten => sw-18-TORTURE,11,Goto(s,11)
462
463
464 [std-priv-exten_17]
465 exten => s,1,Set(LOCAL(dev)=${ARG1})
466 exten => s,2,Set(LOCAL(ext)=${ARG2})
467 exten => s,3,Set(LOCAL(timeout)=${ARG3})
468 exten => s,4,Set(LOCAL(opts)=${ARG4})
469 exten => s,5,Set(LOCAL(torcont)=${ARG5})
470 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
471 exten => s,7,Dial(${dev},${timeout},${opts})
472 exten => s,8,NoOp(${DIALSTATUS} was chosen)
473 exten => s,9,Set(~~EXTEN~~=${EXTEN})
474 exten => s,10,Goto(sw-19-${DIALSTATUS},10)
475 exten => s,11,NoOp(Finish switch-std-priv-exten_17-19)
476 exten => s,12,Return()
477 exten => _sw-19-.,10,Voicemail(u${ext})
478 exten => _sw-19-.,11,Goto(s,11)
479 exten => sw-19-,10,Goto(sw-19-.|10)
480 exten => sw-19-NOANSWER,10,Voicemail(u${ext})
481 exten => sw-19-NOANSWER,11,Goto(s,11)
482 exten => sw-19-ANSWER,10,Goto(s,11)
483 exten => sw-19-BUSY,10,Voicemail(b${ext})
484 exten => sw-19-BUSY,11,Goto(s,11)
485 exten => sw-19-DONTCALL,10,Goto(${dontcont},s,begin)
486 exten => sw-19-DONTCALL,11,Goto(s,11)
487 exten => sw-19-TORTURE,10,Goto(${torcont},s,begin)
488 exten => sw-19-TORTURE,11,Goto(s,11)
489
490
491 [std-priv-exten_18]
492 exten => s,1,Set(LOCAL(dev)=${ARG1})
493 exten => s,2,Set(LOCAL(ext)=${ARG2})
494 exten => s,3,Set(LOCAL(timeout)=${ARG3})
495 exten => s,4,Set(LOCAL(opts)=${ARG4})
496 exten => s,5,Set(LOCAL(torcont)=${ARG5})
497 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
498 exten => s,7,Dial(${dev},${timeout},${opts})
499 exten => s,8,NoOp(${DIALSTATUS} was chosen)
500 exten => s,9,Set(~~EXTEN~~=${EXTEN})
501 exten => s,10,Goto(sw-20-${DIALSTATUS},10)
502 exten => s,11,NoOp(Finish switch-std-priv-exten_18-20)
503 exten => s,12,Return()
504 exten => _sw-20-.,10,Voicemail(u${ext})
505 exten => _sw-20-.,11,Goto(s,11)
506 exten => sw-20-,10,Goto(sw-20-.|10)
507 exten => sw-20-NOANSWER,10,Voicemail(u${ext})
508 exten => sw-20-NOANSWER,11,Goto(s,11)
509 exten => sw-20-ANSWER,10,Goto(s,11)
510 exten => sw-20-BUSY,10,Voicemail(b${ext})
511 exten => sw-20-BUSY,11,Goto(s,11)
512 exten => sw-20-DONTCALL,10,Goto(${dontcont},s,begin)
513 exten => sw-20-DONTCALL,11,Goto(s,11)
514 exten => sw-20-TORTURE,10,Goto(${torcont},s,begin)
515 exten => sw-20-TORTURE,11,Goto(s,11)
516
517
518 [std-priv-exten_19]
519 exten => s,1,Set(LOCAL(dev)=${ARG1})
520 exten => s,2,Set(LOCAL(ext)=${ARG2})
521 exten => s,3,Set(LOCAL(timeout)=${ARG3})
522 exten => s,4,Set(LOCAL(opts)=${ARG4})
523 exten => s,5,Set(LOCAL(torcont)=${ARG5})
524 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
525 exten => s,7,Dial(${dev},${timeout},${opts})
526 exten => s,8,NoOp(${DIALSTATUS} was chosen)
527 exten => s,9,Set(~~EXTEN~~=${EXTEN})
528 exten => s,10,Goto(sw-21-${DIALSTATUS},10)
529 exten => s,11,NoOp(Finish switch-std-priv-exten_19-21)
530 exten => s,12,Return()
531 exten => _sw-21-.,10,Voicemail(u${ext})
532 exten => _sw-21-.,11,Goto(s,11)
533 exten => sw-21-,10,Goto(sw-21-.|10)
534 exten => sw-21-NOANSWER,10,Voicemail(u${ext})
535 exten => sw-21-NOANSWER,11,Goto(s,11)
536 exten => sw-21-ANSWER,10,Goto(s,11)
537 exten => sw-21-BUSY,10,Voicemail(b${ext})
538 exten => sw-21-BUSY,11,Goto(s,11)
539 exten => sw-21-DONTCALL,10,Goto(${dontcont},s,begin)
540 exten => sw-21-DONTCALL,11,Goto(s,11)
541 exten => sw-21-TORTURE,10,Goto(${torcont},s,begin)
542 exten => sw-21-TORTURE,11,Goto(s,11)
543
544
545 [std-priv-exten_20]
546 exten => s,1,Set(LOCAL(dev)=${ARG1})
547 exten => s,2,Set(LOCAL(ext)=${ARG2})
548 exten => s,3,Set(LOCAL(timeout)=${ARG3})
549 exten => s,4,Set(LOCAL(opts)=${ARG4})
550 exten => s,5,Set(LOCAL(torcont)=${ARG5})
551 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
552 exten => s,7,Dial(${dev},${timeout},${opts})
553 exten => s,8,NoOp(${DIALSTATUS} was chosen)
554 exten => s,9,Set(~~EXTEN~~=${EXTEN})
555 exten => s,10,Goto(sw-22-${DIALSTATUS},10)
556 exten => s,11,NoOp(Finish switch-std-priv-exten_20-22)
557 exten => s,12,Return()
558 exten => _sw-22-.,10,Voicemail(u${ext})
559 exten => _sw-22-.,11,Goto(s,11)
560 exten => sw-22-,10,Goto(sw-22-.|10)
561 exten => sw-22-NOANSWER,10,Voicemail(u${ext})
562 exten => sw-22-NOANSWER,11,Goto(s,11)
563 exten => sw-22-ANSWER,10,Goto(s,11)
564 exten => sw-22-BUSY,10,Voicemail(b${ext})
565 exten => sw-22-BUSY,11,Goto(s,11)
566 exten => sw-22-DONTCALL,10,Goto(${dontcont},s,begin)
567 exten => sw-22-DONTCALL,11,Goto(s,11)
568 exten => sw-22-TORTURE,10,Goto(${torcont},s,begin)
569 exten => sw-22-TORTURE,11,Goto(s,11)
570
571
572 [std-priv-exten_21]
573 exten => s,1,Set(LOCAL(dev)=${ARG1})
574 exten => s,2,Set(LOCAL(ext)=${ARG2})
575 exten => s,3,Set(LOCAL(timeout)=${ARG3})
576 exten => s,4,Set(LOCAL(opts)=${ARG4})
577 exten => s,5,Set(LOCAL(torcont)=${ARG5})
578 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
579 exten => s,7,Dial(${dev},${timeout},${opts})
580 exten => s,8,NoOp(${DIALSTATUS} was chosen)
581 exten => s,9,Set(~~EXTEN~~=${EXTEN})
582 exten => s,10,Goto(sw-23-${DIALSTATUS},10)
583 exten => s,11,NoOp(Finish switch-std-priv-exten_21-23)
584 exten => s,12,Return()
585 exten => _sw-23-.,10,Voicemail(u${ext})
586 exten => _sw-23-.,11,Goto(s,11)
587 exten => sw-23-,10,Goto(sw-23-.|10)
588 exten => sw-23-NOANSWER,10,Voicemail(u${ext})
589 exten => sw-23-NOANSWER,11,Goto(s,11)
590 exten => sw-23-ANSWER,10,Goto(s,11)
591 exten => sw-23-BUSY,10,Voicemail(b${ext})
592 exten => sw-23-BUSY,11,Goto(s,11)
593 exten => sw-23-DONTCALL,10,Goto(${dontcont},s,begin)
594 exten => sw-23-DONTCALL,11,Goto(s,11)
595 exten => sw-23-TORTURE,10,Goto(${torcont},s,begin)
596 exten => sw-23-TORTURE,11,Goto(s,11)
597
598
599 [std-priv-exten_22]
600 exten => s,1,Set(LOCAL(dev)=${ARG1})
601 exten => s,2,Set(LOCAL(ext)=${ARG2})
602 exten => s,3,Set(LOCAL(timeout)=${ARG3})
603 exten => s,4,Set(LOCAL(opts)=${ARG4})
604 exten => s,5,Set(LOCAL(torcont)=${ARG5})
605 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
606 exten => s,7,Dial(${dev},${timeout},${opts})
607 exten => s,8,NoOp(${DIALSTATUS} was chosen)
608 exten => s,9,Set(~~EXTEN~~=${EXTEN})
609 exten => s,10,Goto(sw-24-${DIALSTATUS},10)
610 exten => s,11,NoOp(Finish switch-std-priv-exten_22-24)
611 exten => s,12,Return()
612 exten => _sw-24-.,10,Voicemail(u${ext})
613 exten => _sw-24-.,11,Goto(s,11)
614 exten => sw-24-,10,Goto(sw-24-.|10)
615 exten => sw-24-NOANSWER,10,Voicemail(u${ext})
616 exten => sw-24-NOANSWER,11,Goto(s,11)
617 exten => sw-24-ANSWER,10,Goto(s,11)
618 exten => sw-24-BUSY,10,Voicemail(b${ext})
619 exten => sw-24-BUSY,11,Goto(s,11)
620 exten => sw-24-DONTCALL,10,Goto(${dontcont},s,begin)
621 exten => sw-24-DONTCALL,11,Goto(s,11)
622 exten => sw-24-TORTURE,10,Goto(${torcont},s,begin)
623 exten => sw-24-TORTURE,11,Goto(s,11)
624
625
626 [std-priv-exten_23]
627 exten => s,1,Set(LOCAL(dev)=${ARG1})
628 exten => s,2,Set(LOCAL(ext)=${ARG2})
629 exten => s,3,Set(LOCAL(timeout)=${ARG3})
630 exten => s,4,Set(LOCAL(opts)=${ARG4})
631 exten => s,5,Set(LOCAL(torcont)=${ARG5})
632 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
633 exten => s,7,Dial(${dev},${timeout},${opts})
634 exten => s,8,NoOp(${DIALSTATUS} was chosen)
635 exten => s,9,Set(~~EXTEN~~=${EXTEN})
636 exten => s,10,Goto(sw-25-${DIALSTATUS},10)
637 exten => s,11,NoOp(Finish switch-std-priv-exten_23-25)
638 exten => s,12,Return()
639 exten => _sw-25-.,10,Voicemail(u${ext})
640 exten => _sw-25-.,11,Goto(s,11)
641 exten => sw-25-,10,Goto(sw-25-.|10)
642 exten => sw-25-NOANSWER,10,Voicemail(u${ext})
643 exten => sw-25-NOANSWER,11,Goto(s,11)
644 exten => sw-25-ANSWER,10,Goto(s,11)
645 exten => sw-25-BUSY,10,Voicemail(b${ext})
646 exten => sw-25-BUSY,11,Goto(s,11)
647 exten => sw-25-DONTCALL,10,Goto(${dontcont},s,begin)
648 exten => sw-25-DONTCALL,11,Goto(s,11)
649 exten => sw-25-TORTURE,10,Goto(${torcont},s,begin)
650 exten => sw-25-TORTURE,11,Goto(s,11)
651
652
653 [std-priv-exten_24]
654 exten => s,1,Set(LOCAL(dev)=${ARG1})
655 exten => s,2,Set(LOCAL(ext)=${ARG2})
656 exten => s,3,Set(LOCAL(timeout)=${ARG3})
657 exten => s,4,Set(LOCAL(opts)=${ARG4})
658 exten => s,5,Set(LOCAL(torcont)=${ARG5})
659 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
660 exten => s,7,Dial(${dev},${timeout},${opts})
661 exten => s,8,NoOp(${DIALSTATUS} was chosen)
662 exten => s,9,Set(~~EXTEN~~=${EXTEN})
663 exten => s,10,Goto(sw-26-${DIALSTATUS},10)
664 exten => s,11,NoOp(Finish switch-std-priv-exten_24-26)
665 exten => s,12,Return()
666 exten => _sw-26-.,10,Voicemail(u${ext})
667 exten => _sw-26-.,11,Goto(s,11)
668 exten => sw-26-,10,Goto(sw-26-.|10)
669 exten => sw-26-NOANSWER,10,Voicemail(u${ext})
670 exten => sw-26-NOANSWER,11,Goto(s,11)
671 exten => sw-26-ANSWER,10,Goto(s,11)
672 exten => sw-26-BUSY,10,Voicemail(b${ext})
673 exten => sw-26-BUSY,11,Goto(s,11)
674 exten => sw-26-DONTCALL,10,Goto(${dontcont},s,begin)
675 exten => sw-26-DONTCALL,11,Goto(s,11)
676 exten => sw-26-TORTURE,10,Goto(${torcont},s,begin)
677 exten => sw-26-TORTURE,11,Goto(s,11)
678
679
680 [std-priv-exten_25]
681 exten => s,1,Set(LOCAL(dev)=${ARG1})
682 exten => s,2,Set(LOCAL(ext)=${ARG2})
683 exten => s,3,Set(LOCAL(timeout)=${ARG3})
684 exten => s,4,Set(LOCAL(opts)=${ARG4})
685 exten => s,5,Set(LOCAL(torcont)=${ARG5})
686 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
687 exten => s,7,Dial(${dev},${timeout},${opts})
688 exten => s,8,NoOp(${DIALSTATUS} was chosen)
689 exten => s,9,Set(~~EXTEN~~=${EXTEN})
690 exten => s,10,Goto(sw-27-${DIALSTATUS},10)
691 exten => s,11,NoOp(Finish switch-std-priv-exten_25-27)
692 exten => s,12,Return()
693 exten => _sw-27-.,10,Voicemail(u${ext})
694 exten => _sw-27-.,11,Goto(s,11)
695 exten => sw-27-,10,Goto(sw-27-.|10)
696 exten => sw-27-NOANSWER,10,Voicemail(u${ext})
697 exten => sw-27-NOANSWER,11,Goto(s,11)
698 exten => sw-27-ANSWER,10,Goto(s,11)
699 exten => sw-27-BUSY,10,Voicemail(b${ext})
700 exten => sw-27-BUSY,11,Goto(s,11)
701 exten => sw-27-DONTCALL,10,Goto(${dontcont},s,begin)
702 exten => sw-27-DONTCALL,11,Goto(s,11)
703 exten => sw-27-TORTURE,10,Goto(${torcont},s,begin)
704 exten => sw-27-TORTURE,11,Goto(s,11)
705
706
707 [std-priv-exten_26]
708 exten => s,1,Set(LOCAL(dev)=${ARG1})
709 exten => s,2,Set(LOCAL(ext)=${ARG2})
710 exten => s,3,Set(LOCAL(timeout)=${ARG3})
711 exten => s,4,Set(LOCAL(opts)=${ARG4})
712 exten => s,5,Set(LOCAL(torcont)=${ARG5})
713 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
714 exten => s,7,Dial(${dev},${timeout},${opts})
715 exten => s,8,NoOp(${DIALSTATUS} was chosen)
716 exten => s,9,Set(~~EXTEN~~=${EXTEN})
717 exten => s,10,Goto(sw-28-${DIALSTATUS},10)
718 exten => s,11,NoOp(Finish switch-std-priv-exten_26-28)
719 exten => s,12,Return()
720 exten => _sw-28-.,10,Voicemail(u${ext})
721 exten => _sw-28-.,11,Goto(s,11)
722 exten => sw-28-,10,Goto(sw-28-.|10)
723 exten => sw-28-NOANSWER,10,Voicemail(u${ext})
724 exten => sw-28-NOANSWER,11,Goto(s,11)
725 exten => sw-28-ANSWER,10,Goto(s,11)
726 exten => sw-28-BUSY,10,Voicemail(b${ext})
727 exten => sw-28-BUSY,11,Goto(s,11)
728 exten => sw-28-DONTCALL,10,Goto(${dontcont},s,begin)
729 exten => sw-28-DONTCALL,11,Goto(s,11)
730 exten => sw-28-TORTURE,10,Goto(${torcont},s,begin)
731 exten => sw-28-TORTURE,11,Goto(s,11)
732
733
734 [std-priv-exten_27]
735 exten => s,1,Set(LOCAL(dev)=${ARG1})
736 exten => s,2,Set(LOCAL(ext)=${ARG2})
737 exten => s,3,Set(LOCAL(timeout)=${ARG3})
738 exten => s,4,Set(LOCAL(opts)=${ARG4})
739 exten => s,5,Set(LOCAL(torcont)=${ARG5})
740 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
741 exten => s,7,Dial(${dev},${timeout},${opts})
742 exten => s,8,NoOp(${DIALSTATUS} was chosen)
743 exten => s,9,Set(~~EXTEN~~=${EXTEN})
744 exten => s,10,Goto(sw-29-${DIALSTATUS},10)
745 exten => s,11,NoOp(Finish switch-std-priv-exten_27-29)
746 exten => s,12,Return()
747 exten => _sw-29-.,10,Voicemail(u${ext})
748 exten => _sw-29-.,11,Goto(s,11)
749 exten => sw-29-,10,Goto(sw-29-.|10)
750 exten => sw-29-NOANSWER,10,Voicemail(u${ext})
751 exten => sw-29-NOANSWER,11,Goto(s,11)
752 exten => sw-29-ANSWER,10,Goto(s,11)
753 exten => sw-29-BUSY,10,Voicemail(b${ext})
754 exten => sw-29-BUSY,11,Goto(s,11)
755 exten => sw-29-DONTCALL,10,Goto(${dontcont},s,begin)
756 exten => sw-29-DONTCALL,11,Goto(s,11)
757 exten => sw-29-TORTURE,10,Goto(${torcont},s,begin)
758 exten => sw-29-TORTURE,11,Goto(s,11)
759
760
761 [std-priv-exten_28]
762 exten => s,1,Set(LOCAL(dev)=${ARG1})
763 exten => s,2,Set(LOCAL(ext)=${ARG2})
764 exten => s,3,Set(LOCAL(timeout)=${ARG3})
765 exten => s,4,Set(LOCAL(opts)=${ARG4})
766 exten => s,5,Set(LOCAL(torcont)=${ARG5})
767 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
768 exten => s,7,Dial(${dev},${timeout},${opts})
769 exten => s,8,NoOp(${DIALSTATUS} was chosen)
770 exten => s,9,Set(~~EXTEN~~=${EXTEN})
771 exten => s,10,Goto(sw-30-${DIALSTATUS},10)
772 exten => s,11,NoOp(Finish switch-std-priv-exten_28-30)
773 exten => s,12,Return()
774 exten => _sw-30-.,10,Voicemail(u${ext})
775 exten => _sw-30-.,11,Goto(s,11)
776 exten => sw-30-,10,Goto(sw-30-.|10)
777 exten => sw-30-NOANSWER,10,Voicemail(u${ext})
778 exten => sw-30-NOANSWER,11,Goto(s,11)
779 exten => sw-30-ANSWER,10,Goto(s,11)
780 exten => sw-30-BUSY,10,Voicemail(b${ext})
781 exten => sw-30-BUSY,11,Goto(s,11)
782 exten => sw-30-DONTCALL,10,Goto(${dontcont},s,begin)
783 exten => sw-30-DONTCALL,11,Goto(s,11)
784 exten => sw-30-TORTURE,10,Goto(${torcont},s,begin)
785 exten => sw-30-TORTURE,11,Goto(s,11)
786
787
788 [std-priv-exten_29]
789 exten => s,1,Set(LOCAL(dev)=${ARG1})
790 exten => s,2,Set(LOCAL(ext)=${ARG2})
791 exten => s,3,Set(LOCAL(timeout)=${ARG3})
792 exten => s,4,Set(LOCAL(opts)=${ARG4})
793 exten => s,5,Set(LOCAL(torcont)=${ARG5})
794 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
795 exten => s,7,Dial(${dev},${timeout},${opts})
796 exten => s,8,NoOp(${DIALSTATUS} was chosen)
797 exten => s,9,Set(~~EXTEN~~=${EXTEN})
798 exten => s,10,Goto(sw-31-${DIALSTATUS},10)
799 exten => s,11,NoOp(Finish switch-std-priv-exten_29-31)
800 exten => s,12,Return()
801 exten => _sw-31-.,10,Voicemail(u${ext})
802 exten => _sw-31-.,11,Goto(s,11)
803 exten => sw-31-,10,Goto(sw-31-.|10)
804 exten => sw-31-NOANSWER,10,Voicemail(u${ext})
805 exten => sw-31-NOANSWER,11,Goto(s,11)
806 exten => sw-31-ANSWER,10,Goto(s,11)
807 exten => sw-31-BUSY,10,Voicemail(b${ext})
808 exten => sw-31-BUSY,11,Goto(s,11)
809 exten => sw-31-DONTCALL,10,Goto(${dontcont},s,begin)
810 exten => sw-31-DONTCALL,11,Goto(s,11)
811 exten => sw-31-TORTURE,10,Goto(${torcont},s,begin)
812 exten => sw-31-TORTURE,11,Goto(s,11)
813
814
815 [std-priv-exten_30]
816 exten => s,1,Set(LOCAL(dev)=${ARG1})
817 exten => s,2,Set(LOCAL(ext)=${ARG2})
818 exten => s,3,Set(LOCAL(timeout)=${ARG3})
819 exten => s,4,Set(LOCAL(opts)=${ARG4})
820 exten => s,5,Set(LOCAL(torcont)=${ARG5})
821 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
822 exten => s,7,Dial(${dev},${timeout},${opts})
823 exten => s,8,NoOp(${DIALSTATUS} was chosen)
824 exten => s,9,Set(~~EXTEN~~=${EXTEN})
825 exten => s,10,Goto(sw-32-${DIALSTATUS},10)
826 exten => s,11,NoOp(Finish switch-std-priv-exten_30-32)
827 exten => s,12,Return()
828 exten => _sw-32-.,10,Voicemail(u${ext})
829 exten => _sw-32-.,11,Goto(s,11)
830 exten => sw-32-,10,Goto(sw-32-.|10)
831 exten => sw-32-NOANSWER,10,Voicemail(u${ext})
832 exten => sw-32-NOANSWER,11,Goto(s,11)
833 exten => sw-32-ANSWER,10,Goto(s,11)
834 exten => sw-32-BUSY,10,Voicemail(b${ext})
835 exten => sw-32-BUSY,11,Goto(s,11)
836 exten => sw-32-DONTCALL,10,Goto(${dontcont},s,begin)
837 exten => sw-32-DONTCALL,11,Goto(s,11)
838 exten => sw-32-TORTURE,10,Goto(${torcont},s,begin)
839 exten => sw-32-TORTURE,11,Goto(s,11)
840
841
842 [std-priv-exten_31]
843 exten => s,1,Set(LOCAL(dev)=${ARG1})
844 exten => s,2,Set(LOCAL(ext)=${ARG2})
845 exten => s,3,Set(LOCAL(timeout)=${ARG3})
846 exten => s,4,Set(LOCAL(opts)=${ARG4})
847 exten => s,5,Set(LOCAL(torcont)=${ARG5})
848 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
849 exten => s,7,Dial(${dev},${timeout},${opts})
850 exten => s,8,NoOp(${DIALSTATUS} was chosen)
851 exten => s,9,Set(~~EXTEN~~=${EXTEN})
852 exten => s,10,Goto(sw-33-${DIALSTATUS},10)
853 exten => s,11,NoOp(Finish switch-std-priv-exten_31-33)
854 exten => s,12,Return()
855 exten => _sw-33-.,10,Voicemail(u${ext})
856 exten => _sw-33-.,11,Goto(s,11)
857 exten => sw-33-,10,Goto(sw-33-.|10)
858 exten => sw-33-NOANSWER,10,Voicemail(u${ext})
859 exten => sw-33-NOANSWER,11,Goto(s,11)
860 exten => sw-33-ANSWER,10,Goto(s,11)
861 exten => sw-33-BUSY,10,Voicemail(b${ext})
862 exten => sw-33-BUSY,11,Goto(s,11)
863 exten => sw-33-DONTCALL,10,Goto(${dontcont},s,begin)
864 exten => sw-33-DONTCALL,11,Goto(s,11)
865 exten => sw-33-TORTURE,10,Goto(${torcont},s,begin)
866 exten => sw-33-TORTURE,11,Goto(s,11)
867
868
869 [std-priv-exten_32]
870 exten => s,1,Set(LOCAL(dev)=${ARG1})
871 exten => s,2,Set(LOCAL(ext)=${ARG2})
872 exten => s,3,Set(LOCAL(timeout)=${ARG3})
873 exten => s,4,Set(LOCAL(opts)=${ARG4})
874 exten => s,5,Set(LOCAL(torcont)=${ARG5})
875 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
876 exten => s,7,Dial(${dev},${timeout},${opts})
877 exten => s,8,NoOp(${DIALSTATUS} was chosen)
878 exten => s,9,Set(~~EXTEN~~=${EXTEN})
879 exten => s,10,Goto(sw-34-${DIALSTATUS},10)
880 exten => s,11,NoOp(Finish switch-std-priv-exten_32-34)
881 exten => s,12,Return()
882 exten => _sw-34-.,10,Voicemail(u${ext})
883 exten => _sw-34-.,11,Goto(s,11)
884 exten => sw-34-,10,Goto(sw-34-.|10)
885 exten => sw-34-NOANSWER,10,Voicemail(u${ext})
886 exten => sw-34-NOANSWER,11,Goto(s,11)
887 exten => sw-34-ANSWER,10,Goto(s,11)
888 exten => sw-34-BUSY,10,Voicemail(b${ext})
889 exten => sw-34-BUSY,11,Goto(s,11)
890 exten => sw-34-DONTCALL,10,Goto(${dontcont},s,begin)
891 exten => sw-34-DONTCALL,11,Goto(s,11)
892 exten => sw-34-TORTURE,10,Goto(${torcont},s,begin)
893 exten => sw-34-TORTURE,11,Goto(s,11)
894
895
896 [std-priv-exten_33]
897 exten => s,1,Set(LOCAL(dev)=${ARG1})
898 exten => s,2,Set(LOCAL(ext)=${ARG2})
899 exten => s,3,Set(LOCAL(timeout)=${ARG3})
900 exten => s,4,Set(LOCAL(opts)=${ARG4})
901 exten => s,5,Set(LOCAL(torcont)=${ARG5})
902 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
903 exten => s,7,Dial(${dev},${timeout},${opts})
904 exten => s,8,NoOp(${DIALSTATUS} was chosen)
905 exten => s,9,Set(~~EXTEN~~=${EXTEN})
906 exten => s,10,Goto(sw-35-${DIALSTATUS},10)
907 exten => s,11,NoOp(Finish switch-std-priv-exten_33-35)
908 exten => s,12,Return()
909 exten => _sw-35-.,10,Voicemail(u${ext})
910 exten => _sw-35-.,11,Goto(s,11)
911 exten => sw-35-,10,Goto(sw-35-.|10)
912 exten => sw-35-NOANSWER,10,Voicemail(u${ext})
913 exten => sw-35-NOANSWER,11,Goto(s,11)
914 exten => sw-35-ANSWER,10,Goto(s,11)
915 exten => sw-35-BUSY,10,Voicemail(b${ext})
916 exten => sw-35-BUSY,11,Goto(s,11)
917 exten => sw-35-DONTCALL,10,Goto(${dontcont},s,begin)
918 exten => sw-35-DONTCALL,11,Goto(s,11)
919 exten => sw-35-TORTURE,10,Goto(${torcont},s,begin)
920 exten => sw-35-TORTURE,11,Goto(s,11)
921
922
923 [std-priv-exten_34]
924 exten => s,1,Set(LOCAL(dev)=${ARG1})
925 exten => s,2,Set(LOCAL(ext)=${ARG2})
926 exten => s,3,Set(LOCAL(timeout)=${ARG3})
927 exten => s,4,Set(LOCAL(opts)=${ARG4})
928 exten => s,5,Set(LOCAL(torcont)=${ARG5})
929 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
930 exten => s,7,Dial(${dev},${timeout},${opts})
931 exten => s,8,NoOp(${DIALSTATUS} was chosen)
932 exten => s,9,Set(~~EXTEN~~=${EXTEN})
933 exten => s,10,Goto(sw-36-${DIALSTATUS},10)
934 exten => s,11,NoOp(Finish switch-std-priv-exten_34-36)
935 exten => s,12,Return()
936 exten => _sw-36-.,10,Voicemail(u${ext})
937 exten => _sw-36-.,11,Goto(s,11)
938 exten => sw-36-,10,Goto(sw-36-.|10)
939 exten => sw-36-NOANSWER,10,Voicemail(u${ext})
940 exten => sw-36-NOANSWER,11,Goto(s,11)
941 exten => sw-36-ANSWER,10,Goto(s,11)
942 exten => sw-36-BUSY,10,Voicemail(b${ext})
943 exten => sw-36-BUSY,11,Goto(s,11)
944 exten => sw-36-DONTCALL,10,Goto(${dontcont},s,begin)
945 exten => sw-36-DONTCALL,11,Goto(s,11)
946 exten => sw-36-TORTURE,10,Goto(${torcont},s,begin)
947 exten => sw-36-TORTURE,11,Goto(s,11)
948
949
950 [std-priv-exten_35]
951 exten => s,1,Set(LOCAL(dev)=${ARG1})
952 exten => s,2,Set(LOCAL(ext)=${ARG2})
953 exten => s,3,Set(LOCAL(timeout)=${ARG3})
954 exten => s,4,Set(LOCAL(opts)=${ARG4})
955 exten => s,5,Set(LOCAL(torcont)=${ARG5})
956 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
957 exten => s,7,Dial(${dev},${timeout},${opts})
958 exten => s,8,NoOp(${DIALSTATUS} was chosen)
959 exten => s,9,Set(~~EXTEN~~=${EXTEN})
960 exten => s,10,Goto(sw-37-${DIALSTATUS},10)
961 exten => s,11,NoOp(Finish switch-std-priv-exten_35-37)
962 exten => s,12,Return()
963 exten => _sw-37-.,10,Voicemail(u${ext})
964 exten => _sw-37-.,11,Goto(s,11)
965 exten => sw-37-,10,Goto(sw-37-.|10)
966 exten => sw-37-NOANSWER,10,Voicemail(u${ext})
967 exten => sw-37-NOANSWER,11,Goto(s,11)
968 exten => sw-37-ANSWER,10,Goto(s,11)
969 exten => sw-37-BUSY,10,Voicemail(b${ext})
970 exten => sw-37-BUSY,11,Goto(s,11)
971 exten => sw-37-DONTCALL,10,Goto(${dontcont},s,begin)
972 exten => sw-37-DONTCALL,11,Goto(s,11)
973 exten => sw-37-TORTURE,10,Goto(${torcont},s,begin)
974 exten => sw-37-TORTURE,11,Goto(s,11)
975
976
977 [std-priv-exten_36]
978 exten => s,1,Set(LOCAL(dev)=${ARG1})
979 exten => s,2,Set(LOCAL(ext)=${ARG2})
980 exten => s,3,Set(LOCAL(timeout)=${ARG3})
981 exten => s,4,Set(LOCAL(opts)=${ARG4})
982 exten => s,5,Set(LOCAL(torcont)=${ARG5})
983 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
984 exten => s,7,Dial(${dev},${timeout},${opts})
985 exten => s,8,NoOp(${DIALSTATUS} was chosen)
986 exten => s,9,Set(~~EXTEN~~=${EXTEN})
987 exten => s,10,Goto(sw-38-${DIALSTATUS},10)
988 exten => s,11,NoOp(Finish switch-std-priv-exten_36-38)
989 exten => s,12,Return()
990 exten => _sw-38-.,10,Voicemail(u${ext})
991 exten => _sw-38-.,11,Goto(s,11)
992 exten => sw-38-,10,Goto(sw-38-.|10)
993 exten => sw-38-NOANSWER,10,Voicemail(u${ext})
994 exten => sw-38-NOANSWER,11,Goto(s,11)
995 exten => sw-38-ANSWER,10,Goto(s,11)
996 exten => sw-38-BUSY,10,Voicemail(b${ext})
997 exten => sw-38-BUSY,11,Goto(s,11)
998 exten => sw-38-DONTCALL,10,Goto(${dontcont},s,begin)
999 exten => sw-38-DONTCALL,11,Goto(s,11)
1000 exten => sw-38-TORTURE,10,Goto(${torcont},s,begin)
1001 exten => sw-38-TORTURE,11,Goto(s,11)
1002
1003
1004 [std-priv-exten_37]
1005 exten => s,1,Set(LOCAL(dev)=${ARG1})
1006 exten => s,2,Set(LOCAL(ext)=${ARG2})
1007 exten => s,3,Set(LOCAL(timeout)=${ARG3})
1008 exten => s,4,Set(LOCAL(opts)=${ARG4})
1009 exten => s,5,Set(LOCAL(torcont)=${ARG5})
1010 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
1011 exten => s,7,Dial(${dev},${timeout},${opts})
1012 exten => s,8,NoOp(${DIALSTATUS} was chosen)
1013 exten => s,9,Set(~~EXTEN~~=${EXTEN})
1014 exten => s,10,Goto(sw-39-${DIALSTATUS},10)
1015 exten => s,11,NoOp(Finish switch-std-priv-exten_37-39)
1016 exten => s,12,Return()
1017 exten => _sw-39-.,10,Voicemail(u${ext})
1018 exten => _sw-39-.,11,Goto(s,11)
1019 exten => sw-39-,10,Goto(sw-39-.|10)
1020 exten => sw-39-NOANSWER,10,Voicemail(u${ext})
1021 exten => sw-39-NOANSWER,11,Goto(s,11)
1022 exten => sw-39-ANSWER,10,Goto(s,11)
1023 exten => sw-39-BUSY,10,Voicemail(b${ext})
1024 exten => sw-39-BUSY,11,Goto(s,11)
1025 exten => sw-39-DONTCALL,10,Goto(${dontcont},s,begin)
1026 exten => sw-39-DONTCALL,11,Goto(s,11)
1027 exten => sw-39-TORTURE,10,Goto(${torcont},s,begin)
1028 exten => sw-39-TORTURE,11,Goto(s,11)
1029
1030
1031 [std-priv-exten_38]
1032 exten => s,1,Set(LOCAL(dev)=${ARG1})
1033 exten => s,2,Set(LOCAL(ext)=${ARG2})
1034 exten => s,3,Set(LOCAL(timeout)=${ARG3})
1035 exten => s,4,Set(LOCAL(opts)=${ARG4})
1036 exten => s,5,Set(LOCAL(torcont)=${ARG5})
1037 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
1038 exten => s,7,Dial(${dev},${timeout},${opts})
1039 exten => s,8,NoOp(${DIALSTATUS} was chosen)
1040 exten => s,9,Set(~~EXTEN~~=${EXTEN})
1041 exten => s,10,Goto(sw-40-${DIALSTATUS},10)
1042 exten => s,11,NoOp(Finish switch-std-priv-exten_38-40)
1043 exten => s,12,Return()
1044 exten => _sw-40-.,10,Voicemail(u${ext})
1045 exten => _sw-40-.,11,Goto(s,11)
1046 exten => sw-40-,10,Goto(sw-40-.|10)
1047 exten => sw-40-NOANSWER,10,Voicemail(u${ext})
1048 exten => sw-40-NOANSWER,11,Goto(s,11)
1049 exten => sw-40-ANSWER,10,Goto(s,11)
1050 exten => sw-40-BUSY,10,Voicemail(b${ext})
1051 exten => sw-40-BUSY,11,Goto(s,11)
1052 exten => sw-40-DONTCALL,10,Goto(${dontcont},s,begin)
1053 exten => sw-40-DONTCALL,11,Goto(s,11)
1054 exten => sw-40-TORTURE,10,Goto(${torcont},s,begin)
1055 exten => sw-40-TORTURE,11,Goto(s,11)
1056
1057
1058 [std-priv-exten_39]
1059 exten => s,1,Set(LOCAL(dev)=${ARG1})
1060 exten => s,2,Set(LOCAL(ext)=${ARG2})
1061 exten => s,3,Set(LOCAL(timeout)=${ARG3})
1062 exten => s,4,Set(LOCAL(opts)=${ARG4})
1063 exten => s,5,Set(LOCAL(torcont)=${ARG5})
1064 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
1065 exten => s,7,Dial(${dev},${timeout},${opts})
1066 exten => s,8,NoOp(${DIALSTATUS} was chosen)
1067 exten => s,9,Set(~~EXTEN~~=${EXTEN})
1068 exten => s,10,Goto(sw-41-${DIALSTATUS},10)
1069 exten => s,11,NoOp(Finish switch-std-priv-exten_39-41)
1070 exten => s,12,Return()
1071 exten => _sw-41-.,10,Voicemail(u${ext})
1072 exten => _sw-41-.,11,Goto(s,11)
1073 exten => sw-41-,10,Goto(sw-41-.|10)
1074 exten => sw-41-NOANSWER,10,Voicemail(u${ext})
1075 exten => sw-41-NOANSWER,11,Goto(s,11)
1076 exten => sw-41-ANSWER,10,Goto(s,11)
1077 exten => sw-41-BUSY,10,Voicemail(b${ext})
1078 exten => sw-41-BUSY,11,Goto(s,11)
1079 exten => sw-41-DONTCALL,10,Goto(${dontcont},s,begin)
1080 exten => sw-41-DONTCALL,11,Goto(s,11)
1081 exten => sw-41-TORTURE,10,Goto(${torcont},s,begin)
1082 exten => sw-41-TORTURE,11,Goto(s,11)
1083
1084
1085 [std-priv-exten_40]
1086 exten => s,1,Set(LOCAL(dev)=${ARG1})
1087 exten => s,2,Set(LOCAL(ext)=${ARG2})
1088 exten => s,3,Set(LOCAL(timeout)=${ARG3})
1089 exten => s,4,Set(LOCAL(opts)=${ARG4})
1090 exten => s,5,Set(LOCAL(torcont)=${ARG5})
1091 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
1092 exten => s,7,Dial(${dev},${timeout},${opts})
1093 exten => s,8,NoOp(${DIALSTATUS} was chosen)
1094 exten => s,9,Set(~~EXTEN~~=${EXTEN})
1095 exten => s,10,Goto(sw-42-${DIALSTATUS},10)
1096 exten => s,11,NoOp(Finish switch-std-priv-exten_40-42)
1097 exten => s,12,Return()
1098 exten => _sw-42-.,10,Voicemail(u${ext})
1099 exten => _sw-42-.,11,Goto(s,11)
1100 exten => sw-42-,10,Goto(sw-42-.|10)
1101 exten => sw-42-NOANSWER,10,Voicemail(u${ext})
1102 exten => sw-42-NOANSWER,11,Goto(s,11)
1103 exten => sw-42-ANSWER,10,Goto(s,11)
1104 exten => sw-42-BUSY,10,Voicemail(b${ext})
1105 exten => sw-42-BUSY,11,Goto(s,11)
1106 exten => sw-42-DONTCALL,10,Goto(${dontcont},s,begin)
1107 exten => sw-42-DONTCALL,11,Goto(s,11)
1108 exten => sw-42-TORTURE,10,Goto(${torcont},s,begin)
1109 exten => sw-42-TORTURE,11,Goto(s,11)
1110
1111
1112 [std-priv-exten_41]
1113 exten => s,1,Set(LOCAL(dev)=${ARG1})
1114 exten => s,2,Set(LOCAL(ext)=${ARG2})
1115 exten => s,3,Set(LOCAL(timeout)=${ARG3})
1116 exten => s,4,Set(LOCAL(opts)=${ARG4})
1117 exten => s,5,Set(LOCAL(torcont)=${ARG5})
1118 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
1119 exten => s,7,Dial(${dev},${timeout},${opts})
1120 exten => s,8,NoOp(${DIALSTATUS} was chosen)
1121 exten => s,9,Set(~~EXTEN~~=${EXTEN})
1122 exten => s,10,Goto(sw-43-${DIALSTATUS},10)
1123 exten => s,11,NoOp(Finish switch-std-priv-exten_41-43)
1124 exten => s,12,Return()
1125 exten => _sw-43-.,10,Voicemail(u${ext})
1126 exten => _sw-43-.,11,Goto(s,11)
1127 exten => sw-43-,10,Goto(sw-43-.|10)
1128 exten => sw-43-NOANSWER,10,Voicemail(u${ext})
1129 exten => sw-43-NOANSWER,11,Goto(s,11)
1130 exten => sw-43-ANSWER,10,Goto(s,11)
1131 exten => sw-43-BUSY,10,Voicemail(b${ext})
1132 exten => sw-43-BUSY,11,Goto(s,11)
1133 exten => sw-43-DONTCALL,10,Goto(${dontcont},s,begin)
1134 exten => sw-43-DONTCALL,11,Goto(s,11)
1135 exten => sw-43-TORTURE,10,Goto(${torcont},s,begin)
1136 exten => sw-43-TORTURE,11,Goto(s,11)
1137
1138
1139 [std-priv-exten_42]
1140 exten => s,1,Set(LOCAL(dev)=${ARG1})
1141 exten => s,2,Set(LOCAL(ext)=${ARG2})
1142 exten => s,3,Set(LOCAL(timeout)=${ARG3})
1143 exten => s,4,Set(LOCAL(opts)=${ARG4})
1144 exten => s,5,Set(LOCAL(torcont)=${ARG5})
1145 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
1146 exten => s,7,Dial(${dev},${timeout},${opts})
1147 exten => s,8,NoOp(${DIALSTATUS} was chosen)
1148 exten => s,9,Set(~~EXTEN~~=${EXTEN})
1149 exten => s,10,Goto(sw-44-${DIALSTATUS},10)
1150 exten => s,11,NoOp(Finish switch-std-priv-exten_42-44)
1151 exten => s,12,Return()
1152 exten => _sw-44-.,10,Voicemail(u${ext})
1153 exten => _sw-44-.,11,Goto(s,11)
1154 exten => sw-44-,10,Goto(sw-44-.|10)
1155 exten => sw-44-NOANSWER,10,Voicemail(u${ext})
1156 exten => sw-44-NOANSWER,11,Goto(s,11)
1157 exten => sw-44-ANSWER,10,Goto(s,11)
1158 exten => sw-44-BUSY,10,Voicemail(b${ext})
1159 exten => sw-44-BUSY,11,Goto(s,11)
1160 exten => sw-44-DONTCALL,10,Goto(${dontcont},s,begin)
1161 exten => sw-44-DONTCALL,11,Goto(s,11)
1162 exten => sw-44-TORTURE,10,Goto(${torcont},s,begin)
1163 exten => sw-44-TORTURE,11,Goto(s,11)
1164
1165
1166 [std-priv-exten_43]
1167 exten => s,1,Set(LOCAL(dev)=${ARG1})
1168 exten => s,2,Set(LOCAL(ext)=${ARG2})
1169 exten => s,3,Set(LOCAL(timeout)=${ARG3})
1170 exten => s,4,Set(LOCAL(opts)=${ARG4})
1171 exten => s,5,Set(LOCAL(torcont)=${ARG5})
1172 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
1173 exten => s,7,Dial(${dev},${timeout},${opts})
1174 exten => s,8,NoOp(${DIALSTATUS} was chosen)
1175 exten => s,9,Set(~~EXTEN~~=${EXTEN})
1176 exten => s,10,Goto(sw-45-${DIALSTATUS},10)
1177 exten => s,11,NoOp(Finish switch-std-priv-exten_43-45)
1178 exten => s,12,Return()
1179 exten => _sw-45-.,10,Voicemail(u${ext})
1180 exten => _sw-45-.,11,Goto(s,11)
1181 exten => sw-45-,10,Goto(sw-45-.|10)
1182 exten => sw-45-NOANSWER,10,Voicemail(u${ext})
1183 exten => sw-45-NOANSWER,11,Goto(s,11)
1184 exten => sw-45-ANSWER,10,Goto(s,11)
1185 exten => sw-45-BUSY,10,Voicemail(b${ext})
1186 exten => sw-45-BUSY,11,Goto(s,11)
1187 exten => sw-45-DONTCALL,10,Goto(${dontcont},s,begin)
1188 exten => sw-45-DONTCALL,11,Goto(s,11)
1189 exten => sw-45-TORTURE,10,Goto(${torcont},s,begin)
1190 exten => sw-45-TORTURE,11,Goto(s,11)
1191
1192
1193 [std-priv-exten_44]
1194 exten => s,1,Set(LOCAL(dev)=${ARG1})
1195 exten => s,2,Set(LOCAL(ext)=${ARG2})
1196 exten => s,3,Set(LOCAL(timeout)=${ARG3})
1197 exten => s,4,Set(LOCAL(opts)=${ARG4})
1198 exten => s,5,Set(LOCAL(torcont)=${ARG5})
1199 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
1200 exten => s,7,Dial(${dev},${timeout},${opts})
1201 exten => s,8,NoOp(${DIALSTATUS} was chosen)
1202 exten => s,9,Set(~~EXTEN~~=${EXTEN})
1203 exten => s,10,Goto(sw-46-${DIALSTATUS},10)
1204 exten => s,11,NoOp(Finish switch-std-priv-exten_44-46)
1205 exten => s,12,Return()
1206 exten => _sw-46-.,10,Voicemail(u${ext})
1207 exten => _sw-46-.,11,Goto(s,11)
1208 exten => sw-46-,10,Goto(sw-46-.|10)
1209 exten => sw-46-NOANSWER,10,Voicemail(u${ext})
1210 exten => sw-46-NOANSWER,11,Goto(s,11)
1211 exten => sw-46-ANSWER,10,Goto(s,11)
1212 exten => sw-46-BUSY,10,Voicemail(b${ext})
1213 exten => sw-46-BUSY,11,Goto(s,11)
1214 exten => sw-46-DONTCALL,10,Goto(${dontcont},s,begin)
1215 exten => sw-46-DONTCALL,11,Goto(s,11)
1216 exten => sw-46-TORTURE,10,Goto(${torcont},s,begin)
1217 exten => sw-46-TORTURE,11,Goto(s,11)
1218
1219
1220 [std-priv-exten_45]
1221 exten => s,1,Set(LOCAL(dev)=${ARG1})
1222 exten => s,2,Set(LOCAL(ext)=${ARG2})
1223 exten => s,3,Set(LOCAL(timeout)=${ARG3})
1224 exten => s,4,Set(LOCAL(opts)=${ARG4})
1225 exten => s,5,Set(LOCAL(torcont)=${ARG5})
1226 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
1227 exten => s,7,Dial(${dev},${timeout},${opts})
1228 exten => s,8,NoOp(${DIALSTATUS} was chosen)
1229 exten => s,9,Set(~~EXTEN~~=${EXTEN})
1230 exten => s,10,Goto(sw-47-${DIALSTATUS},10)
1231 exten => s,11,NoOp(Finish switch-std-priv-exten_45-47)
1232 exten => s,12,Return()
1233 exten => _sw-47-.,10,Voicemail(u${ext})
1234 exten => _sw-47-.,11,Goto(s,11)
1235 exten => sw-47-,10,Goto(sw-47-.|10)
1236 exten => sw-47-NOANSWER,10,Voicemail(u${ext})
1237 exten => sw-47-NOANSWER,11,Goto(s,11)
1238 exten => sw-47-ANSWER,10,Goto(s,11)
1239 exten => sw-47-BUSY,10,Voicemail(b${ext})
1240 exten => sw-47-BUSY,11,Goto(s,11)
1241 exten => sw-47-DONTCALL,10,Goto(${dontcont},s,begin)
1242 exten => sw-47-DONTCALL,11,Goto(s,11)
1243 exten => sw-47-TORTURE,10,Goto(${torcont},s,begin)
1244 exten => sw-47-TORTURE,11,Goto(s,11)
1245
1246
1247 [std-priv-exten_46]
1248 exten => s,1,Set(LOCAL(dev)=${ARG1})
1249 exten => s,2,Set(LOCAL(ext)=${ARG2})
1250 exten => s,3,Set(LOCAL(timeout)=${ARG3})
1251 exten => s,4,Set(LOCAL(opts)=${ARG4})
1252 exten => s,5,Set(LOCAL(torcont)=${ARG5})
1253 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
1254 exten => s,7,Dial(${dev},${timeout},${opts})
1255 exten => s,8,NoOp(${DIALSTATUS} was chosen)
1256 exten => s,9,Set(~~EXTEN~~=${EXTEN})
1257 exten => s,10,Goto(sw-48-${DIALSTATUS},10)
1258 exten => s,11,NoOp(Finish switch-std-priv-exten_46-48)
1259 exten => s,12,Return()
1260 exten => _sw-48-.,10,Voicemail(u${ext})
1261 exten => _sw-48-.,11,Goto(s,11)
1262 exten => sw-48-,10,Goto(sw-48-.|10)
1263 exten => sw-48-NOANSWER,10,Voicemail(u${ext})
1264 exten => sw-48-NOANSWER,11,Goto(s,11)
1265 exten => sw-48-ANSWER,10,Goto(s,11)
1266 exten => sw-48-BUSY,10,Voicemail(b${ext})
1267 exten => sw-48-BUSY,11,Goto(s,11)
1268 exten => sw-48-DONTCALL,10,Goto(${dontcont},s,begin)
1269 exten => sw-48-DONTCALL,11,Goto(s,11)
1270 exten => sw-48-TORTURE,10,Goto(${torcont},s,begin)
1271 exten => sw-48-TORTURE,11,Goto(s,11)
1272
1273
1274 [std-priv-exten_47]
1275 exten => s,1,Set(LOCAL(dev)=${ARG1})
1276 exten => s,2,Set(LOCAL(ext)=${ARG2})
1277 exten => s,3,Set(LOCAL(timeout)=${ARG3})
1278 exten => s,4,Set(LOCAL(opts)=${ARG4})
1279 exten => s,5,Set(LOCAL(torcont)=${ARG5})
1280 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
1281 exten => s,7,Dial(${dev},${timeout},${opts})
1282 exten => s,8,NoOp(${DIALSTATUS} was chosen)
1283 exten => s,9,Set(~~EXTEN~~=${EXTEN})
1284 exten => s,10,Goto(sw-49-${DIALSTATUS},10)
1285 exten => s,11,NoOp(Finish switch-std-priv-exten_47-49)
1286 exten => s,12,Return()
1287 exten => _sw-49-.,10,Voicemail(u${ext})
1288 exten => _sw-49-.,11,Goto(s,11)
1289 exten => sw-49-,10,Goto(sw-49-.|10)
1290 exten => sw-49-NOANSWER,10,Voicemail(u${ext})
1291 exten => sw-49-NOANSWER,11,Goto(s,11)
1292 exten => sw-49-ANSWER,10,Goto(s,11)
1293 exten => sw-49-BUSY,10,Voicemail(b${ext})
1294 exten => sw-49-BUSY,11,Goto(s,11)
1295 exten => sw-49-DONTCALL,10,Goto(${dontcont},s,begin)
1296 exten => sw-49-DONTCALL,11,Goto(s,11)
1297 exten => sw-49-TORTURE,10,Goto(${torcont},s,begin)
1298 exten => sw-49-TORTURE,11,Goto(s,11)
1299
1300
1301 [std-priv-exten_48]
1302 exten => s,1,Set(LOCAL(dev)=${ARG1})
1303 exten => s,2,Set(LOCAL(ext)=${ARG2})
1304 exten => s,3,Set(LOCAL(timeout)=${ARG3})
1305 exten => s,4,Set(LOCAL(opts)=${ARG4})
1306 exten => s,5,Set(LOCAL(torcont)=${ARG5})
1307 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
1308 exten => s,7,Dial(${dev},${timeout},${opts})
1309 exten => s,8,NoOp(${DIALSTATUS} was chosen)
1310 exten => s,9,Set(~~EXTEN~~=${EXTEN})
1311 exten => s,10,Goto(sw-50-${DIALSTATUS},10)
1312 exten => s,11,NoOp(Finish switch-std-priv-exten_48-50)
1313 exten => s,12,Return()
1314 exten => _sw-50-.,10,Voicemail(u${ext})
1315 exten => _sw-50-.,11,Goto(s,11)
1316 exten => sw-50-,10,Goto(sw-50-.|10)
1317 exten => sw-50-NOANSWER,10,Voicemail(u${ext})
1318 exten => sw-50-NOANSWER,11,Goto(s,11)
1319 exten => sw-50-ANSWER,10,Goto(s,11)
1320 exten => sw-50-BUSY,10,Voicemail(b${ext})
1321 exten => sw-50-BUSY,11,Goto(s,11)
1322 exten => sw-50-DONTCALL,10,Goto(${dontcont},s,begin)
1323 exten => sw-50-DONTCALL,11,Goto(s,11)
1324 exten => sw-50-TORTURE,10,Goto(${torcont},s,begin)
1325 exten => sw-50-TORTURE,11,Goto(s,11)
1326
1327
1328 [std-priv-exten_49]
1329 exten => s,1,Set(LOCAL(dev)=${ARG1})
1330 exten => s,2,Set(LOCAL(ext)=${ARG2})
1331 exten => s,3,Set(LOCAL(timeout)=${ARG3})
1332 exten => s,4,Set(LOCAL(opts)=${ARG4})
1333 exten => s,5,Set(LOCAL(torcont)=${ARG5})
1334 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
1335 exten => s,7,Dial(${dev},${timeout},${opts})
1336 exten => s,8,NoOp(${DIALSTATUS} was chosen)
1337 exten => s,9,Set(~~EXTEN~~=${EXTEN})
1338 exten => s,10,Goto(sw-51-${DIALSTATUS},10)
1339 exten => s,11,NoOp(Finish switch-std-priv-exten_49-51)
1340 exten => s,12,Return()
1341 exten => _sw-51-.,10,Voicemail(u${ext})
1342 exten => _sw-51-.,11,Goto(s,11)
1343 exten => sw-51-,10,Goto(sw-51-.|10)
1344 exten => sw-51-NOANSWER,10,Voicemail(u${ext})
1345 exten => sw-51-NOANSWER,11,Goto(s,11)
1346 exten => sw-51-ANSWER,10,Goto(s,11)
1347 exten => sw-51-BUSY,10,Voicemail(b${ext})
1348 exten => sw-51-BUSY,11,Goto(s,11)
1349 exten => sw-51-DONTCALL,10,Goto(${dontcont},s,begin)
1350 exten => sw-51-DONTCALL,11,Goto(s,11)
1351 exten => sw-51-TORTURE,10,Goto(${torcont},s,begin)
1352 exten => sw-51-TORTURE,11,Goto(s,11)
1353
1354
1355 [std-priv-exten_50]
1356 exten => s,1,Set(LOCAL(dev)=${ARG1})
1357 exten => s,2,Set(LOCAL(ext)=${ARG2})
1358 exten => s,3,Set(LOCAL(timeout)=${ARG3})
1359 exten => s,4,Set(LOCAL(opts)=${ARG4})
1360 exten => s,5,Set(LOCAL(torcont)=${ARG5})
1361 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
1362 exten => s,7,Dial(${dev},${timeout},${opts})
1363 exten => s,8,NoOp(${DIALSTATUS} was chosen)
1364 exten => s,9,Set(~~EXTEN~~=${EXTEN})
1365 exten => s,10,Goto(sw-52-${DIALSTATUS},10)
1366 exten => s,11,NoOp(Finish switch-std-priv-exten_50-52)
1367 exten => s,12,Return()
1368 exten => _sw-52-.,10,Voicemail(u${ext})
1369 exten => _sw-52-.,11,Goto(s,11)
1370 exten => sw-52-,10,Goto(sw-52-.|10)
1371 exten => sw-52-NOANSWER,10,Voicemail(u${ext})
1372 exten => sw-52-NOANSWER,11,Goto(s,11)
1373 exten => sw-52-ANSWER,10,Goto(s,11)
1374 exten => sw-52-BUSY,10,Voicemail(b${ext})
1375 exten => sw-52-BUSY,11,Goto(s,11)
1376 exten => sw-52-DONTCALL,10,Goto(${dontcont},s,begin)
1377 exten => sw-52-DONTCALL,11,Goto(s,11)
1378 exten => sw-52-TORTURE,10,Goto(${torcont},s,begin)
1379 exten => sw-52-TORTURE,11,Goto(s,11)
1380
1381
1382 [std-priv-exten_51]
1383 exten => s,1,Set(LOCAL(dev)=${ARG1})
1384 exten => s,2,Set(LOCAL(ext)=${ARG2})
1385 exten => s,3,Set(LOCAL(timeout)=${ARG3})
1386 exten => s,4,Set(LOCAL(opts)=${ARG4})
1387 exten => s,5,Set(LOCAL(torcont)=${ARG5})
1388 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
1389 exten => s,7,Dial(${dev},${timeout},${opts})
1390 exten => s,8,NoOp(${DIALSTATUS} was chosen)
1391 exten => s,9,Set(~~EXTEN~~=${EXTEN})
1392 exten => s,10,Goto(sw-53-${DIALSTATUS},10)
1393 exten => s,11,NoOp(Finish switch-std-priv-exten_51-53)
1394 exten => s,12,Return()
1395 exten => _sw-53-.,10,Voicemail(u${ext})
1396 exten => _sw-53-.,11,Goto(s,11)
1397 exten => sw-53-,10,Goto(sw-53-.|10)
1398 exten => sw-53-NOANSWER,10,Voicemail(u${ext})
1399 exten => sw-53-NOANSWER,11,Goto(s,11)
1400 exten => sw-53-ANSWER,10,Goto(s,11)
1401 exten => sw-53-BUSY,10,Voicemail(b${ext})
1402 exten => sw-53-BUSY,11,Goto(s,11)
1403 exten => sw-53-DONTCALL,10,Goto(${dontcont},s,begin)
1404 exten => sw-53-DONTCALL,11,Goto(s,11)
1405 exten => sw-53-TORTURE,10,Goto(${torcont},s,begin)
1406 exten => sw-53-TORTURE,11,Goto(s,11)
1407
1408
1409 [std-priv-exten_52]
1410 exten => s,1,Set(LOCAL(dev)=${ARG1})
1411 exten => s,2,Set(LOCAL(ext)=${ARG2})
1412 exten => s,3,Set(LOCAL(timeout)=${ARG3})
1413 exten => s,4,Set(LOCAL(opts)=${ARG4})
1414 exten => s,5,Set(LOCAL(torcont)=${ARG5})
1415 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
1416 exten => s,7,Dial(${dev},${timeout},${opts})
1417 exten => s,8,NoOp(${DIALSTATUS} was chosen)
1418 exten => s,9,Set(~~EXTEN~~=${EXTEN})
1419 exten => s,10,Goto(sw-54-${DIALSTATUS},10)
1420 exten => s,11,NoOp(Finish switch-std-priv-exten_52-54)
1421 exten => s,12,Return()
1422 exten => _sw-54-.,10,Voicemail(u${ext})
1423 exten => _sw-54-.,11,Goto(s,11)
1424 exten => sw-54-,10,Goto(sw-54-.|10)
1425 exten => sw-54-NOANSWER,10,Voicemail(u${ext})
1426 exten => sw-54-NOANSWER,11,Goto(s,11)
1427 exten => sw-54-ANSWER,10,Goto(s,11)
1428 exten => sw-54-BUSY,10,Voicemail(b${ext})
1429 exten => sw-54-BUSY,11,Goto(s,11)
1430 exten => sw-54-DONTCALL,10,Goto(${dontcont},s,begin)
1431 exten => sw-54-DONTCALL,11,Goto(s,11)
1432 exten => sw-54-TORTURE,10,Goto(${torcont},s,begin)
1433 exten => sw-54-TORTURE,11,Goto(s,11)
1434
1435
1436 [std-priv-exten_53]
1437 exten => s,1,Set(LOCAL(dev)=${ARG1})
1438 exten => s,2,Set(LOCAL(ext)=${ARG2})
1439 exten => s,3,Set(LOCAL(timeout)=${ARG3})
1440 exten => s,4,Set(LOCAL(opts)=${ARG4})
1441 exten => s,5,Set(LOCAL(torcont)=${ARG5})
1442 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
1443 exten => s,7,Dial(${dev},${timeout},${opts})
1444 exten => s,8,NoOp(${DIALSTATUS} was chosen)
1445 exten => s,9,Set(~~EXTEN~~=${EXTEN})
1446 exten => s,10,Goto(sw-55-${DIALSTATUS},10)
1447 exten => s,11,NoOp(Finish switch-std-priv-exten_53-55)
1448 exten => s,12,Return()
1449 exten => _sw-55-.,10,Voicemail(u${ext})
1450 exten => _sw-55-.,11,Goto(s,11)
1451 exten => sw-55-,10,Goto(sw-55-.|10)
1452 exten => sw-55-NOANSWER,10,Voicemail(u${ext})
1453 exten => sw-55-NOANSWER,11,Goto(s,11)
1454 exten => sw-55-ANSWER,10,Goto(s,11)
1455 exten => sw-55-BUSY,10,Voicemail(b${ext})
1456 exten => sw-55-BUSY,11,Goto(s,11)
1457 exten => sw-55-DONTCALL,10,Goto(${dontcont},s,begin)
1458 exten => sw-55-DONTCALL,11,Goto(s,11)
1459 exten => sw-55-TORTURE,10,Goto(${torcont},s,begin)
1460 exten => sw-55-TORTURE,11,Goto(s,11)
1461
1462
1463 [std-priv-exten_54]
1464 exten => s,1,Set(LOCAL(dev)=${ARG1})
1465 exten => s,2,Set(LOCAL(ext)=${ARG2})
1466 exten => s,3,Set(LOCAL(timeout)=${ARG3})
1467 exten => s,4,Set(LOCAL(opts)=${ARG4})
1468 exten => s,5,Set(LOCAL(torcont)=${ARG5})
1469 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
1470 exten => s,7,Dial(${dev},${timeout},${opts})
1471 exten => s,8,NoOp(${DIALSTATUS} was chosen)
1472 exten => s,9,Set(~~EXTEN~~=${EXTEN})
1473 exten => s,10,Goto(sw-56-${DIALSTATUS},10)
1474 exten => s,11,NoOp(Finish switch-std-priv-exten_54-56)
1475 exten => s,12,Return()
1476 exten => _sw-56-.,10,Voicemail(u${ext})
1477 exten => _sw-56-.,11,Goto(s,11)
1478 exten => sw-56-,10,Goto(sw-56-.|10)
1479 exten => sw-56-NOANSWER,10,Voicemail(u${ext})
1480 exten => sw-56-NOANSWER,11,Goto(s,11)
1481 exten => sw-56-ANSWER,10,Goto(s,11)
1482 exten => sw-56-BUSY,10,Voicemail(b${ext})
1483 exten => sw-56-BUSY,11,Goto(s,11)
1484 exten => sw-56-DONTCALL,10,Goto(${dontcont},s,begin)
1485 exten => sw-56-DONTCALL,11,Goto(s,11)
1486 exten => sw-56-TORTURE,10,Goto(${torcont},s,begin)
1487 exten => sw-56-TORTURE,11,Goto(s,11)
1488
1489
1490 [std-priv-exten_55]
1491 exten => s,1,Set(LOCAL(dev)=${ARG1})
1492 exten => s,2,Set(LOCAL(ext)=${ARG2})
1493 exten => s,3,Set(LOCAL(timeout)=${ARG3})
1494 exten => s,4,Set(LOCAL(opts)=${ARG4})
1495 exten => s,5,Set(LOCAL(torcont)=${ARG5})
1496 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
1497 exten => s,7,Dial(${dev},${timeout},${opts})
1498 exten => s,8,NoOp(${DIALSTATUS} was chosen)
1499 exten => s,9,Set(~~EXTEN~~=${EXTEN})
1500 exten => s,10,Goto(sw-57-${DIALSTATUS},10)
1501 exten => s,11,NoOp(Finish switch-std-priv-exten_55-57)
1502 exten => s,12,Return()
1503 exten => _sw-57-.,10,Voicemail(u${ext})
1504 exten => _sw-57-.,11,Goto(s,11)
1505 exten => sw-57-,10,Goto(sw-57-.|10)
1506 exten => sw-57-NOANSWER,10,Voicemail(u${ext})
1507 exten => sw-57-NOANSWER,11,Goto(s,11)
1508 exten => sw-57-ANSWER,10,Goto(s,11)
1509 exten => sw-57-BUSY,10,Voicemail(b${ext})
1510 exten => sw-57-BUSY,11,Goto(s,11)
1511 exten => sw-57-DONTCALL,10,Goto(${dontcont},s,begin)
1512 exten => sw-57-DONTCALL,11,Goto(s,11)
1513 exten => sw-57-TORTURE,10,Goto(${torcont},s,begin)
1514 exten => sw-57-TORTURE,11,Goto(s,11)
1515
1516
1517 [std-priv-exten_56]
1518 exten => s,1,Set(LOCAL(dev)=${ARG1})
1519 exten => s,2,Set(LOCAL(ext)=${ARG2})
1520 exten => s,3,Set(LOCAL(timeout)=${ARG3})
1521 exten => s,4,Set(LOCAL(opts)=${ARG4})
1522 exten => s,5,Set(LOCAL(torcont)=${ARG5})
1523 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
1524 exten => s,7,Dial(${dev},${timeout},${opts})
1525 exten => s,8,NoOp(${DIALSTATUS} was chosen)
1526 exten => s,9,Set(~~EXTEN~~=${EXTEN})
1527 exten => s,10,Goto(sw-58-${DIALSTATUS},10)
1528 exten => s,11,NoOp(Finish switch-std-priv-exten_56-58)
1529 exten => s,12,Return()
1530 exten => _sw-58-.,10,Voicemail(u${ext})
1531 exten => _sw-58-.,11,Goto(s,11)
1532 exten => sw-58-,10,Goto(sw-58-.|10)
1533 exten => sw-58-NOANSWER,10,Voicemail(u${ext})
1534 exten => sw-58-NOANSWER,11,Goto(s,11)
1535 exten => sw-58-ANSWER,10,Goto(s,11)
1536 exten => sw-58-BUSY,10,Voicemail(b${ext})
1537 exten => sw-58-BUSY,11,Goto(s,11)
1538 exten => sw-58-DONTCALL,10,Goto(${dontcont},s,begin)
1539 exten => sw-58-DONTCALL,11,Goto(s,11)
1540 exten => sw-58-TORTURE,10,Goto(${torcont},s,begin)
1541 exten => sw-58-TORTURE,11,Goto(s,11)
1542
1543
1544 [std-priv-exten_57]
1545 exten => s,1,Set(LOCAL(dev)=${ARG1})
1546 exten => s,2,Set(LOCAL(ext)=${ARG2})
1547 exten => s,3,Set(LOCAL(timeout)=${ARG3})
1548 exten => s,4,Set(LOCAL(opts)=${ARG4})
1549 exten => s,5,Set(LOCAL(torcont)=${ARG5})
1550 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
1551 exten => s,7,Dial(${dev},${timeout},${opts})
1552 exten => s,8,NoOp(${DIALSTATUS} was chosen)
1553 exten => s,9,Set(~~EXTEN~~=${EXTEN})
1554 exten => s,10,Goto(sw-59-${DIALSTATUS},10)
1555 exten => s,11,NoOp(Finish switch-std-priv-exten_57-59)
1556 exten => s,12,Return()
1557 exten => _sw-59-.,10,Voicemail(u${ext})
1558 exten => _sw-59-.,11,Goto(s,11)
1559 exten => sw-59-,10,Goto(sw-59-.|10)
1560 exten => sw-59-NOANSWER,10,Voicemail(u${ext})
1561 exten => sw-59-NOANSWER,11,Goto(s,11)
1562 exten => sw-59-ANSWER,10,Goto(s,11)
1563 exten => sw-59-BUSY,10,Voicemail(b${ext})
1564 exten => sw-59-BUSY,11,Goto(s,11)
1565 exten => sw-59-DONTCALL,10,Goto(${dontcont},s,begin)
1566 exten => sw-59-DONTCALL,11,Goto(s,11)
1567 exten => sw-59-TORTURE,10,Goto(${torcont},s,begin)
1568 exten => sw-59-TORTURE,11,Goto(s,11)
1569
1570
1571 [std-priv-exten_58]
1572 exten => s,1,Set(LOCAL(dev)=${ARG1})
1573 exten => s,2,Set(LOCAL(ext)=${ARG2})
1574 exten => s,3,Set(LOCAL(timeout)=${ARG3})
1575 exten => s,4,Set(LOCAL(opts)=${ARG4})
1576 exten => s,5,Set(LOCAL(torcont)=${ARG5})
1577 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
1578 exten => s,7,Dial(${dev},${timeout},${opts})
1579 exten => s,8,NoOp(${DIALSTATUS} was chosen)
1580 exten => s,9,Set(~~EXTEN~~=${EXTEN})
1581 exten => s,10,Goto(sw-60-${DIALSTATUS},10)
1582 exten => s,11,NoOp(Finish switch-std-priv-exten_58-60)
1583 exten => s,12,Return()
1584 exten => _sw-60-.,10,Voicemail(u${ext})
1585 exten => _sw-60-.,11,Goto(s,11)
1586 exten => sw-60-,10,Goto(sw-60-.|10)
1587 exten => sw-60-NOANSWER,10,Voicemail(u${ext})
1588 exten => sw-60-NOANSWER,11,Goto(s,11)
1589 exten => sw-60-ANSWER,10,Goto(s,11)
1590 exten => sw-60-BUSY,10,Voicemail(b${ext})
1591 exten => sw-60-BUSY,11,Goto(s,11)
1592 exten => sw-60-DONTCALL,10,Goto(${dontcont},s,begin)
1593 exten => sw-60-DONTCALL,11,Goto(s,11)
1594 exten => sw-60-TORTURE,10,Goto(${torcont},s,begin)
1595 exten => sw-60-TORTURE,11,Goto(s,11)
1596
1597
1598 [std-priv-exten_59]
1599 exten => s,1,Set(LOCAL(dev)=${ARG1})
1600 exten => s,2,Set(LOCAL(ext)=${ARG2})
1601 exten => s,3,Set(LOCAL(timeout)=${ARG3})
1602 exten => s,4,Set(LOCAL(opts)=${ARG4})
1603 exten => s,5,Set(LOCAL(torcont)=${ARG5})
1604 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
1605 exten => s,7,Dial(${dev},${timeout},${opts})
1606 exten => s,8,NoOp(${DIALSTATUS} was chosen)
1607 exten => s,9,Set(~~EXTEN~~=${EXTEN})
1608 exten => s,10,Goto(sw-61-${DIALSTATUS},10)
1609 exten => s,11,NoOp(Finish switch-std-priv-exten_59-61)
1610 exten => s,12,Return()
1611 exten => _sw-61-.,10,Voicemail(u${ext})
1612 exten => _sw-61-.,11,Goto(s,11)
1613 exten => sw-61-,10,Goto(sw-61-.|10)
1614 exten => sw-61-NOANSWER,10,Voicemail(u${ext})
1615 exten => sw-61-NOANSWER,11,Goto(s,11)
1616 exten => sw-61-ANSWER,10,Goto(s,11)
1617 exten => sw-61-BUSY,10,Voicemail(b${ext})
1618 exten => sw-61-BUSY,11,Goto(s,11)
1619 exten => sw-61-DONTCALL,10,Goto(${dontcont},s,begin)
1620 exten => sw-61-DONTCALL,11,Goto(s,11)
1621 exten => sw-61-TORTURE,10,Goto(${torcont},s,begin)
1622 exten => sw-61-TORTURE,11,Goto(s,11)
1623
1624
1625 [std-priv-exten_60]
1626 exten => s,1,Set(LOCAL(dev)=${ARG1})
1627 exten => s,2,Set(LOCAL(ext)=${ARG2})
1628 exten => s,3,Set(LOCAL(timeout)=${ARG3})
1629 exten => s,4,Set(LOCAL(opts)=${ARG4})
1630 exten => s,5,Set(LOCAL(torcont)=${ARG5})
1631 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
1632 exten => s,7,Dial(${dev},${timeout},${opts})
1633 exten => s,8,NoOp(${DIALSTATUS} was chosen)
1634 exten => s,9,Set(~~EXTEN~~=${EXTEN})
1635 exten => s,10,Goto(sw-62-${DIALSTATUS},10)
1636 exten => s,11,NoOp(Finish switch-std-priv-exten_60-62)
1637 exten => s,12,Return()
1638 exten => _sw-62-.,10,Voicemail(u${ext})
1639 exten => _sw-62-.,11,Goto(s,11)
1640 exten => sw-62-,10,Goto(sw-62-.|10)
1641 exten => sw-62-NOANSWER,10,Voicemail(u${ext})
1642 exten => sw-62-NOANSWER,11,Goto(s,11)
1643 exten => sw-62-ANSWER,10,Goto(s,11)
1644 exten => sw-62-BUSY,10,Voicemail(b${ext})
1645 exten => sw-62-BUSY,11,Goto(s,11)
1646 exten => sw-62-DONTCALL,10,Goto(${dontcont},s,begin)
1647 exten => sw-62-DONTCALL,11,Goto(s,11)
1648 exten => sw-62-TORTURE,10,Goto(${torcont},s,begin)
1649 exten => sw-62-TORTURE,11,Goto(s,11)
1650
1651
1652 [std-priv-exten_61]
1653 exten => s,1,Set(LOCAL(dev)=${ARG1})
1654 exten => s,2,Set(LOCAL(ext)=${ARG2})
1655 exten => s,3,Set(LOCAL(timeout)=${ARG3})
1656 exten => s,4,Set(LOCAL(opts)=${ARG4})
1657 exten => s,5,Set(LOCAL(torcont)=${ARG5})
1658 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
1659 exten => s,7,Dial(${dev},${timeout},${opts})
1660 exten => s,8,NoOp(${DIALSTATUS} was chosen)
1661 exten => s,9,Set(~~EXTEN~~=${EXTEN})
1662 exten => s,10,Goto(sw-63-${DIALSTATUS},10)
1663 exten => s,11,NoOp(Finish switch-std-priv-exten_61-63)
1664 exten => s,12,Return()
1665 exten => _sw-63-.,10,Voicemail(u${ext})
1666 exten => _sw-63-.,11,Goto(s,11)
1667 exten => sw-63-,10,Goto(sw-63-.|10)
1668 exten => sw-63-NOANSWER,10,Voicemail(u${ext})
1669 exten => sw-63-NOANSWER,11,Goto(s,11)
1670 exten => sw-63-ANSWER,10,Goto(s,11)
1671 exten => sw-63-BUSY,10,Voicemail(b${ext})
1672 exten => sw-63-BUSY,11,Goto(s,11)
1673 exten => sw-63-DONTCALL,10,Goto(${dontcont},s,begin)
1674 exten => sw-63-DONTCALL,11,Goto(s,11)
1675 exten => sw-63-TORTURE,10,Goto(${torcont},s,begin)
1676 exten => sw-63-TORTURE,11,Goto(s,11)
1677
1678
1679 [std-priv-exten_62]
1680 exten => s,1,Set(LOCAL(dev)=${ARG1})
1681 exten => s,2,Set(LOCAL(ext)=${ARG2})
1682 exten => s,3,Set(LOCAL(timeout)=${ARG3})
1683 exten => s,4,Set(LOCAL(opts)=${ARG4})
1684 exten => s,5,Set(LOCAL(torcont)=${ARG5})
1685 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
1686 exten => s,7,Dial(${dev},${timeout},${opts})
1687 exten => s,8,NoOp(${DIALSTATUS} was chosen)
1688 exten => s,9,Set(~~EXTEN~~=${EXTEN})
1689 exten => s,10,Goto(sw-64-${DIALSTATUS},10)
1690 exten => s,11,NoOp(Finish switch-std-priv-exten_62-64)
1691 exten => s,12,Return()
1692 exten => _sw-64-.,10,Voicemail(u${ext})
1693 exten => _sw-64-.,11,Goto(s,11)
1694 exten => sw-64-,10,Goto(sw-64-.|10)
1695 exten => sw-64-NOANSWER,10,Voicemail(u${ext})
1696 exten => sw-64-NOANSWER,11,Goto(s,11)
1697 exten => sw-64-ANSWER,10,Goto(s,11)
1698 exten => sw-64-BUSY,10,Voicemail(b${ext})
1699 exten => sw-64-BUSY,11,Goto(s,11)
1700 exten => sw-64-DONTCALL,10,Goto(${dontcont},s,begin)
1701 exten => sw-64-DONTCALL,11,Goto(s,11)
1702 exten => sw-64-TORTURE,10,Goto(${torcont},s,begin)
1703 exten => sw-64-TORTURE,11,Goto(s,11)
1704
1705
1706 [std-priv-exten_63]
1707 exten => s,1,Set(LOCAL(dev)=${ARG1})
1708 exten => s,2,Set(LOCAL(ext)=${ARG2})
1709 exten => s,3,Set(LOCAL(timeout)=${ARG3})
1710 exten => s,4,Set(LOCAL(opts)=${ARG4})
1711 exten => s,5,Set(LOCAL(torcont)=${ARG5})
1712 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
1713 exten => s,7,Dial(${dev},${timeout},${opts})
1714 exten => s,8,NoOp(${DIALSTATUS} was chosen)
1715 exten => s,9,Set(~~EXTEN~~=${EXTEN})
1716 exten => s,10,Goto(sw-65-${DIALSTATUS},10)
1717 exten => s,11,NoOp(Finish switch-std-priv-exten_63-65)
1718 exten => s,12,Return()
1719 exten => _sw-65-.,10,Voicemail(u${ext})
1720 exten => _sw-65-.,11,Goto(s,11)
1721 exten => sw-65-,10,Goto(sw-65-.|10)
1722 exten => sw-65-NOANSWER,10,Voicemail(u${ext})
1723 exten => sw-65-NOANSWER,11,Goto(s,11)
1724 exten => sw-65-ANSWER,10,Goto(s,11)
1725 exten => sw-65-BUSY,10,Voicemail(b${ext})
1726 exten => sw-65-BUSY,11,Goto(s,11)
1727 exten => sw-65-DONTCALL,10,Goto(${dontcont},s,begin)
1728 exten => sw-65-DONTCALL,11,Goto(s,11)
1729 exten => sw-65-TORTURE,10,Goto(${torcont},s,begin)
1730 exten => sw-65-TORTURE,11,Goto(s,11)
1731
1732
1733 [std-priv-exten_64]
1734 exten => s,1,Set(LOCAL(dev)=${ARG1})
1735 exten => s,2,Set(LOCAL(ext)=${ARG2})
1736 exten => s,3,Set(LOCAL(timeout)=${ARG3})
1737 exten => s,4,Set(LOCAL(opts)=${ARG4})
1738 exten => s,5,Set(LOCAL(torcont)=${ARG5})
1739 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
1740 exten => s,7,Dial(${dev},${timeout},${opts})
1741 exten => s,8,NoOp(${DIALSTATUS} was chosen)
1742 exten => s,9,Set(~~EXTEN~~=${EXTEN})
1743 exten => s,10,Goto(sw-66-${DIALSTATUS},10)
1744 exten => s,11,NoOp(Finish switch-std-priv-exten_64-66)
1745 exten => s,12,Return()
1746 exten => _sw-66-.,10,Voicemail(u${ext})
1747 exten => _sw-66-.,11,Goto(s,11)
1748 exten => sw-66-,10,Goto(sw-66-.|10)
1749 exten => sw-66-NOANSWER,10,Voicemail(u${ext})
1750 exten => sw-66-NOANSWER,11,Goto(s,11)
1751 exten => sw-66-ANSWER,10,Goto(s,11)
1752 exten => sw-66-BUSY,10,Voicemail(b${ext})
1753 exten => sw-66-BUSY,11,Goto(s,11)
1754 exten => sw-66-DONTCALL,10,Goto(${dontcont},s,begin)
1755 exten => sw-66-DONTCALL,11,Goto(s,11)
1756 exten => sw-66-TORTURE,10,Goto(${torcont},s,begin)
1757 exten => sw-66-TORTURE,11,Goto(s,11)
1758
1759
1760 [std-priv-exten_65]
1761 exten => s,1,Set(LOCAL(dev)=${ARG1})
1762 exten => s,2,Set(LOCAL(ext)=${ARG2})
1763 exten => s,3,Set(LOCAL(timeout)=${ARG3})
1764 exten => s,4,Set(LOCAL(opts)=${ARG4})
1765 exten => s,5,Set(LOCAL(torcont)=${ARG5})
1766 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
1767 exten => s,7,Dial(${dev},${timeout},${opts})
1768 exten => s,8,NoOp(${DIALSTATUS} was chosen)
1769 exten => s,9,Set(~~EXTEN~~=${EXTEN})
1770 exten => s,10,Goto(sw-67-${DIALSTATUS},10)
1771 exten => s,11,NoOp(Finish switch-std-priv-exten_65-67)
1772 exten => s,12,Return()
1773 exten => _sw-67-.,10,Voicemail(u${ext})
1774 exten => _sw-67-.,11,Goto(s,11)
1775 exten => sw-67-,10,Goto(sw-67-.|10)
1776 exten => sw-67-NOANSWER,10,Voicemail(u${ext})
1777 exten => sw-67-NOANSWER,11,Goto(s,11)
1778 exten => sw-67-ANSWER,10,Goto(s,11)
1779 exten => sw-67-BUSY,10,Voicemail(b${ext})
1780 exten => sw-67-BUSY,11,Goto(s,11)
1781 exten => sw-67-DONTCALL,10,Goto(${dontcont},s,begin)
1782 exten => sw-67-DONTCALL,11,Goto(s,11)
1783 exten => sw-67-TORTURE,10,Goto(${torcont},s,begin)
1784 exten => sw-67-TORTURE,11,Goto(s,11)
1785
1786
1787 [std-priv-exten_66]
1788 exten => s,1,Set(LOCAL(dev)=${ARG1})
1789 exten => s,2,Set(LOCAL(ext)=${ARG2})
1790 exten => s,3,Set(LOCAL(timeout)=${ARG3})
1791 exten => s,4,Set(LOCAL(opts)=${ARG4})
1792 exten => s,5,Set(LOCAL(torcont)=${ARG5})
1793 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
1794 exten => s,7,Dial(${dev},${timeout},${opts})
1795 exten => s,8,NoOp(${DIALSTATUS} was chosen)
1796 exten => s,9,Set(~~EXTEN~~=${EXTEN})
1797 exten => s,10,Goto(sw-68-${DIALSTATUS},10)
1798 exten => s,11,NoOp(Finish switch-std-priv-exten_66-68)
1799 exten => s,12,Return()
1800 exten => _sw-68-.,10,Voicemail(u${ext})
1801 exten => _sw-68-.,11,Goto(s,11)
1802 exten => sw-68-,10,Goto(sw-68-.|10)
1803 exten => sw-68-NOANSWER,10,Voicemail(u${ext})
1804 exten => sw-68-NOANSWER,11,Goto(s,11)
1805 exten => sw-68-ANSWER,10,Goto(s,11)
1806 exten => sw-68-BUSY,10,Voicemail(b${ext})
1807 exten => sw-68-BUSY,11,Goto(s,11)
1808 exten => sw-68-DONTCALL,10,Goto(${dontcont},s,begin)
1809 exten => sw-68-DONTCALL,11,Goto(s,11)
1810 exten => sw-68-TORTURE,10,Goto(${torcont},s,begin)
1811 exten => sw-68-TORTURE,11,Goto(s,11)
1812
1813
1814 [std-priv-exten_67]
1815 exten => s,1,Set(LOCAL(dev)=${ARG1})
1816 exten => s,2,Set(LOCAL(ext)=${ARG2})
1817 exten => s,3,Set(LOCAL(timeout)=${ARG3})
1818 exten => s,4,Set(LOCAL(opts)=${ARG4})
1819 exten => s,5,Set(LOCAL(torcont)=${ARG5})
1820 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
1821 exten => s,7,Dial(${dev},${timeout},${opts})
1822 exten => s,8,NoOp(${DIALSTATUS} was chosen)
1823 exten => s,9,Set(~~EXTEN~~=${EXTEN})
1824 exten => s,10,Goto(sw-69-${DIALSTATUS},10)
1825 exten => s,11,NoOp(Finish switch-std-priv-exten_67-69)
1826 exten => s,12,Return()
1827 exten => _sw-69-.,10,Voicemail(u${ext})
1828 exten => _sw-69-.,11,Goto(s,11)
1829 exten => sw-69-,10,Goto(sw-69-.|10)
1830 exten => sw-69-NOANSWER,10,Voicemail(u${ext})
1831 exten => sw-69-NOANSWER,11,Goto(s,11)
1832 exten => sw-69-ANSWER,10,Goto(s,11)
1833 exten => sw-69-BUSY,10,Voicemail(b${ext})
1834 exten => sw-69-BUSY,11,Goto(s,11)
1835 exten => sw-69-DONTCALL,10,Goto(${dontcont},s,begin)
1836 exten => sw-69-DONTCALL,11,Goto(s,11)
1837 exten => sw-69-TORTURE,10,Goto(${torcont},s,begin)
1838 exten => sw-69-TORTURE,11,Goto(s,11)
1839
1840
1841 [std-priv-exten_68]
1842 exten => s,1,Set(LOCAL(dev)=${ARG1})
1843 exten => s,2,Set(LOCAL(ext)=${ARG2})
1844 exten => s,3,Set(LOCAL(timeout)=${ARG3})
1845 exten => s,4,Set(LOCAL(opts)=${ARG4})
1846 exten => s,5,Set(LOCAL(torcont)=${ARG5})
1847 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
1848 exten => s,7,Dial(${dev},${timeout},${opts})
1849 exten => s,8,NoOp(${DIALSTATUS} was chosen)
1850 exten => s,9,Set(~~EXTEN~~=${EXTEN})
1851 exten => s,10,Goto(sw-70-${DIALSTATUS},10)
1852 exten => s,11,NoOp(Finish switch-std-priv-exten_68-70)
1853 exten => s,12,Return()
1854 exten => _sw-70-.,10,Voicemail(u${ext})
1855 exten => _sw-70-.,11,Goto(s,11)
1856 exten => sw-70-,10,Goto(sw-70-.|10)
1857 exten => sw-70-NOANSWER,10,Voicemail(u${ext})
1858 exten => sw-70-NOANSWER,11,Goto(s,11)
1859 exten => sw-70-ANSWER,10,Goto(s,11)
1860 exten => sw-70-BUSY,10,Voicemail(b${ext})
1861 exten => sw-70-BUSY,11,Goto(s,11)
1862 exten => sw-70-DONTCALL,10,Goto(${dontcont},s,begin)
1863 exten => sw-70-DONTCALL,11,Goto(s,11)
1864 exten => sw-70-TORTURE,10,Goto(${torcont},s,begin)
1865 exten => sw-70-TORTURE,11,Goto(s,11)
1866
1867
1868 [std-priv-exten_69]
1869 exten => s,1,Set(LOCAL(dev)=${ARG1})
1870 exten => s,2,Set(LOCAL(ext)=${ARG2})
1871 exten => s,3,Set(LOCAL(timeout)=${ARG3})
1872 exten => s,4,Set(LOCAL(opts)=${ARG4})
1873 exten => s,5,Set(LOCAL(torcont)=${ARG5})
1874 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
1875 exten => s,7,Dial(${dev},${timeout},${opts})
1876 exten => s,8,NoOp(${DIALSTATUS} was chosen)
1877 exten => s,9,Set(~~EXTEN~~=${EXTEN})
1878 exten => s,10,Goto(sw-71-${DIALSTATUS},10)
1879 exten => s,11,NoOp(Finish switch-std-priv-exten_69-71)
1880 exten => s,12,Return()
1881 exten => _sw-71-.,10,Voicemail(u${ext})
1882 exten => _sw-71-.,11,Goto(s,11)
1883 exten => sw-71-,10,Goto(sw-71-.|10)
1884 exten => sw-71-NOANSWER,10,Voicemail(u${ext})
1885 exten => sw-71-NOANSWER,11,Goto(s,11)
1886 exten => sw-71-ANSWER,10,Goto(s,11)
1887 exten => sw-71-BUSY,10,Voicemail(b${ext})
1888 exten => sw-71-BUSY,11,Goto(s,11)
1889 exten => sw-71-DONTCALL,10,Goto(${dontcont},s,begin)
1890 exten => sw-71-DONTCALL,11,Goto(s,11)
1891 exten => sw-71-TORTURE,10,Goto(${torcont},s,begin)
1892 exten => sw-71-TORTURE,11,Goto(s,11)
1893
1894
1895 [std-priv-exten_70]
1896 exten => s,1,Set(LOCAL(dev)=${ARG1})
1897 exten => s,2,Set(LOCAL(ext)=${ARG2})
1898 exten => s,3,Set(LOCAL(timeout)=${ARG3})
1899 exten => s,4,Set(LOCAL(opts)=${ARG4})
1900 exten => s,5,Set(LOCAL(torcont)=${ARG5})
1901 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
1902 exten => s,7,Dial(${dev},${timeout},${opts})
1903 exten => s,8,NoOp(${DIALSTATUS} was chosen)
1904 exten => s,9,Set(~~EXTEN~~=${EXTEN})
1905 exten => s,10,Goto(sw-72-${DIALSTATUS},10)
1906 exten => s,11,NoOp(Finish switch-std-priv-exten_70-72)
1907 exten => s,12,Return()
1908 exten => _sw-72-.,10,Voicemail(u${ext})
1909 exten => _sw-72-.,11,Goto(s,11)
1910 exten => sw-72-,10,Goto(sw-72-.|10)
1911 exten => sw-72-NOANSWER,10,Voicemail(u${ext})
1912 exten => sw-72-NOANSWER,11,Goto(s,11)
1913 exten => sw-72-ANSWER,10,Goto(s,11)
1914 exten => sw-72-BUSY,10,Voicemail(b${ext})
1915 exten => sw-72-BUSY,11,Goto(s,11)
1916 exten => sw-72-DONTCALL,10,Goto(${dontcont},s,begin)
1917 exten => sw-72-DONTCALL,11,Goto(s,11)
1918 exten => sw-72-TORTURE,10,Goto(${torcont},s,begin)
1919 exten => sw-72-TORTURE,11,Goto(s,11)
1920
1921
1922 [std-priv-exten_71]
1923 exten => s,1,Set(LOCAL(dev)=${ARG1})
1924 exten => s,2,Set(LOCAL(ext)=${ARG2})
1925 exten => s,3,Set(LOCAL(timeout)=${ARG3})
1926 exten => s,4,Set(LOCAL(opts)=${ARG4})
1927 exten => s,5,Set(LOCAL(torcont)=${ARG5})
1928 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
1929 exten => s,7,Dial(${dev},${timeout},${opts})
1930 exten => s,8,NoOp(${DIALSTATUS} was chosen)
1931 exten => s,9,Set(~~EXTEN~~=${EXTEN})
1932 exten => s,10,Goto(sw-73-${DIALSTATUS},10)
1933 exten => s,11,NoOp(Finish switch-std-priv-exten_71-73)
1934 exten => s,12,Return()
1935 exten => _sw-73-.,10,Voicemail(u${ext})
1936 exten => _sw-73-.,11,Goto(s,11)
1937 exten => sw-73-,10,Goto(sw-73-.|10)
1938 exten => sw-73-NOANSWER,10,Voicemail(u${ext})
1939 exten => sw-73-NOANSWER,11,Goto(s,11)
1940 exten => sw-73-ANSWER,10,Goto(s,11)
1941 exten => sw-73-BUSY,10,Voicemail(b${ext})
1942 exten => sw-73-BUSY,11,Goto(s,11)
1943 exten => sw-73-DONTCALL,10,Goto(${dontcont},s,begin)
1944 exten => sw-73-DONTCALL,11,Goto(s,11)
1945 exten => sw-73-TORTURE,10,Goto(${torcont},s,begin)
1946 exten => sw-73-TORTURE,11,Goto(s,11)
1947
1948
1949 [std-priv-exten_72]
1950 exten => s,1,Set(LOCAL(dev)=${ARG1})
1951 exten => s,2,Set(LOCAL(ext)=${ARG2})
1952 exten => s,3,Set(LOCAL(timeout)=${ARG3})
1953 exten => s,4,Set(LOCAL(opts)=${ARG4})
1954 exten => s,5,Set(LOCAL(torcont)=${ARG5})
1955 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
1956 exten => s,7,Dial(${dev},${timeout},${opts})
1957 exten => s,8,NoOp(${DIALSTATUS} was chosen)
1958 exten => s,9,Set(~~EXTEN~~=${EXTEN})
1959 exten => s,10,Goto(sw-74-${DIALSTATUS},10)
1960 exten => s,11,NoOp(Finish switch-std-priv-exten_72-74)
1961 exten => s,12,Return()
1962 exten => _sw-74-.,10,Voicemail(u${ext})
1963 exten => _sw-74-.,11,Goto(s,11)
1964 exten => sw-74-,10,Goto(sw-74-.|10)
1965 exten => sw-74-NOANSWER,10,Voicemail(u${ext})
1966 exten => sw-74-NOANSWER,11,Goto(s,11)
1967 exten => sw-74-ANSWER,10,Goto(s,11)
1968 exten => sw-74-BUSY,10,Voicemail(b${ext})
1969 exten => sw-74-BUSY,11,Goto(s,11)
1970 exten => sw-74-DONTCALL,10,Goto(${dontcont},s,begin)
1971 exten => sw-74-DONTCALL,11,Goto(s,11)
1972 exten => sw-74-TORTURE,10,Goto(${torcont},s,begin)
1973 exten => sw-74-TORTURE,11,Goto(s,11)
1974
1975
1976 [std-priv-exten_73]
1977 exten => s,1,Set(LOCAL(dev)=${ARG1})
1978 exten => s,2,Set(LOCAL(ext)=${ARG2})
1979 exten => s,3,Set(LOCAL(timeout)=${ARG3})
1980 exten => s,4,Set(LOCAL(opts)=${ARG4})
1981 exten => s,5,Set(LOCAL(torcont)=${ARG5})
1982 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
1983 exten => s,7,Dial(${dev},${timeout},${opts})
1984 exten => s,8,NoOp(${DIALSTATUS} was chosen)
1985 exten => s,9,Set(~~EXTEN~~=${EXTEN})
1986 exten => s,10,Goto(sw-75-${DIALSTATUS},10)
1987 exten => s,11,NoOp(Finish switch-std-priv-exten_73-75)
1988 exten => s,12,Return()
1989 exten => _sw-75-.,10,Voicemail(u${ext})
1990 exten => _sw-75-.,11,Goto(s,11)
1991 exten => sw-75-,10,Goto(sw-75-.|10)
1992 exten => sw-75-NOANSWER,10,Voicemail(u${ext})
1993 exten => sw-75-NOANSWER,11,Goto(s,11)
1994 exten => sw-75-ANSWER,10,Goto(s,11)
1995 exten => sw-75-BUSY,10,Voicemail(b${ext})
1996 exten => sw-75-BUSY,11,Goto(s,11)
1997 exten => sw-75-DONTCALL,10,Goto(${dontcont},s,begin)
1998 exten => sw-75-DONTCALL,11,Goto(s,11)
1999 exten => sw-75-TORTURE,10,Goto(${torcont},s,begin)
2000 exten => sw-75-TORTURE,11,Goto(s,11)
2001
2002
2003 [std-priv-exten]
2004 exten => s,1,Set(LOCAL(dev)=${ARG1})
2005 exten => s,2,Set(LOCAL(ext)=${ARG2})
2006 exten => s,3,Set(LOCAL(timeout)=${ARG3})
2007 exten => s,4,Set(LOCAL(opts)=${ARG4})
2008 exten => s,5,Set(LOCAL(torcont)=${ARG5})
2009 exten => s,6,Set(LOCAL(dontcont)=${ARG6})
2010 exten => s,7,Dial(${dev},${timeout},${opts})
2011 exten => s,8,NoOp(${DIALSTATUS} was chosen)
2012 exten => s,9,Set(~~EXTEN~~=${EXTEN})
2013 exten => s,10,Goto(sw-76-${DIALSTATUS},10)
2014 exten => s,11,NoOp(Finish switch-std-priv-exten-76)
2015 exten => s,12,Return()
2016 exten => _sw-76-.,10,Voicemail(u${ext})
2017 exten => _sw-76-.,11,Goto(s,11)
2018 exten => sw-76-,10,Goto(sw-76-.|10)
2019 exten => sw-76-NOANSWER,10,Voicemail(u${ext})
2020 exten => sw-76-NOANSWER,11,Goto(s,11)
2021 exten => sw-76-ANSWER,10,Goto(s,11)
2022 exten => sw-76-BUSY,10,Voicemail(b${ext})
2023 exten => sw-76-BUSY,11,Goto(s,11)
2024 exten => sw-76-DONTCALL,10,Goto(${dontcont},s,begin)
2025 exten => sw-76-DONTCALL,11,Goto(s,11)
2026 exten => sw-76-TORTURE,10,Goto(${torcont},s,begin)
2027 exten => sw-76-TORTURE,11,Goto(s,11)
2028
2029
2030 [fillcidname]
2031 exten => s,1,GotoIf($["${CALLERID(num)}" = "" ]?2:3)
2032 exten => s,2,Return()
2033 exten => s,3,NoOp(Finish if-fillcidname-77)
2034 exten => s,4,Set(cidn=${DB(cidname/${CALLERID(num)})})
2035 exten => s,5,GotoIf($["${CALLERID(name)}" != "" ]?6:9)
2036 exten => s,6,GotoIf($[("${cidn}" = "Privacy Manager" & "${CALLERID(name)}" != "Privacy Manager") | "${cidn}" = "" ]?7:8)
2037 exten => s,7,Set(DB(cidname/${CALLERID(num)})=${CALLERID(name)})
2038 exten => s,8,NoOp(Finish if-if-fillcidname-78-79)
2039 exten => s,9,NoOp(Finish if-fillcidname-78)
2040 exten => s,10,GotoIf($[( "${cidn}" != "" ) & ( "${CALLERID(name)}" = ""                                                    | "${CALLERID(name)}" = "CODY,WY        "                                                       | "${CALLERID(name)}" = "POWELL,WY      "                                                       | "${CALLERID(name)}" = "WIRELESS CALLER"                                                     | "${CALLERID(name)}" = "SUBSCRIBER,WIRE"                                                     | "${CALLERID(name)}" = "CELLULAR ONE"                                                     | "${CALLERID(name)}" = "Cellular One Customer"                                                       | "${CALLERID(name)}" = "CELLULAR ONE   "                                                       | "${CALLERID(name)}" = "Privacy Manager"                                                    | "${CALLERID(name)}" = "RIVERTON,WY    "                                                     | "${CALLERID(name)}" = "BASIN,WY       "                                                     | "${CALLERID(name)}" = "BILLINGS,MT    "                                                   | "${CALLERID(name)}" = "PROVO,UT       "                                                     | "${CALLERID(name)}" = "TOLL FREE      " ) ]?11:12)
2041 exten => s,11,Set(CALLERID(name)=${cidn})
2042 exten => s,12,NoOp(Finish if-fillcidname-80)
2043 exten => s,13,Return()
2044
2045
2046 [ciddial]
2047 exten => s,1,Set(LOCAL(dialnum)=${ARG1})
2048 exten => s,2,Set(LOCAL(lookup)=${ARG2})
2049 exten => s,3,Set(LOCAL(waittime)=${ARG3})
2050 exten => s,4,Set(LOCAL(dialopts)=${ARG4})
2051 exten => s,5,Set(LOCAL(ddev)=${ARG5})
2052 exten => s,6,Set(cidnu=${CALLERID(num)})
2053 exten => s,7,Set(cidn=${DB(cidname/${lookup})})
2054 exten => s,8,Set(CALLERID(name)=${cidn})
2055 exten => s,9,Dial(${ddev}/${dialnum}|${waittime}|${dialopts})
2056 exten => s,10,GotoIf($["${DIALSTATUS}" = "CHANUNAVAIL" ]?11:19)
2057 exten => s,11,BackGround(try_voip)
2058 exten => s,12,Set(CALLERID(num)=$[7075679201])
2059 exten => s,13,Dial(SIP/1${lookup}@tctwest,${waittime},${dialopts})
2060 exten => s,14,GotoIf($["${DIALSTATUS}" = "CHANUNAVAIL" ]?15:18)
2061 exten => s,15,BackGround(try_cell)
2062 exten => s,16,Set(CALLERID(num)=$[${cidnu}])
2063 exten => s,17,Dial(Zap/2/${lookup},${waittime},${dialopts})
2064 exten => s,18,NoOp(Finish if-if-ciddial-81-82)
2065 exten => s,19,NoOp(Finish if-ciddial-81)
2066 exten => s,20,Return()
2067
2068
2069 [ciddial3]
2070 exten => s,1,Set(LOCAL(dialnum)=${ARG1})
2071 exten => s,2,Set(LOCAL(lookup)=${ARG2})
2072 exten => s,3,Set(LOCAL(waittime)=${ARG3})
2073 exten => s,4,Set(LOCAL(dialopts)=${ARG4})
2074 exten => s,5,Set(LOCAL(ddev)=${ARG5})
2075 exten => s,6,Set(cidnu=${CALLERID(num)})
2076 exten => s,7,Set(cidn=${DB(cidname/${lookup})})
2077 exten => s,8,Set(CALLERID(name)=${cidn})
2078 exten => s,9,Dial(${ddev}/${dialnum}|${waittime}|${dialopts})
2079 exten => s,10,GotoIf($["${DIALSTATUS}" = "CHANUNAVAIL" ]?11:13)
2080 exten => s,11,BackGround(try_cell)
2081 exten => s,12,Dial(Zap/2/${lookup},${waittime},${dialopts})
2082 exten => s,13,NoOp(Finish if-ciddial3-83)
2083 exten => s,14,Return()
2084
2085
2086 [ciddial2]
2087 exten => s,1,Set(LOCAL(dialnum)=${ARG1})
2088 exten => s,2,Set(LOCAL(lookup)=${ARG2})
2089 exten => s,3,Set(LOCAL(waittime)=${ARG3})
2090 exten => s,4,Set(LOCAL(dialopts)=${ARG4})
2091 exten => s,5,Set(LOCAL(ddev)=${ARG5})
2092 exten => s,6,Set(cidn=${DB(cidname/${lookup})})
2093 exten => s,7,Set(cidnu=${CALLERID(num)})
2094 exten => s,8,Set(CALLERID(name)=${cidn})
2095 exten => s,9,Set(CALLERID(num)=7075679201)
2096 exten => s,10,Dial(SIP/1${lookup}@tctwest,${waittime},${dialopts})
2097 exten => s,11,GotoIf($["${DIALSTATUS}" = "CHANUNAVAIL" ]?12:19)
2098 exten => s,12,Set(CALLERID(num)=${cidnu})
2099 exten => s,13,BackGround(try_zap)
2100 exten => s,14,Dial(${ddev}/${dialnum},${waittime}|${dialopts})
2101 exten => s,15,GotoIf($["${DIALSTATUS}" = "CHANUNAVAIL" ]?16:18)
2102 exten => s,16,BackGround(try_cell)
2103 exten => s,17,Dial(Zap/2/${lookup},${waittime},${dialopts})
2104 exten => s,18,NoOp(Finish if-if-ciddial2-84-85)
2105 exten => s,19,NoOp(Finish if-ciddial2-84)
2106 exten => s,20,Return()
2107
2108
2109 [callerid-liar]
2110 exten => s,1,TrySystem(/usr/bin/play /var/lib/asterisk/sounds/priv-callerintros/LIAR.gsm&)
2111 exten => s,2,Background(priv-liar)
2112 exten => s,3,Hangup()
2113 exten => s,4,Return()
2114
2115
2116 [callerid-bad]
2117 exten => s,1,Set(mycid=$[${CALLERID(num)}:"1([0-9]+)"])
2118 exten => s,2,Set(CALLERID(num)=${mycid})
2119 exten => s,3,Wait(0)
2120 exten => s,4,Return()
2121
2122
2123 [privacyManagerFailed]
2124 exten => s,1(begin),Background(PrivManInstructions)
2125 exten => s,2,PrivacyManager()
2126 exten => s,3,GotoIf($["${PRIVACYMGRSTATUS}" = "FAILED" ]?4:11)
2127 exten => s,4,Background(tt-allbusy)
2128 exten => s,5,Background(tt-somethingwrong)
2129 exten => s,6,Background(tt-monkeysintro)
2130 exten => s,7,Background(tt-monkeys)
2131 exten => s,8,Background(tt-weasels)
2132 exten => s,9,Hangup()
2133 exten => s,10,Goto(12)
2134 exten => s,11,Goto(homeline,s,postPriv)
2135 exten => s,12,NoOp(Finish if-privacyManagerFailed-86)
2136
2137
2138 [homeline]
2139 exten => s,1(begin),Answer()
2140 exten => s,2,Set(repeatcount=0)
2141 exten => s,3,Zapateller(nocallerid)
2142 exten => s,4,PrivacyManager()
2143 exten => s,5,GotoIf($["${PRIVACYMGRSTATUS}" = "FAILED" ]?6:10)
2144 exten => s,6,TrySystem(/usr/bin/play /var/lib/asterisk/sounds/privmanfailed.gsm)
2145 exten => s,7,Gosub(std-priv-exten,s,1(Zap/3r1&Zap/5r1,2,25,mtw,telemarket,telemarket))
2146 exten => s,8,Hangup()
2147 exten => s,9,Return()
2148 exten => s,10,NoOp(Finish if-homeline-87)
2149 exten => s,11(postPriv),Gosub(fillcidname,s,1)
2150 exten => s,12,Set(CONFCIDNA=${CALLERID(name)})
2151 exten => s,13,Set(CONFCIDNU=${CALLERID(num)})
2152 exten => s,14,AGI(callall)
2153 exten => s,15,AGI(submit-announce.agi)
2154 exten => s,16,GotoIf($["${CALLERID(num)}" : "1" ]?17:18)
2155 exten => s,17,Gosub(callerid-bad,s,1)
2156 exten => s,18,NoOp(Finish if-homeline-88)
2157 exten => s,19,GotoIf($["${CALLERID(num)}"  = "7077577685" & "${CALLERID(name)}" : "Privacy Manager" ]?20:21)
2158 exten => s,20,Gosub(callerid-liar,s,1)
2159 exten => s,21,NoOp(Finish if-homeline-89)
2160 exten => s,22,TrySystem(/usr/local/bin/who-is-it ${CALLERID(num)} "${CALLERID(name)}"&)
2161 exten => s,23,Set(lds=${DB(playlds/${CALLERID(num)})})
2162 exten => s,24,GotoIf($["${lds}" = "1" ]?25:26)
2163 exten => s,25,SetMusicOnHold(mohlds)
2164 exten => s,26,NoOp(Finish if-homeline-90)
2165 exten => s,27,Set(direct=$[${DB(DirectCall/${CALLERID(num)})}])
2166 exten => s,28,GotoIf($["${direct}" != "" & ${direct} != 0 ]?29:37)
2167 exten => s,29,verbose(direct is XXX#${direct}XXXX)
2168 exten => s,30,Playback(greetings/direct)
2169 exten => s,31,Playback(/var/spool/asterisk/voicemail/default/${direct}/greet)
2170 exten => s,32,TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm)
2171 exten => s,33,TrySystem(/usr/bin/play /var/spool/asterisk/voicemail/default/${direct}/greet.wav&)
2172 exten => s,34,Set(~~EXTEN~~=${EXTEN})
2173 exten => s,35,Goto(sw-92-${direct},10)
2174 exten => s,36,NoOp(Finish switch-if-homeline-91-92)
2175 exten => s,37,NoOp(Finish if-homeline-91)
2176 exten => s,38(loopback),GotoIfTime(*,*,20-25,dec?40)
2177 exten => s,39,Goto(42)
2178 exten => s,40,Playback(greetings/christmas)
2179 exten => s,41,Goto(103)
2180 exten => s,42,GotoIfTime(*,*,31,dec?44)
2181 exten => s,43,Goto(46)
2182 exten => s,44,Playback(greetings/newyear)
2183 exten => s,45,Goto(102)
2184 exten => s,46,GotoIfTime(*,*,1,jan?48)
2185 exten => s,47,Goto(50)
2186 exten => s,48,Playback(greetings/newyear)
2187 exten => s,49,Goto(101)
2188 exten => s,50,GotoIfTime(*,*,14,feb?52)
2189 exten => s,51,Goto(54)
2190 exten => s,52,Playback(greetings/valentines)
2191 exten => s,53,Goto(100)
2192 exten => s,54,GotoIfTime(*,*,17,mar?56)
2193 exten => s,55,Goto(58)
2194 exten => s,56,Playback(greetings/stPat)
2195 exten => s,57,Goto(99)
2196 exten => s,58,GotoIfTime(*,*,31,oct?60)
2197 exten => s,59,Goto(62)
2198 exten => s,60,Playback(greetings/halloween)
2199 exten => s,61,Goto(98)
2200 exten => s,62,GotoIfTime(*,mon,15-21,jan?64)
2201 exten => s,63,Goto(66)
2202 exten => s,64,Playback(greetings/mlkDay)
2203 exten => s,65,Goto(97)
2204 exten => s,66,GotoIfTime(*,thu,22-28,nov?68)
2205 exten => s,67,Goto(70)
2206 exten => s,68,Playback(greetings/thanksgiving)
2207 exten => s,69,Goto(96)
2208 exten => s,70,GotoIfTime(*,mon,25-31,may?72)
2209 exten => s,71,Goto(74)
2210 exten => s,72,Playback(greetings/memorial)
2211 exten => s,73,Goto(95)
2212 exten => s,74,GotoIfTime(*,mon,1-7,sep?76)
2213 exten => s,75,Goto(78)
2214 exten => s,76,Playback(greetings/labor)
2215 exten => s,77,Goto(94)
2216 exten => s,78,GotoIfTime(*,mon,15-21,feb?80)
2217 exten => s,79,Goto(82)
2218 exten => s,80,Playback(greetings/president)
2219 exten => s,81,Goto(93)
2220 exten => s,82,GotoIfTime(*,sun,8-14,may?84)
2221 exten => s,83,Goto(86)
2222 exten => s,84,Playback(greetings/mothers)
2223 exten => s,85,Goto(92)
2224 exten => s,86,GotoIfTime(*,sun,15-21,jun?88)
2225 exten => s,87,Goto(90)
2226 exten => s,88,Playback(greetings/fathers)
2227 exten => s,89,Goto(91)
2228 exten => s,90,Playback(greetings/hello)
2229 exten => s,91,NoOp(Finish iftime-iftime-iftime-iftime-iftime-iftime-iftime-iftime-iftime-iftime-iftime-iftime-iftime-homeline-93-94-95-96-97-98-99-100-101-102-103-104-105)
2230 exten => s,92,NoOp(Finish iftime-iftime-iftime-iftime-iftime-iftime-iftime-iftime-iftime-iftime-iftime-iftime-homeline-93-94-95-96-97-98-99-100-101-102-103-104)
2231 exten => s,93,NoOp(Finish iftime-iftime-iftime-iftime-iftime-iftime-iftime-iftime-iftime-iftime-iftime-homeline-93-94-95-96-97-98-99-100-101-102-103)
2232 exten => s,94,NoOp(Finish iftime-iftime-iftime-iftime-iftime-iftime-iftime-iftime-iftime-iftime-homeline-93-94-95-96-97-98-99-100-101-102)
2233 exten => s,95,NoOp(Finish iftime-iftime-iftime-iftime-iftime-iftime-iftime-iftime-iftime-homeline-93-94-95-96-97-98-99-100-101)
2234 exten => s,96,NoOp(Finish iftime-iftime-iftime-iftime-iftime-iftime-iftime-iftime-homeline-93-94-95-96-97-98-99-100)
2235 exten => s,97,NoOp(Finish iftime-iftime-iftime-iftime-iftime-iftime-iftime-homeline-93-94-95-96-97-98-99)
2236 exten => s,98,NoOp(Finish iftime-iftime-iftime-iftime-iftime-iftime-homeline-93-94-95-96-97-98)
2237 exten => s,99,NoOp(Finish iftime-iftime-iftime-iftime-iftime-homeline-93-94-95-96-97)
2238 exten => s,100,NoOp(Finish iftime-iftime-iftime-iftime-homeline-93-94-95-96)
2239 exten => s,101,NoOp(Finish iftime-iftime-iftime-homeline-93-94-95)
2240 exten => s,102,NoOp(Finish iftime-iftime-homeline-93-94)
2241 exten => s,103,NoOp(Finish iftime-homeline-93)
2242 exten => s,104,Background(murphy-homeline-intro1)
2243 exten => _sw-92-.,10,Set(z=${direct}-2)
2244 exten => _sw-92-.,11,Goto(homeline-kids,${z},1)
2245 exten => sw-92-,10,Goto(sw-92-.|10)
2246 exten => sw-92-2,10,Gosub(std-priv-exten,s,1(Zap/3r1&Zap/5r1,2,25,mtw,telemarket,telemarket))
2247 exten => sw-92-2,11,Goto(s,loopback)
2248 exten => sw-92-1,10,Gosub(std-priv-exten,s,1(Zap/6r3&Sip/murf,1,25,mpA(beep)tw,telemarket,telemarket))
2249 exten => sw-92-1,11,Goto(s,loopback)
2250 exten => 1,1,TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm)
2251 exten => 1,2,TrySystem(/usr/bin/play /var/spool/asterisk/voicemail/default/2/greet.wav&)
2252 exten => 1,3,Gosub(std-priv-exten,s,1(Zap/3r1&Zap/5r1,2,25,mtw,telemarket,telemarket))
2253 exten => 1,4,Goto(s,loopback)
2254 exten => 2,1,Goto(homeline-kids,s,begin)
2255 exten => 21,1,Dial(IAX2/seaniax,20,T)
2256 exten => 3,1,Gosub(std-priv-exten,s,1(Zap/6r3&Sip/murf,1,25,mpA(beep)tw,telemarket,telemarket))
2257 exten => 3,2,Goto(s,loopback)
2258 exten => 4,1,VoicemailMain()
2259 exten => 4,2,Goto(s,loopback)
2260 exten => 5,1,Goto(home-introduction,s,begin)
2261 exten => 6,1,Goto(telemarket,s,begin)
2262 exten => 7,1,agi(tts-riddle.agi)
2263 exten => 7,2,Background(gsm/what-time-it-is2)
2264 exten => 7,3,SayUnixTime()
2265 exten => 7,4,Goto(s,loopback)
2266 exten => 792,1,Goto(pageall,s,begin)
2267 exten => 793,1,Read(zz,,0,,1,0)
2268 exten => 793,2,SayDigits(${zz})
2269 exten => t,1,Set(repeatcount=${repeatcount} + 1)
2270 exten => t,2,GotoIf($[${repeatcount} < 3 ]?3:4)
2271 exten => t,3,Goto(s,loopback)
2272 exten => t,4,NoOp(Finish if-homeline-106)
2273 exten => t,5,Hangup()
2274 exten => i,1,Background(invalid)
2275 exten => i,2,Goto(s,loopback)
2276 exten => o,1,Congestion()
2277 exten => fax,1,Dial(Zap/4)
2278
2279
2280 [pageall]
2281 exten => s,1(begin),AGI(callall)
2282 exten => s,2,MeetMe(5555,dtqp)
2283 exten => s,3,MeetMeAdmin(5555,K)
2284 exten => s,4,Hangup()
2285 exten => h,1(begin),MeetMeAdmin(5555,K)
2286 exten => h,2,Background(conf-muted)
2287 exten => h,3,Hangup()
2288
2289
2290 [add-to-conference]
2291 exten => start,1,NoCDR()
2292 exten => start,2,MeetMe(5555,dmqp)
2293 exten => h,1,Hangup()
2294
2295
2296 [home-introduction]
2297 exten => s,1(begin),Background(intro-options)
2298 exten => 1,1,Playback(priv-callerintros/${CALLERID(num)})
2299 exten => 1,2,Goto(s,begin)
2300 exten => 2,1,Goto(home-introduction-record,s,begin)
2301 exten => 3,1,Goto(homeline,s,loopback)
2302 exten => 4,1,Playback(intro-intro)
2303 exten => 4,2,Goto(s,begin)
2304 exten => t,1,Goto(s,begin)
2305 exten => i,1,Background(invalid)
2306 exten => i,2,Goto(s,begin)
2307 exten => o,1,Goto(s,begin)
2308
2309
2310 [home-introduction-record]
2311 exten => s,1(begin),Background(intro-record-choices)
2312 exten => 1,1,Playback(intro-record)
2313 exten => 1,2,Goto(2,begin)
2314 exten => 2,1(begin),Background(intro-start)
2315 exten => 2,2,Background(beep)
2316 exten => 2,3,Record(priv-callerintros/${CALLERID(num)}:gsm,3)
2317 exten => 2,4,Background(priv-callerintros/${CALLERID(num)})
2318 exten => 2,5,Goto(home-introduction,s,begin)
2319 exten => t,1,Goto(s,begin)
2320 exten => i,1,Background(invalid)
2321 exten => i,2,Goto(s,begin)
2322 exten => o,1,Goto(s,begin)
2323
2324
2325 [homeline-kids]
2326 exten => s,1(begin),Background(murphy-homeline-kids)
2327 exten => 1,1,TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm)
2328 exten => 1,2,TrySystem(/usr/bin/play /var/spool/asterisk/voicemail/default/3/greet.wav&)
2329 exten => 1,3,Gosub(std-priv-exten,s,1(IAX2/seaniax&Zap/5r2,3,35,mtw,telemarket,telemarket))
2330 exten => 1,4,Goto(homeline,s,loopback)
2331 exten => 2,1,TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm)
2332 exten => 2,2,TrySystem(/usr/bin/play /var/spool/asterisk/voicemail/default/4/greet.wav&)
2333 exten => 2,3,Voicemail(u4)
2334 exten => 2,4,Goto(homeline,s,loopback)
2335 exten => 3,1,TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm)
2336 exten => 3,2,TrySystem(/usr/bin/play /var/spool/asterisk/voicemail/default/5/greet.wav&)
2337 exten => 3,3,Gosub(std-priv-exten,s,1(Zap/3r2&Zap/5r2,5,35,mtw,telemarket,telemarket))
2338 exten => 3,4,Goto(homeline,s,loopback)
2339 exten => 4,1,TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm)
2340 exten => 4,2,TrySystem(/usr/bin/play /var/spool/asterisk/voicemail/default/6/greet.wav&)
2341 exten => 4,3,Gosub(std-priv-exten,s,1(Zap/3r2&Zap/5r2,6,35,mtw,telemarket,telemarket))
2342 exten => 4,4,Goto(homeline,s,loopback)
2343 exten => 5,1,TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm)
2344 exten => 5,2,TrySystem(/usr/bin/play /var/spool/asterisk/voicemail/default/7/greet.wav&)
2345 exten => 5,3,Gosub(std-priv-exten,s,1(Zap/3r2&Zap/5r2,7,35,mtw,telemarket,telemarket))
2346 exten => 5,4,Goto(homeline,s,loopback)
2347 exten => 6,1,TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm)
2348 exten => 6,2,TrySystem(/usr/bin/play /var/spool/asterisk/voicemail/default/8/greet.wav&)
2349 exten => 6,3,Gosub(std-priv-exten,s,1(Zap/3r2&Zap/5r2,8,35,mtw,telemarket,telemarket))
2350 exten => 6,4,Goto(homeline,s,loopback)
2351 exten => 7,1,TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm)
2352 exten => 7,2,TrySystem(/usr/bin/play /var/spool/asterisk/voicemail/default/9/greet.wav&)
2353 exten => 7,3,Gosub(std-priv-exten,s,1(Zap/3r2&Zap/5r2,9,35,mtw,telemarket,telemarket))
2354 exten => 7,4,Goto(homeline,s,loopback)
2355 exten => t,1,Goto(s,begin)
2356 exten => i,1,Background(invalid)
2357 exten => i,2,Goto(s,begin)
2358 exten => o,1,Goto(s,begin)
2359
2360
2361 [voipworkline]
2362 exten => s,1(begin),Answer()
2363 exten => s,2,TrySystem(/usr/local/bin/who-is-it ${CALLERID(num)} "${CALLERID(name)}"&)
2364 exten => s,3,Goto(workline,s,loopback)
2365 exten => 7075679201,1,Answer()
2366 exten => 7075679201,2,TrySystem(/usr/local/bin/who-is-it ${CALLERID(num)} "${CALLERID(name)}"&)
2367 exten => 7075679201,3,Goto(workline,s,loopback)
2368
2369
2370 [workline]
2371 exten => s,1(begin),Answer()
2372 exten => s,2,Wait(1)
2373 exten => s,3,Set(repeatcount=0)
2374 exten => s,4,Zapateller(nocallerid)
2375 exten => s,5,Gosub(fillcidname,s,1)
2376 exten => s,6,TrySystem(/usr/local/bin/who-is-it ${CALLERID(num)} "${CALLERID(name)}"&)
2377 exten => s,7(loopback),Background(greetings/greeting)
2378 exten => s,8,Background(murphy-office-intro1)
2379 exten => 1,1,TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm)
2380 exten => 1,2,TrySystem(/usr/bin/play /var/spool/asterisk/voicemail/default/1/greet.wav&)
2381 exten => 1,3,Gosub(std-priv-exten,s,1(Zap/6&Sip/murf,1,30,mtw,telemarket,telemarket))
2382 exten => 1,4,Goto(s,loopback)
2383 exten => 4,1,VoicemailMain()
2384 exten => 4,2,Goto(s,loopback)
2385 exten => 6,1,Goto(telemarket,s,begin)
2386 exten => 793,1,Read(zz,,0,,1,0)
2387 exten => 793,2,SayDigits(${zz})
2388 exten => t,1,Set(repeatcount=$[${repeatcount} + 1])
2389 exten => t,2,GotoIf($[${repeatcount} < 3 ]?3:4)
2390 exten => t,3,Goto(s,loopback)
2391 exten => t,4,NoOp(Finish if-workline-107)
2392 exten => t,5,Hangup()
2393 exten => i,1,Background(invalid)
2394 exten => i,2,Goto(s,loopback)
2395 exten => o,1,Congestion()
2396 exten => fax,1,Answer()
2397 exten => fax,2,Dial(Zap/4)
2398
2399
2400 [dialFWD]
2401 ignorepat => 8
2402 ignorepat => 9
2403 exten => _83.,1,Set(CALLERID(name)=${FWDCIDNAME})
2404 exten => _83.,2,Dial(IAX2/${FWDNUMBER}:${FWDPASSWORD}@iax2.fwdnet.net/${EXTEN:2},60,r)
2405 exten => _83.,3,Congestion()
2406 exten => _82NXX,1,Set(CALLERID(name)=${FWDCIDNAME})
2407 exten => _82NXX,2,Dial(IAX2/${FWDNUMBER}:${FWDPASSWORD}@iax2.fwdnet.net/${EXTEN:2},60,r)
2408 exten => _82NXX,3,Congestion()
2409 exten => _92NXX,1,Set(CALLERID(name)=${FWDCIDNAME})
2410 exten => _92NXX,2,Dial(IAX2/${FWDNUMBER}:${FWDPASSWORD}@iax2.fwdnet.net/${EXTEN:2},60,r)
2411 exten => _92NXX,3,Congestion()
2412
2413
2414 [dialiaxtel]
2415 ignorepat => 8
2416 ignorepat => 9
2417 exten => _81700NXXXXXX,1,Dial(IAX2/zorch:zilchnoodle@iaxtel.com/${EXTEN:1}@iaxtel)
2418 exten => _81800NXXXXXX,1,Dial(IAX2/zorch:zilchnoodle@iaxtel.com/${EXTEN:1}@iaxtel)
2419 exten => _91700NXXXXXX,1,Dial(IAX2/zorch:zilchnoodle@iaxtel.com/${EXTEN:1}@iaxtel)
2420 exten => _91800NXXXXXX,1,Dial(IAX2/zorch:zilchnoodle@iaxtel.com/${EXTEN:1}@iaxtel)
2421
2422
2423 [dialgoiax]
2424 ignorepat => 9
2425 exten => _93.,1,Set(CALLERID(name)="Joe Worker")
2426 exten => _93.,2,Dial(IAX2/878201007658:stickyfinger295@server1.goiax.com/${EXTEN:2},60,r)
2427 exten => _93.,3,Congestion()
2428
2429
2430 [homefirst]
2431 ignorepat => 9
2432 exten => _91NXXNXXXXXX,1,Gosub(ciddial,s,1(${EXTEN:1},${EXTEN:2},30,TW,Zap/1))
2433 exten => _9754XXXX,1,Gosub(ciddial,s,1(${EXTEN:1},707${EXTEN:1},30,TW,Zap/1))
2434 exten => _9574XXXX,1,Gosub(ciddial,s,1(${EXTEN:1},707${EXTEN:1},30,TW,Zap/1))
2435 exten => _9202XXXX,1,Gosub(ciddial,s,1(${EXTEN:1},707${EXTEN:1},30,TW,Zap/1))
2436 exten => _9219XXXX,1,Gosub(ciddial,s,1(${EXTEN:1},707${EXTEN:1},30,TW,Zap/1))
2437 exten => _9254XXXX,1,Gosub(ciddial,s,1(${EXTEN:1},707${EXTEN:1},30,TW,Zap/1))
2438 exten => _9716XXXX,1,Gosub(ciddial,s,1(${EXTEN:1},707${EXTEN:1},30,TW,Zap/1))
2439 exten => _9NXXXXXX,1,Gosub(ciddial,s,1(1707${EXTEN:1},707${EXTEN:1},30,TW,Zap/1))
2440 exten => _9011.,1,Gosub(ciddial,s,1(${EXTEN:1},${EXTEN:1},30,TW,Zap/1))
2441 exten => _9911,1,Dial(Zap/1/911,30,T)
2442 exten => _9411,1,Dial(Zap/1/411,30,T)
2443
2444
2445 [workfirst]
2446 ignorepat => 9
2447 exten => _91NXXNXXXXXX,1,Gosub(ciddial2,s,1(${EXTEN:1},${EXTEN:2},30,TW,Zap/1))
2448 exten => _9754XXXX,1,Gosub(ciddial2,s,1(${EXTEN:1},707${EXTEN:1},30,TW,Zap/1))
2449 exten => _9574XXXX,1,Gosub(ciddial2,s,1(${EXTEN:1},707${EXTEN:1},30,TW,Zap/1))
2450 exten => _9202XXXX,1,Gosub(ciddial2,s,1(${EXTEN:1},707${EXTEN:1},30,TW,Zap/1))
2451 exten => _9219XXXX,1,Gosub(ciddial2,s,1(${EXTEN:1},707${EXTEN:1},30,TW,Zap/1))
2452 exten => _9254XXXX,1,Gosub(ciddial2,s,1(${EXTEN:1},707${EXTEN:1},30,TW,Zap/1))
2453 exten => _9716XXXX,1,Gosub(ciddial2,s,1(${EXTEN:1},707${EXTEN:1},30,TW,Zap/1))
2454 exten => _9NXXXXXX,1,Gosub(ciddial2,s,1(1707${EXTEN:1},707${EXTEN:1},30,TW,Zap/1))
2455 exten => _9911,1,Dial(Zap/1/911,30,T)
2456 exten => _9411,1,Dial(Zap/1/411,30,T)
2457
2458
2459 [force_cell]
2460 ignorepat => 8
2461 exten => _81NXXNXXXXXX,1,Gosub(ciddial,s,1(${EXTEN:1}#,${EXTEN:2},30,TW,Zap/2))
2462 exten => _8754XXXX,1,Gosub(ciddial,s,1(${EXTEN:1}#,707${EXTEN:1},30,TW,Zap/2))
2463 exten => _8574XXXX,1,Gosub(ciddial,s,1(${EXTEN:1}#,707${EXTEN:1},30,TW,Zap/2))
2464 exten => _8202XXXX,1,Gosub(ciddial,s,1(${EXTEN:1}#,707${EXTEN:1},30,TW,Zap/2))
2465 exten => _8219XXXX,1,Gosub(ciddial,s,1(${EXTEN:1}#,707${EXTEN:1},30,TW,Zap/2))
2466 exten => _8254XXXX,1,Gosub(ciddial,s,1(${EXTEN:1}#,707${EXTEN:1},30,TW,Zap/2))
2467 exten => _8716XXXX,1,Gosub(ciddial,s,1(${EXTEN:1}#,707${EXTEN:1},30,TW,Zap/2))
2468 exten => _8NXXXXXX,1,Gosub(ciddial,s,1(${EXTEN:1}#,707${EXTEN:1},30,TW,Zap/2))
2469 exten => _8911,1,Dial(Zap/1/911|30|T)
2470 exten => _8411,1,Dial(Zap/1/411|30|T)
2471
2472
2473 [force_home]
2474 ignorepat => 8
2475 exten => _81NXXNXXXXXX,1,Gosub(ciddial3,s,1(${EXTEN:1}#,${EXTEN:2},30,TW,Zap/1))
2476 exten => _8754XXXX,1,Gosub(ciddial3,s,1(${EXTEN:1}#,707${EXTEN:1},30,TW,Zap/1))
2477 exten => _8574XXXX,1,Gosub(ciddial3,s,1(${EXTEN:1}#,707${EXTEN:1},30,TW,Zap/1))
2478 exten => _8202XXXX,1,Gosub(ciddial3,s,1(${EXTEN:1}#,707${EXTEN:1},30,TW,Zap/1))
2479 exten => _8219XXXX,1,Gosub(ciddial3,s,1(${EXTEN:1}#,707${EXTEN:1},30,TW,Zap/1))
2480 exten => _8254XXXX,1,Gosub(ciddial3,s,1(${EXTEN:1}#,707${EXTEN:1},30,TW,Zap/1))
2481 exten => _8716XXXX,1,Gosub(ciddial3,s,1(${EXTEN:1}#,707${EXTEN:1},30,TW,Zap/1))
2482 exten => _8NXXXXXX,1,Gosub(ciddial3,s,1(1707${EXTEN:1}#,707${EXTEN:1},30,TW,Zap/1))
2483 exten => _8911,1,Dial(Zap/1/911|30|T)
2484 exten => _8411,1,Dial(Zap/1/411|30|T)
2485
2486
2487 [homeext]
2488 ignorepat => 8
2489 ignorepat => 9
2490 include => parkedcalls
2491 include => homefirst
2492 include => force_cell
2493 exten => s,1(loopback),Wait(0)
2494 exten => 1,1,Gosub(std-priv-exten,s,1(Zap/3&Zap/5,2,35,mtw,telemarket,telemarket))
2495 exten => 1,2,Goto(s,loopback)
2496 exten => 2,1,Gosub(std-priv-exten,s,1(Zap/6&Zap/5,1,35,mpA(beep3)Tt,telemarket,telemarket))
2497 exten => 2,2,Goto(s,loopback)
2498 exten => 4,1,VoicemailMain()
2499 exten => 5,1,Record(recording:gsm)
2500 exten => 5,2,Background(recording)
2501 exten => 6,1,Background(recording)
2502 exten => 760,1,DateTime()
2503 exten => 760,2,Goto(s,loopback)
2504 exten => 761,1,Record(announcement:gsm)
2505 exten => 761,2,TrySystem(/usr/bin/play /var/lib/asterisk/sounds/announcement.gsm&)
2506 exten => 761,3,Goto(s,loopback)
2507 exten => 762,1,agi(tts-riddle.agi)
2508 exten => 762,2,Background(gsm/what-time-it-is2)
2509 exten => 762,3,SayUnixTime()
2510 exten => 762,4,Goto(s,loopback)
2511 exten => 763,1,Set(CALLERID(num)=)
2512 exten => 763,2,Dial(Zap/6r3,35,mptA(beep3))
2513 exten => 763,3,Hangup()
2514 exten => 764,1,Set(CALLERID(num)=)
2515 exten => 764,2,Dial(Zap/6r3,35,mptnA(beep3))
2516 exten => 764,3,Hangup()
2517 exten => 765,1,Set(CALLERID(num)=)
2518 exten => 765,2,Dial(Zap/6r3,35,mptNA(beep3))
2519 exten => 765,3,Hangup()
2520 exten => 766,1,Dial(Zap/6r3,35,mptNA(beep3))
2521 exten => 766,2,Hangup()
2522 exten => 767,1,Dial(Zap/6r3,35,mptnA(beep3))
2523 exten => 767,2,Hangup()
2524 exten => 769,1,Playtones(dial)
2525 exten => 769,2,Wait(2)
2526 exten => 769,3,Playtones(busy)
2527 exten => 769,4,Wait(2)
2528 exten => 769,5,Playtones(ring)
2529 exten => 769,6,Wait(2)
2530 exten => 769,7,Playtones(congestion)
2531 exten => 769,8,Wait(2)
2532 exten => 769,9,Playtones(callwaiting)
2533 exten => 769,10,Wait(2)
2534 exten => 769,11,Playtones(dialrecall)
2535 exten => 769,12,Wait(2)
2536 exten => 769,13,Playtones(record)
2537 exten => 769,14,Wait(2)
2538 exten => 769,15,Playtones(info)
2539 exten => 769,16,Wait(5)
2540 exten => 769,17,Hangup()
2541 exten => 790,1,MeetMe(790,p)
2542 exten => 792,1,Goto(pageall,s,begin)
2543 exten => 795,1,AGI(wakeup.agi)
2544 exten => 795,2,Congestion()
2545 exten => 544716,1,TrySystem(/usr/local/bin/who-is-it ${CALLERID(num)} "${CALLERID(name)}"&)
2546 exten => 544716,2,Goto(s,loopback)
2547 exten => i,1,Background(invalid)
2548 exten => i,2,Goto(s,loopback)
2549 exten => o,1,Goto(s,loopback)
2550 exten => t,1,Congestion()
2551
2552
2553 [fromvmhome]
2554 exten => 1,1,Dial(Zap/6&Sip/murf|20|Tt)
2555 exten => 2,1,Dial(Zap/3&Zap/5|20|Tt)
2556 exten => _707202XXXX,1,Gosub(ciddial,s,1(1${EXTEN:3},${EXTEN},30,TW,Zap/1))
2557 exten => _707219XXXX,1,Gosub(ciddial,s,1(1${EXTEN:3},${EXTEN},30,TW,Zap/1))
2558 exten => _707254XXXX,1,Gosub(ciddial,s,1(1${EXTEN:3},${EXTEN},30,TW,Zap/1))
2559 exten => _707716XXXX,1,Gosub(ciddial,s,1(1${EXTEN:3},${EXTEN},30,TW,Zap/1))
2560 exten => _707754XXXX,1,Gosub(ciddial,s,1(${EXTEN:3},${EXTEN},30,TW,Zap/1))
2561 exten => _707574XXXX,1,Gosub(ciddial,s,1(${EXTEN:3},${EXTEN},30,TW,Zap/1))
2562 exten => _NXXNXXXXXX,1,Gosub(ciddial,s,1(1${EXTEN},${EXTEN},30,TW,Zap/1))
2563 exten => _1NXXNXXXXXX,1,Gosub(ciddial,s,1(${EXTEN},${EXTEN:1},30,TW,Zap/1))
2564 exten => _754XXXX,1,Gosub(ciddial,s,1(${EXTEN},707${EXTEN},30,TW,Zap/1))
2565 exten => _574XXXX,1,Gosub(ciddial,s,1(${EXTEN},707${EXTEN},30,TW,Zap/1))
2566 exten => _NXXXXXX,1,Gosub(ciddial,s,1(1707${EXTEN},707${EXTEN},30,TW,Zap/1))
2567 exten => _911,1,Gosub(ciddial,s,1(911,911,30,TW,Zap/1))
2568 exten => _411,1,Gosub(ciddial,s,1(411,411,30,TW,Zap/1))
2569
2570
2571 [fromvmwork]
2572 exten => 1,1,Dial(Zap/6&Sip/murf|20|Tt)
2573 exten => 2,1,Dial(Zap/3&Zap/5|20|Tt)
2574 exten => _707202XXXX,1,Gosub(ciddial,s,1(1${EXTEN:3},${EXTEN},30,TW,Zap/1))
2575 exten => _707219XXXX,1,Gosub(ciddial,s,1(1${EXTEN:3},${EXTEN},30,TW,Zap/1))
2576 exten => _707254XXXX,1,Gosub(ciddial,s,1(1${EXTEN:3},${EXTEN},30,TW,Zap/1))
2577 exten => _707716XXXX,1,Gosub(ciddial,s,1(1${EXTEN:3},${EXTEN},30,TW,Zap/1))
2578 exten => _707754XXXX,1,Gosub(ciddial,s,1(${EXTEN:3},${EXTEN},30,TW,Zap/1))
2579 exten => _707574XXXX,1,Gosub(ciddial,s,1(${EXTEN:3},${EXTEN},30,TW,Zap/1))
2580 exten => _NXXNXXXXXX,1,Gosub(ciddial,s,1(1${EXTEN},${EXTEN},30,TW,Zap/1))
2581 exten => _1NXXNXXXXXX,1,Gosub(ciddial,s,1(${EXTEN},${EXTEN:1},30,TW,Zap/1))
2582 exten => _754XXXX,1,Gosub(ciddial,s,1(${EXTEN},707${EXTEN},30,TW,Zap/1))
2583 exten => _574XXXX,1,Gosub(ciddial,s,1(${EXTEN},707${EXTEN},30,TW,Zap/1))
2584 exten => _NXXXXXX,1,Gosub(ciddial,s,1(1707${EXTEN},707${EXTEN},30,TW,Zap/1))
2585 exten => 911,1,Gosub(ciddial,s,1(911,911,30,TW,Zap/1))
2586 exten => 411,1,Gosub(ciddial,s,1(411,411,30,TW,Zap/1))
2587
2588
2589 [fromSeanUniden]
2590 include => parkedcalls
2591 exten => 21,1,Dial(IAX2/seaniax,20,T)
2592 exten => _707202XXXX,1,Gosub(ciddial,s,1(${EXTEN:3},${EXTEN},30,TW,Zap/1))
2593 exten => _707219XXXX,1,Gosub(ciddial,s,1(${EXTEN:3},${EXTEN},30,TW,Zap/1))
2594 exten => _707254XXXX,1,Gosub(ciddial,s,1(${EXTEN:3},${EXTEN},30,TW,Zap/1))
2595 exten => _707716XXXX,1,Gosub(ciddial,s,1(${EXTEN:3},${EXTEN},30,TW,Zap/1))
2596 exten => _707754XXXX,1,Gosub(ciddial,s,1(${EXTEN:3},${EXTEN},30,TW,Zap/1))
2597 exten => _707574XXXX,1,Gosub(ciddial,s,1(${EXTEN:3},${EXTEN},30,TW,Zap/1))
2598 exten => _NXXNXXXXXX,1,Gosub(ciddial,s,1(1${EXTEN},${EXTEN},30,TW,Zap/1))
2599 exten => _1NXXNXXXXXX,1,Gosub(ciddial,s,1(${EXTEN},${EXTEN:1},30,TW,Zap/1))
2600 exten => _754XXXX,1,Gosub(ciddial,s,1(${EXTEN},707${EXTEN},30,TW,Zap/1))
2601 exten => _574XXXX,1,Gosub(ciddial,s,1(${EXTEN},707${EXTEN},30,TW,Zap/1))
2602 exten => _NXXXXXX,1,Gosub(ciddial,s,1(1707${EXTEN},707${EXTEN},30,TW,Zap/1))
2603 exten => 911,1,Gosub(ciddial,s,1(911,911,30,TW,Zap/1))
2604 exten => 411,1,Gosub(ciddial,s,1(411,411,30,TW,Zap/1))
2605
2606
2607 [workext]
2608 ignorepat => 8
2609 ignorepat => 9
2610 include => parkedcalls
2611 include => workfirst
2612 include => force_home
2613 include => dialFWD
2614 include => dialiaxtel
2615 include => dialgoiax
2616 exten => s,1(loopback),Wait(0)
2617 exten => 1,1,Dial(Zap/3&Zap/5,20,tT)
2618 exten => 2,1,Dial(Zap/5&Zap/6,20,tT)
2619 exten => 21,1,Dial(IAX2/seaniax,20,T)
2620 exten => 22,1,Set(CALLERID(num)=1234567890)
2621 exten => 22,2,Set(CALLERID(name)=TestCaller)
2622 exten => 22,3,Dial(Zap/5,20,mP()A(beep)tw)
2623 exten => 22,4,NoOp(here is dialstatus: ${DIALSTATUS}...)
2624 exten => 22,5,Goto(s,loopback)
2625 exten => 4,1,VoicemailMain()
2626 exten => 4,2,Goto(s,loopback)
2627 exten => 5,1,Record(recording:gsm)
2628 exten => 5,2,Background(recording)
2629 exten => 6,1,ZapBarge()
2630 exten => 760,1,DateTime()
2631 exten => 760,2,Goto(s,loopback)
2632 exten => 761,1,ZapBarge()
2633 exten => 761,2,Goto(s,loopback)
2634 exten => 765,1,Playback(demo-echotest)
2635 exten => 765,2,Echo()
2636 exten => 765,3,Playback(demo-echodone)
2637 exten => 765,4,Goto(s,loopback)
2638 exten => 766,1,Festival(The other thing to watch is neuro-electronics: the ability to interface technology with our neural system: My wife: Sigrid: has had a cochlear implant since 1996. This once profoundly deaf person now uses the phone: recognizes accents: and listens to movies and recorded books.)
2639 exten => 766,2,Goto(s,loopback)
2640 exten => 767,1,agi(tts-riddle.agi)
2641 exten => 767,2,Background(gsm/what-time-it-is2)
2642 exten => 767,3,SayUnixTime()
2643 exten => 767,4,Goto(s,loopback)
2644 exten => 768,1,agi(tts-computer.agi)
2645 exten => 771,1,eagi(eagi-test)
2646 exten => 771,2,agi(my-agi-test)
2647 exten => 772,1,agi(wakeup.agi)
2648 exten => 775,1,GotoIf($[${EXTEN}=${EXTEN} ]?2:4)
2649 exten => 775,2,BackGround(digits/1)
2650 exten => 775,3,Goto(5)
2651 exten => 775,4,BackGround(digits/0)
2652 exten => 775,5,NoOp(Finish if-workext-108)
2653 exten => 775,6,GotoIf($[${EXTEN}=${LANGUAGE} ]?7:9)
2654 exten => 775,7,BackGround(digits/1)
2655 exten => 775,8,Goto(10)
2656 exten => 775,9,BackGround(digits/0)
2657 exten => 775,10,NoOp(Finish if-workext-109)
2658 exten => 775,11,BackGround(digits/2)
2659 exten => 776,1,Set(TEST=00359889811777)
2660 exten => 776,2,GotoIf($[${TEST}= 00359889811777 ]?3:5)
2661 exten => 776,3,BackGround(digits/1)
2662 exten => 776,4,Goto(6)
2663 exten => 776,5,BackGround(digits/0)
2664 exten => 776,6,NoOp(Finish if-workext-110)
2665 exten => 776,7,GotoIf($[${TEST}= 00359889811888 ]?8:10)
2666 exten => 776,8,BackGround(digits/1)
2667 exten => 776,9,Goto(11)
2668 exten => 776,10,BackGround(digits/0)
2669 exten => 776,11,NoOp(Finish if-workext-111)
2670 exten => 776,12,Hangup()
2671 exten => 790,1,MeetMe(790,p)
2672 exten => 792,1,Goto(pageall,s,begin)
2673 exten => 793,1,NoOp(Hello, this is included from include1.ael2)
2674 exten => 793,2,NoOp(This was included from include2.ael2)
2675 exten => 793,3,NoOp(This is include3.ael2!)
2676 exten => 793,4,NoOp(Include5.ael2 doesn't include anything, either!)
2677 exten => 793,5,NoOp(This is include4.ael2! Isn't it cool!?!?!?!)
2678 exten => 793,6,NoOp(4 doesn't include anything)
2679 exten => 795,1,AGI(wakeup.agi)
2680 exten => 795,2,Congestion()
2681 exten => 797,1,Set(CONFCIDNA=${CALLERID(name)})
2682 exten => 797,2,Set(CONFCIDNU=${CALLERID(num)})
2683 exten => 797,3,AGI(callall)
2684 exten => 797,4,AGI(submit-announce.agi)
2685 exten => 797,5,Hangup()
2686
2687
2688 [wakeup]
2689 exten => 3,1,Dial(Zap/3|30)
2690 exten => 4,1,Dial(Zap/4|30)
2691 exten => 5,1,Dial(Zap/5|30)
2692 exten => 6,1,Dial(Zap/6|30)
2693 exten => 99,1,Dial(IAX2/murfiaxphone|30)
2694 exten => 97,1,Dial(IAX2/ryaniax|30)
2695 exten => 94,1,Dial(IAX2/seaniax|30)
2696
2697
2698 [announce-all]
2699 exten => s,1(begin),MeetMe(5555,dtqp)
2700 exten => s,2,MeetMeAdmin(5555,K)
2701 exten => s,3,Hangup()
2702 exten => h,1,MeetMeAdmin(5555,K)
2703 exten => h,2,Hangup()
2704
2705
2706 [telemarket]
2707 exten => s,1(begin),Playback(telemarketer-intro)
2708 exten => s,2,Playback(telemarketer-choices)
2709 exten => 1,1,Goto(telemarket-charity,s,begin)
2710 exten => 2,1,Goto(telemarket-political,s,begin)
2711 exten => 3,1,Goto(telemarket-pollster,s,begin)
2712 exten => 4,1,Goto(telemarket-research,s,begin)
2713 exten => 5,1,Goto(telemarket-magazine,s,begin)
2714 exten => 6,1,Goto(telemarket-commercial,s,begin)
2715 exten => 7,1,Goto(telemarket-other,s,begin)
2716 exten => t,1,Goto(telemarket,s,begin)
2717 exten => i,1,Goto(telemarket,s,begin)
2718 exten => o,1,Goto(telemarket,s,begin)
2719
2720
2721 [telemarket-charity]
2722 exten => s,1(begin),Playback(telemark-charity-intro)
2723 exten => s,2,Playback(telemark-charity-choices)
2724 exten => 1,1,Goto(telemarket-char-disease,s,begin)
2725 exten => 2,1,Goto(telemarket-char-handicap,s,begin)
2726 exten => 3,1,Goto(telemarket-char-police,s,begin)
2727 exten => 4,1,Goto(telemarket-char-school,s,begin)
2728 exten => 5,1,Goto(telemarket-char-college,s,begin)
2729 exten => 6,1,Goto(telemarket-char-animal,s,begin)
2730 exten => 7,1,Goto(telemarket-char-candidate,s,begin)
2731 exten => 8,1,Goto(telemarket-char-abuse,s,begin)
2732 exten => 9,1,Goto(telemarket-char-other,s,begin)
2733 exten => t,1,Goto(telemarket,s,begin)
2734 exten => i,1,Goto(telemarket,s,begin)
2735 exten => o,1,Goto(telemarket,s,begin)
2736
2737
2738 [telemarket-char-disease]
2739 exten => s,1(begin),Goto(telemarket-sorry,s,begin)
2740
2741
2742 [telemarket-char-handicap]
2743 exten => s,1(begin),Goto(telemarket-sorry,s,begin)
2744
2745
2746 [telemarket-char-police]
2747 exten => s,1(begin),Goto(telemarket-sorry,s,begin)
2748
2749
2750 [telemarket-char-school]
2751 exten => s,1(begin),Goto(telemarket-sorry,s,begin)
2752
2753
2754 [telemarket-char-college]
2755 exten => s,1(begin),Goto(telemarket-sorry,s,begin)
2756
2757
2758 [telemarket-char-animal]
2759 exten => s,1(begin),Goto(telemarket-sorry,s,begin)
2760
2761
2762 [telemarket-char-candidate]
2763 exten => s,1(begin),Goto(telemarket-sorry,s,begin)
2764
2765
2766 [telemarket-char-abuse]
2767 exten => s,1(begin),Goto(telemarket-sorry,s,begin)
2768
2769
2770 [telemarket-char-other]
2771 exten => s,1(begin),Goto(telemarket-sorry,s,begin)
2772
2773
2774 [telemarket-sorry]
2775 exten => s,1(begin),Playback(telemarket-sorry)
2776 exten => s,2,Hangup()
2777
2778
2779 [telemarket-exception]
2780 exten => s,1(begin),Playback(telemarket-success)
2781 exten => s,2,Hangup()
2782
2783
2784 [telemarket-political]
2785 exten => s,1(begin),Playback(telemark-polit-intro)
2786 exten => s,2,Playback(telemark-polit-choices)
2787 exten => 1,1,Goto(telemarket-poli-Am1st,s,begin)
2788 exten => 2,1,Goto(telemarket-poli-American,s,begin)
2789 exten => 3,1,Goto(telemarket-poli-AmHer,s,begin)
2790 exten => 4,1,Goto(telemarket-poli-AmInd,s,begin)
2791 exten => 5,1,Goto(telemarket-poli-AmNaz,s,begin)
2792 exten => 6,1,Goto(telemarket-poli-Pot,s,begin)
2793 exten => 7,1,Goto(telemarket-poli-AmRef,s,begin)
2794 exten => 8,1,Goto(telemarket-poli-CFP,s,begin)
2795 exten => 9,1,Goto(telemarket-political2,s,begin)
2796 exten => t,1,Goto(telemarket,s,begin)
2797 exten => i,1,Goto(telemarket,s,begin)
2798 exten => o,1,Goto(telemarket,s,begin)
2799
2800
2801 [telemarket-political2]
2802 exten => s,1(begin),Playback(telemark-politx-intro)
2803 exten => s,2,Playback(telemark-polit2-choices)
2804 exten => 1,1,Goto(telemarket-poli-Communist,s,begin)
2805 exten => 2,1,Goto(telemarket-poli-Constit,s,begin)
2806 exten => 3,1,Goto(telemarket-poli-FamVal,s,begin)
2807 exten => 4,1,Goto(telemarket-poli-FreedSoc,s,begin)
2808 exten => 5,1,Goto(telemarket-poli-Grassroot,s,begin)
2809 exten => 6,1,Goto(telemarket-poli-Green,s,begin)
2810 exten => 7,1,Goto(telemarket-poli-Greens,s,begin)
2811 exten => 8,1,Goto(telemarket-poli-Independence,s,begin)
2812 exten => 9,1,Goto(telemarket-political3,s,begin)
2813 exten => t,1,Goto(telemarket,s,begin)
2814 exten => i,1,Goto(telemarket,s,begin)
2815 exten => o,1,Goto(telemarket,s,begin)
2816
2817
2818 [telemarket-political3]
2819 exten => s,1(begin),Playback(telemark-politx-intro)
2820 exten => s,2,Playback(telemark-polit3-choices)
2821 exten => 1,1,Goto(telemarket-poli-IndAm,s,begin)
2822 exten => 2,1,Goto(telemarket-poli-Labor,s,begin)
2823 exten => 3,1,Goto(telemarket-poli-Liber,s,begin)
2824 exten => 4,1,Goto(telemarket-poli-Light,s,begin)
2825 exten => 5,1,Goto(telemarket-poli-NatLaw,s,begin)
2826 exten => 6,1,Goto(telemarket-poli-New,s,begin)
2827 exten => 7,1,Goto(telemarket-poli-NewUn,s,begin)
2828 exten => 8,1,Goto(telemarket-poli-PeaceFree,s,begin)
2829 exten => 9,1,Goto(telemarket-political4,s,begin)
2830 exten => t,1,Goto(telemarket,s,begin)
2831 exten => i,1,Goto(telemarket,s,begin)
2832 exten => o,1,Goto(telemarket,s,begin)
2833
2834
2835 [telemarket-political4]
2836 exten => s,1(begin),Playback(telemark-politx-intro)
2837 exten => s,2,Playback(telemark-polit4-choices)
2838 exten => 1,1,Goto(telemarket-poli-Prohib,s,begin)
2839 exten => 2,1,Goto(telemarket-poli-Ref,s,begin)
2840 exten => 3,1,Goto(telemarket-poli-Revol,s,begin)
2841 exten => 4,1,Goto(telemarket-poli-SocPart,s,begin)
2842 exten => 5,1,Goto(telemarket-poli-SocAct,s,begin)
2843 exten => 6,1,Goto(telemarket-poli-SocEq,s,begin)
2844 exten => 7,1,Goto(telemarket-poli-SocLab,s,begin)
2845 exten => 8,1,Goto(telemarket-poli-SocWork,s,begin)
2846 exten => 9,1,Goto(telemarket-political5,s,begin)
2847 exten => t,1,Goto(telemarket,s,begin)
2848 exten => i,1,Goto(telemarket,s,begin)
2849 exten => o,1,Goto(telemarket,s,begin)
2850
2851
2852 [telemarket-political5]
2853 exten => s,1(begin),Playback(telemark-politx-intro)
2854 exten => s,2,Playback(telemark-polit5-choices)
2855 exten => 1,1,Goto(telemarket-poli-South,s,begin)
2856 exten => 2,1,Goto(telemarket-poli-SoInd,s,begin)
2857 exten => 3,1,Goto(telemarket-poli-USPac,s,begin)
2858 exten => 4,1,Goto(telemarket-poli-WTP,s,begin)
2859 exten => 5,1,Goto(telemarket-poli-WWP,s,begin)
2860 exten => 6,1,Goto(telemarket-poli-Democrat,s,begin)
2861 exten => 7,1,Goto(telemarket-poli-Repub,s,begin)
2862 exten => 8,1,Goto(telemarket-poli-other,s,begin)
2863 exten => t,1,Goto(telemarket,s,begin)
2864 exten => i,1,Goto(telemarket,s,begin)
2865 exten => o,1,Goto(telemarket,s,begin)
2866
2867
2868 [telemarket-poli-other]
2869 exten => s,1(begin),Goto(telemarket-sorry,s,begin)
2870
2871
2872 [telemarket-poli-Repub]
2873 exten => s,1(begin),Goto(telemarket-sorry,s,begin)
2874
2875
2876 [telemarket-poli-Democrat]
2877 exten => s,1(begin),Goto(telemarket-sorry,s,begin)
2878
2879
2880 [telemarket-poli-WWP]
2881 exten => s,1(begin),Goto(telemarket-sorry,s,begin)
2882
2883
2884 [telemarket-poli-WTP]
2885 exten => s,1(begin),Goto(telemarket-sorry,s,begin)
2886
2887
2888 [telemarket-poli-USPac]
2889 exten => s,1(begin),Goto(telemarket-sorry,s,begin)
2890
2891
2892 [telemarket-poli-SoInd]
2893 exten => s,1(begin),Goto(telemarket-sorry,s,begin)
2894
2895
2896 [telemarket-poli-South]
2897 exten => s,1(begin),Goto(telemarket-sorry,s,begin)
2898
2899
2900 [telemarket-poli-SocWork]
2901 exten => s,1(begin),Goto(telemarket-sorry,s,begin)
2902
2903
2904 [telemarket-poli-SocLab]
2905 exten => s,1(begin),Goto(telemarket-sorry,s,begin)
2906
2907
2908 [telemarket-poli-SocEq]
2909 exten => s,1(begin),Goto(telemarket-sorry,s,begin)
2910
2911
2912 [telemarket-poli-SocAct]
2913 exten => s,1(begin),Goto(telemarket-sorry,s,begin)
2914
2915
2916 [telemarket-poli-SocPart]
2917 exten => s,1(begin),Goto(telemarket-sorry,s,begin)
2918
2919
2920 [telemarket-poli-Revol]
2921 exten => s,1(begin),Goto(telemarket-sorry,s,begin)
2922
2923
2924 [telemarket-poli-Ref]
2925 exten => s,1(begin),Goto(telemarket-sorry,s,begin)
2926
2927
2928 [telemarket-poli-Prohib]
2929 exten => s,1(begin),Goto(telemarket-sorry,s,begin)
2930
2931
2932 [telemarket-poli-PeaceFree]
2933 exten => s,1(begin),Goto(telemarket-sorry,s,begin)
2934
2935
2936 [telemarket-poli-NewUn]
2937 exten => s,1(begin),Goto(telemarket-sorry,s,begin)
2938
2939
2940 [telemarket-poli-New]
2941 exten => s,1(begin),Goto(telemarket-sorry,s,begin)
2942
2943
2944 [telemarket-poli-NatLaw]
2945 exten => s,1(begin),Goto(telemarket-sorry,s,begin)
2946
2947
2948 [telemarket-poli-Light]
2949 exten => s,1(begin),Goto(telemarket-sorry,s,begin)
2950
2951
2952 [telemarket-poli-Liber]
2953 exten => s,1(begin),Goto(telemarket-sorry,s,begin)
2954
2955
2956 [telemarket-poli-Labor]
2957 exten => s,1(begin),Goto(telemarket-sorry,s,begin)
2958
2959
2960 [telemarket-poli-IndAm]
2961 exten => s,1(begin),Goto(telemarket-sorry,s,begin)
2962
2963
2964 [telemarket-poli-Independence]
2965 exten => s,1(begin),Goto(telemarket-sorry,s,begin)
2966
2967
2968 [telemarket-poli-Greens]
2969 exten => s,1(begin),Goto(telemarket-sorry,s,begin)
2970
2971
2972 [telemarket-poli-Green]
2973 exten => s,1(begin),Goto(telemarket-sorry,s,begin)
2974
2975
2976 [telemarket-poli-Grassroot]
2977 exten => s,1(begin),Goto(telemarket-sorry,s,begin)
2978
2979
2980 [telemarket-poli-FreedSoc]
2981 exten => s,1(begin),Goto(telemarket-sorry,s,begin)
2982
2983
2984 [telemarket-poli-FamVal]
2985 exten => s,1(begin),Goto(telemarket-sorry,s,begin)
2986
2987
2988 [telemarket-poli-Constit]
2989 exten => s,1(begin),Goto(telemarket-sorry,s,begin)
2990
2991
2992 [telemarket-poli-Communist]
2993 exten => s,1(begin),Goto(telemarket-sorry,s,begin)
2994
2995
2996 [telemarket-poli-CFP]
2997 exten => s,1(begin),Goto(telemarket-sorry,s,begin)
2998
2999
3000 [telemarket-poli-AmRef]
3001 exten => s,1(begin),Goto(telemarket-sorry,s,begin)
3002
3003
3004 [telemarket-poli-Pot]
3005 exten => s,1(begin),Goto(telemarket-political,s,begin)
3006
3007
3008 [telemarket-poli-AmNaz]
3009 exten => s,1(begin),Goto(telemarket-sorry,s,begin)
3010
3011
3012 [telemarket-poli-AmInd]
3013 exten => s,1(begin),Goto(telemarket-sorry,s,begin)
3014
3015
3016 [telemarket-poli-AmHer]
3017 exten => s,1(begin),Goto(telemarket-sorry,s,begin)
3018
3019
3020 [telemarket-poli-American]
3021 exten => s,1(begin),Goto(telemarket-sorry,s,begin)
3022
3023
3024 [telemarket-poli-Am1st]
3025 exten => s,1(begin),Goto(telemarket-sorry,s,begin)
3026
3027
3028 [telemarket-pollster]
3029 exten => s,1(begin),Playback(telemark-poll-intro)
3030 exten => s,2,Goto(telemarket-sorry,s,begin)
3031 exten => t,1,Goto(telemarket,s,begin)
3032 exten => i,1,Goto(telemarket,s,begin)
3033 exten => o,1,Goto(telemarket,s,begin)
3034
3035
3036 [telemarket-research]
3037 exten => s,1(begin),Playback(telemark-research-intro)
3038 exten => s,2,Goto(telemarket-sorry,s,begin)
3039 exten => t,1,Goto(telemarket,s,begin)
3040 exten => i,1,Goto(telemarket,s,begin)
3041 exten => o,1,Goto(telemarket,s,begin)
3042
3043
3044 [telemarket-magazine]
3045 exten => s,1(begin),Playback(telemark-mag-choices)
3046 exten => 1,1,Goto(telemark-mag-new,s,begin)
3047 exten => 2,1,Goto(telemark-mag-renew,s,begin)
3048 exten => 3,1,Goto(telemark-mag-survey,s,begin)
3049 exten => 4,1,Goto(telemark-mag-verify,s,begin)
3050 exten => 5,1,Goto(telemark-mag-other,s,begin)
3051 exten => t,1,Goto(telemarket,s,begin)
3052 exten => i,1,Goto(telemarket,s,begin)
3053 exten => o,1,Goto(telemarket,s,begin)
3054
3055
3056 [telemark-mag-new]
3057 exten => s,1(begin),Playback(telemark-mag-new)
3058 exten => s,2,Hangup()
3059 exten => t,1,Goto(telemarket,s,begin)
3060 exten => i,1,Goto(telemarket,s,begin)
3061 exten => o,1,Goto(telemarket,s,begin)
3062
3063
3064 [telemark-mag-renew]
3065 exten => s,1(begin),Playback(telemark-mag-renew)
3066 exten => s,2,Hangup()
3067 exten => t,1,Goto(telemarket,s,begin)
3068 exten => i,1,Goto(telemarket,s,begin)
3069 exten => o,1,Goto(telemarket,s,begin)
3070
3071
3072 [telemark-mag-survey]
3073 exten => s,1(begin),Playback(telemark-mag-survey)
3074 exten => s,2,Hangup()
3075 exten => t,1,Goto(telemarket,s,begin)
3076 exten => i,1,Goto(telemarket,s,begin)
3077 exten => o,1,Goto(telemarket,s,begin)
3078
3079
3080 [telemark-mag-verify]
3081 exten => s,1(begin),Playback(telemark-mag-verify)
3082 exten => s,2,Hangup()
3083 exten => t,1,Goto(telemarket,s,begin)
3084 exten => i,1,Goto(telemarket,s,begin)
3085 exten => o,1,Goto(telemarket,s,begin)
3086
3087
3088 [telemark-mag-other]
3089 exten => s,1(begin),Goto(telemarket-sorry,s,begin)
3090
3091
3092 [telemarket-commercial]
3093 exten => s,1(begin),Playback(telemark-comm-intro)
3094 exten => s,2,Voicemail(u82)
3095 exten => s,3,Goto(telemarket-sorry,s,begin)
3096 exten => t,1,Goto(telemarket,s,begin)
3097 exten => i,1,Goto(telemarket,s,begin)
3098 exten => o,1,Goto(telemarket,s,begin)
3099
3100
3101 [telemarket-other]
3102 exten => s,1(begin),Playback(telemark-other-intro)
3103 exten => s,2,Hangup()
3104 exten => t,1,Goto(telemarket,s,begin)
3105 exten => i,1,Goto(telemarket,s,begin)
3106 exten => o,1,Goto(telemarket,s,begin)