[packages] net/nufw: run of autogen.sh needed with recent versions of libtool
[openwrt/svn-archive/archive.git] / net / freeswitch / files / uci / profiles.sh
1 #!/bin/sh
2 # Copyright (C) 2010 Vertical Communications
3 # This is free software, licensed under the GNU General Public License v2.
4 # See /LICENSE for more information.
5
6 # . /etc/functions.sh
7 # . /usr/lib/freeswitch/uci/common/param_from_config.sh
8
9 fs_profile_gateway() {
10 local cfg="$1"
11 local param_file="$2"
12 local param_list="username
13 string
14
15 password
16 password
17
18 realm
19 string
20
21 from-user
22 string
23
24 from-domain
25 string
26
27 extension
28 string
29
30 proxy
31 string
32
33 register-proxy
34 string
35
36 expire-seconds
37 integer
38
39 register
40 bool
41
42 register-transport
43 string
44
45 retry-seconds
46 integer
47
48 caller-id-in-from
49 bool
50
51 contact-params
52 string
53
54 extension-in-contact
55 string
56
57 ping
58 integer
59
60 [FS-EOF]
61 "
62
63 fs_to_xml_param_list "$cfg" "$param_list" "$param_file"
64 }
65
66 fs_profile_internal_top() {
67 local cfg="$1"
68 local param_file="$2"
69 local param_list="media-option
70 string
71
72 user-agent-string
73 string
74
75 debug
76 integer
77 0
78 shutdown-on-fail
79 bool
80
81 sip-trace
82 string
83 no
84 log-auth-failures
85 bool
86 true
87 context
88 string
89 public
90 rfc2833-pt
91 integer
92 101
93 sip-port
94 integer
95 \$\${internal_sip_port}
96 dialplan
97 string
98 XML
99 dtmf-duration
100 integer
101 2000
102 inbound-codec-prefs
103 string
104 \$\${global_codec_prefs}
105 outbound-codec-prefs
106 string
107 \$\${global_codec_prefs}
108 rtp-timer-name
109 string
110 soft
111 rtp-ip
112 string
113 \$\${local_ip_v4}
114 sip-ip
115 string
116 \$\${local_ip_v4}
117 hold-music
118 string
119 \$\${hold_music}
120 apply-nat-acl
121 string
122 nat.auto
123 extended-info-parsing
124 bool
125
126 aggressive-nat-detection
127 bool
128
129 enable-100rel
130 bool
131
132 enable-compact-headers
133 bool
134
135 enable-timer
136 bool
137
138 minimum-session-expires
139 integer
140
141 apply-inbound-acl
142 string
143 domains
144 local-network-acl
145 string
146 localnet.auto
147 apply-register-acl
148 string
149
150 dtmf-type
151 string
152 info
153 send-message-query-on-register
154 bool
155
156 record-path
157 string
158 \$\${recordings_dir}
159 record-template
160 string
161 \${caller_id_number}.\${target_domain}.\${strftime(%Y-%m-%d-%H-%M-%S)}.wav
162 manage-presence
163 bool
164 true
165 manage-shared-appearance
166 bool
167
168 dbname
169 string
170
171 presence-hosts
172 string
173
174 bitpacking
175 string
176
177 max-proceeding
178 integer
179
180 session-timeout
181 integer
182
183 multiple-registrations
184 string
185
186 inbound-codec-negotiation
187 string
188 generous
189 bind-params
190 string
191
192 unregister-on-options-fail
193 bool
194
195 tls
196 bool
197 \$\${internal_ssl_enable}
198 tls-bind-params
199 string
200 transport=tls
201 tls-sip-port
202 integer
203 \$\${internal_tls_port}
204 tls-cert-dir
205 string
206 \$\${internal_ssl_dir}
207 tls-version
208 string
209 \$\${sip_tls_version}
210 rtp-autoflush-during-bridge
211 bool
212
213 rtp-rewrite-timestamps
214 bool
215
216 pass-rfc2833
217 bool
218
219 odbc-dsn
220 string
221
222 inbound-bypass-media
223 bool
224
225 inbound-proxy-media
226 bool
227
228 inbound-late-negotiation
229 bool
230
231 accept-blind-reg
232 bool
233
234 accept-blind-auth
235 bool
236
237 suppress-cng
238 bool
239
240 nonce-ttl
241 integer
242 60
243 disable-transcoding
244 bool
245
246 manual-redirect
247 bool
248
249 disable-transfer
250 bool
251
252 disable-register
253 bool
254
255 NDLB-broken-auth-hash
256 bool
257
258 NDLB-received-in-nat-reg-contact
259 bool
260
261 auth-calls
262 bool
263 \$\${internal_auth_calls}
264 inbound-reg-force-match-username
265 bool
266 true
267 auth-all-package
268 bool
269 false
270 ext-rtp-ip
271 string
272 auto-nat
273 ext-sip-ip
274 string
275 auto-nat
276 rtp-timeout-sec
277 integer
278 300
279 rtp-hold-timeout-sec
280 integer
281 1800
282 vad
283 string
284
285 alias
286 string
287
288 force-register-domain
289 string
290 \$\${domain}
291 force-subscription-domain
292 string
293 \$\${domain}
294 force-register-db-domain
295 string
296 \$\${domain}
297 force-subscription-expires
298 integer
299
300 enable-3pcc
301 string
302
303 NDLB-force-rport
304 bool
305
306 challenge-realm
307 string
308 auto_from
309 disable-rtp-auto-adjust
310 bool
311
312 inbound-use-callid-as-uuid
313 bool
314
315 outbound-use-callid-as-uuid
316 bool
317
318 pass-callee-id
319 bool
320
321 auto-rtp-bugs
322 string
323
324 disable-srv
325 bool
326
327 disable-naptr
328 bool
329
330 [FS-EOF]
331 "
332 fs_to_xml_param_list "$cfg" "$param_list" "$param_file"
333 }
334
335 fs_profile_external_top() {
336 local cfg="$1"
337 local param_file="$2"
338 local param_list="debug
339 integer
340 0
341 shutdown-on-fail
342 bool
343
344 sip-trace
345 string
346 no
347 context
348 string
349 public
350 rfc2833-pt
351 integer
352 101
353 sip-port
354 integer
355 \$\${external_sip_port}
356 dialplan
357 string
358 XML
359 inbound-codec-prefs
360 string
361 \$\${global_codec_prefs}
362 outbound-codec-prefs
363 string
364 \$\${outbound_codec_prefs}
365 rtp-timer-name
366 string
367 soft
368 dtmf-duration
369 integer
370 2000
371 rtp-ip
372 string
373 \$\${local_ip_v4}
374 sip-ip
375 string
376 \$\${local_ip_v4}
377 ext-rtp-ip
378 string
379 auto-nat
380 ext-sip-ip
381 string
382 auto-nat
383 hold-music
384 string
385 \$\${hold_music}
386 aggressive-nat-detection
387 bool
388
389 enable-100rel
390 bool
391
392 local-network-acl
393 string
394 localnet.auto
395 manage-presence
396 bool
397 false
398 dbname
399 string
400
401 presence-hosts
402 string
403
404 tls
405 bool
406 \$\${external_ssl_enable}
407 tls-bind-params
408 string
409 transport=tls
410 tls-sip-port
411 integer
412 \$\${external_tls_port}
413 tls-cert-dir
414 string
415 \$\${external_ssl_dir}
416 tls-version
417 string
418 \$\${sip_tls_version}
419 nonce-ttl
420 integer
421 60
422 auth-calls
423 bool
424 false
425 inbound-codec-negotiation
426 string
427 generous
428 rtp-timeout-sec
429 integer
430 300
431 rtp-hold-timeout-sec
432 integer
433 1800
434 [FS-EOF]
435 "
436 fs_to_xml_param_list "$cfg" "$param_list" "$param_file"
437 }