2 ; Static extension configuration files, used by
3 ; the pbx_config module.
5 ; The "General" category is for certain variables. All other categories
6 ; are interpreted as extension contexts
10 ; If static is set to no, or omitted, then the pbx_config will rewrite
11 ; this file when extensions are modified. Remember that all comments
12 ; made in the file will be lost when that happens.
16 ; Remote things always ring all phones first.
18 exten=s,1,Dial,AdtranVoFR/4200&AdtranVoFR/4151&AdtranVoFR/4300|15
19 exten=s,2,Goto,default|s|2
23 exten=s,1,Goto,defaults|s|2
24 ; Special extension for local phone numbers, long distance, etc, going
25 ; out via the Frame Relay interface. Patterns are prefixed with "_", which
27 exten=_9NXXXXXX,1,Dial,AdtranVoFR/BYEXTENSION
28 exten=_91NXXNXXXXXX,1,Dial,AdtranVoFR/BYEXTENSION
29 exten=_9911,1,Dial,AdtranVoFR/BYEXTENSION
34 exten=s,3,DigitTimeout,5
35 exten=s,4,ResponseTimeout,10
36 exten=s,5,BackGround,welcome
37 exten=*,1,Directory,default
39 exten=#,1,Playback,goodbye
41 exten=100,1,Goto,other|s|1
43 exten=400,1,MP3Player,song8.mp3
44 exten=401,1,MP3Player,sample.mp3
45 exten=402,1,MP3Player,sunscreen.mp3
46 exten=403,1,MP3Player,http://trode.vergenet.net:8000
47 exten=404,1,MP3Player,http://216.32.166.94:14900
48 exten=405,1,Playback,sample
50 ; Here's the template for a typical extension, carefully broken apart
51 ; for analysis. The others are pretty much the same, but not as well
54 ; Step 1: Play back a "Please hold while I try that extension" message
55 exten=4300,1,Playback,transfer
56 ; Step 2: Dial the numbers where Ben is likely to be. Try for no more
58 exten=4300,2,Dial,AdtranVoFR/4300|15
59 ; Step 3: If there is no answer, play back a message stating that Ben is
60 ; unavailable. Alternatively, we could have rung an operator first.
61 exten=4300,3,Playback,vm/4300/unavail
62 ; Step 4: Send them to voicemail.
63 exten=4300,4,Voicemail,4300
64 ; Step 5: If they return from voicemail, go back to the top
66 ; Step 103: If the Dialing is busy, it will try here first. We'll play a
67 ; special "I'm busy" message...
68 exten=4300,103,Playback,vm/4300/busy
69 ; Step 104: And then continue as if it had been busy in the first place.
71 ; Exten. 4301: Provide a short-circuit so we can transfer striaght to
73 exten=4301,1,Goto,4300|3
74 ; Exten. 4302: Provide a way to ring a given phone indefinitely
75 exten=4302,1,Dial,AdtranVoFR/4300
77 exten=4200,1,Playback,transfer
78 exten=4200,2,Dial,AdtranVoFR/4200|15
79 exten=4200,3,Playback,vm/4200/unavail
80 exten=4200,4,Voicemail,4200
82 exten=4200,103,Playback,vm/4200/busy
84 exten=4201,1,Goto,4200|3
85 exten=4202,1,Dial,AdtranVoFR/4200
87 exten=4230,1,Dial,PhoneJack/ixj0
89 exten=4110,1,Playback,transfer
90 ;exten=4110,2,Dial,AdtranVoFR/4110|15
92 exten=4110,3,Playback,vm/4110/unavail
93 exten=4110,4,Voicemail,4110
95 exten=4110,103,Playback,vm/4110/busy
97 exten=4111,1,Goto,4110|3
98 exten=4112,1,Dial,AdtranVoFR/4110
99 exten=4113,1,Voicemail,s4110
101 exten=8500,1,VoicemailMain
102 exten=8500,2,Goto,s|4
103 exten=762,1,Playback,somepeople
107 ; Timeout stuff... We could send to an operator, or just ditch them.
109 exten=i,1,BackGround,invalid
112 exten=s,1,Playback,digits/9
113 exten=s,2,Playback,digits/8
114 exten=s,3,Playback,digits/7
116 exten=100,1,Playback,digits/6
117 exten=100,2,Playback,digits/5
118 exten=100,3,Goto,default|s|4