applications/luci-asterisk: initial dialplan voicemail box support
[project/luci.git] / applications / luci-asterisk / root / etc / config / asterisk
1 config 'asterisk'
2 option 'verbose' 3
3 option 'debug' 3
4 option 'zone' 'Australia/Perth'
5
6 config 'hardware' 'reboot'
7 option 'method' 'web'
8 option 'param' 'http://ata.lan/admin/reboot'
9
10 config 'feature' 'park'
11 option 'parkenabled' 'yes'
12 option 'parkext' '700'
13 option 'parkpos' '701-720'
14 option 'context' 'parkedcalls'
15 option 'parkingtime' '45'
16 option 'courtesytone' 'beep'
17 option 'parkedplay' 'caller'
18 option 'adsipark' 'yes'
19 option 'findslot' 'first'
20 option 'parkedmusicclass' 'default'
21 option 'transferdigittimeout' '3'
22 option 'xfersound' 'beep'
23 option 'xferfailsound' 'beeperr'
24 option 'pickupexten' '"*8"'
25 option 'featuredigittimeout' '500'
26 option 'atxfernoanswertimeout' '15'
27
28 config 'feature' 'map'
29 option 'blindxfer' '#1'
30 option 'disconnect' '*0'
31 option 'automon' '*1'
32 option 'atxfer' '#2'
33 option 'parkcall' '#30'
34
35 config 'sipgeneral'
36 option 'realm' 'sip.mydomain.net'
37 option 'allow' 'alaw'
38 option 'extension' '102'
39
40 config 'module'
41 option 'res_config_mysql' 'no'
42 option 'res_crypto' 'auto'
43 option 'chan_iax2' 'yes'
44
45 config 'sip' 'PAP2T'
46 option 'type' 'friend'
47 option 'extension' '101'
48 option 'username' 'PAP2T'
49 option 'secret' 'mypass'
50 option 'port' '5061'
51 option 'host' ''
52 option 'dtmfmode' 'rfc2833'
53 option 'insecure' 'very'
54 option 'context' 'internal'
55 option 'mailbox' '1001@default'
56 option 'nat' 'no'
57 option 'canreinvite' 'nonat'
58 option 'selfmailbox' 'yes'
59 option 'incoming' 'provider_inbound'
60
61 config 'sip' 'PAP2T2'
62 option 'type' 'friend'
63 option 'extension' '101'
64 option 'username' 'PAP2T2'
65 option 'secret' 'mysecret'
66 option 'port' '5060'
67 option 'host' ''
68 option 'dtmfmode' 'rfc2833'
69 option 'insecure' 'very'
70 option 'context' 'internal'
71 option 'mailbox' '1001@default'
72 option 'nat' 'no'
73 option 'canreinvite' 'nonat'
74 option 'selfmailbox' 'yes'
75 option 'incoming' 'provider_inbound'
76
77 config 'sip' 'providerphone'
78 option 'provider' 'yes'
79 option 'type' 'friend'
80 option 'timeout' '55'
81 option 'internationalprefix' '0011'
82 option 'alwaysinternational' 'no'
83 option 'countrycode' '63'
84 option 'register' 'yes'
85 option 'host' '200.200.200.200'
86 option 'username' '0899999999'
87 option 'fromuser' '0899999999'
88 option 'secret' 'mysecret'
89 option 'fromdomain' 'providerphone.provider.net.au'
90 option 'context' 'provider_inbound'
91 option 'canreinvite' 'no'
92 option 'nat' 'yes'
93 option 'qualify' 'yes'
94 option 'insecure' 'very'
95 option 'pedantic' 'no'
96 option 'qualify' '1000'
97
98 config 'iaxgeneral'
99 option 'static' 'yes'
100 option 'writeprotect' 'no'
101 option 'canreinvite' 'no'
102 option 'allow' 'ulaw,gsm'
103
104 config 'iax' 'nell'
105 option 'type' 'friend'
106 option 'extension' '108'
107 option 'host' ''
108 option 'username' 'nell'
109 option 'secret' 'mypass'
110 option 'context' 'internal'
111
112 config 'iax' 'iax_vista'
113 option 'extension' '106'
114 option 'type' 'friend'
115 option 'host' ''
116 option 'username' 'vista'
117 option 'secret' 'mysecret'
118 option 'context' 'internal'
119
120 config 'iax' 'sam'
121 option 'type' 'friend'
122 option 'extension' '103'
123 option 'host' ''
124 option 'username' 'sam'
125 option 'secret' 'mysecret'
126 option 'context' 'internal'
127
128 config 'voicegeneral'
129 option 'serveremail' 'voice@sip.mydomain.net'
130
131 config 'voicemail'
132 option 'number' '1001'
133 option 'context' 'default'
134 option 'password' '0000'
135 option 'name' 'Family'
136 option 'email' 'us@mydomain.net'
137 option 'zone' 'wa'
138 option 'attach' 'no'
139
140 config 'voicezone' 'wa'
141 option 'zone' 'Australia/Perth'
142 option 'message' 'Q IMp'
143
144 config 'voicezone' 'military'
145 option 'zone' 'Zulu'
146 option 'message' '"vm-received" q "digits/at" H N "hours" "phonetic/z_p"'
147
148 config 'incominggeneral'
149 option 'allowtransfer' 'no'
150 option 'timeout' '20'
151 option 'answerfirst' 'no'
152 option 'mailbox' '1001@default'
153
154 config 'dialplangeneral'
155 option 'static' 'yes'
156 option 'writeprotect' 'no'
157 option 'canreinvite' 'no'
158 option 'clearglobalvars' 'no'
159 option 'allowtransfer' 'no'
160
161 config 'dialplan' 'internal'
162 option 'include' 'localcall interstate smartnumber emergency extensions'
163
164 config 'dialplanvoice'
165 option 'dialplan' 'internal'
166 option 'extension' '1001'
167 option 'voicecontext' 'default'
168 option 'voicebox' '1001'
169
170 config 'dialplansaytime'
171 option 'dialplan' 'internal'
172 option 'extension' '108'
173
174 config 'dialplanmeetme'
175 option 'dialplan' 'internal'
176 option 'extension' '109'
177 option 'room' '101'
178
179 config 'dialplanmeetme'
180 option 'dialplan' 'internal'
181 option 'extension' '1009'
182 option 'room' ''
183
184 config 'dialplan' 'localinternational'
185 option 'include' 'mobile interstate'
186
187 config 'dialzone' 'interstate'
188 option 'uses' 'SIP/providerphone'
189 option 'match' '0[235-8]NXXXXXXX'
190 option 'localprefix' '0'
191
192 config 'dialzone' 'mobile'
193 option 'uses' 'SIP/providerphone'
194 option 'match' '04XXXXXXXX'
195 option 'localprefix' '0'
196
197 config 'dialzone' 'smartnumber'
198 option 'uses' 'SIP/providerphone'
199 option 'match' '1[835]00.'
200 option 'match' '13ZXXX'
201
202 config 'dialzone' 'emergency'
203 option 'uses' 'SIP/providerphone'
204 option 'match' '000'
205 option 'match' '112'
206
207 config 'dialzone' 'localcall'
208 option 'uses' 'SIP/providerphone'
209 option 'match' 'NXXXXXXX'
210 option 'addprefix' '08'
211 option 'localprefix' '0'
212
213 config 'dialzone' 'international'
214 option 'uses' 'SIP/providerphone'
215 option 'international' '0011,+'
216 option 'localzone' 'localinternational'
217 option 'localprefix' '0'
218 option 'addprefix' ''
219
220 config 'meetmegeneral'
221 option 'audiobuffers' '32'
222
223 config 'meetme' '101'
224 option 'pin' ''
225 option 'adminpin' ''
226
227 config 'moh' 'default'
228 option 'mode' 'files'
229 option 'directory' '/opt/moh'
230 option 'random' 'no'