aboutsummaryrefslogtreecommitdiffstats
path: root/configs/phone.conf.sample
blob: e4058badbb2536720a97f4556027e9442ce18126 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
;
; Linux Telephony Interface
;
; Configuration file
;
[interfaces]
;
; Select a mode, either the phone jack provides dialtone, reads digits,
; then starts PBX with the given extension (dialtone mode), or 
; immediately provides the PBX without reading any digits or providing 
; any dialtone (this is the immediate mode, the default).  Also, you
; can set the mode to "fxo" if you have a linejack to make it operate
; properly.
;
mode=immediate
;mode=dialtone
;mode=fxo
;
; You can decide which format to use by default, "g723.1" or "slinear".
; XXX Be careful, sometimes the card causes kernel panics when running
; in signed linear mode for some reason... XXX
;
format=slinear
;format=g723.1
;
; And set the echo cancellation to "off", "low", "medium", and "high".
; This is not supported on all phones.
;
echocancel=medium
;
; You can optionally use VAD/CNG silence supression
;
;silencesupression=yes
;
; List all devices we can use.  Contexts may also be specified
;
;context=local
;device=/dev/phone0