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