Merge another change from team/russell/events ...
[asterisk-bristuff.git] / configs / phone.conf.sample
blob17204501ebe920b7bab119a9c4cb9ed07e8764c3
2 ; Linux Telephony Interface
4 ; Configuration file
6 [interfaces]
8 ; Select a mode, either the phone jack provides dialtone, reads digits,
9 ; then starts PBX with the given extension (dialtone mode), or 
10 ; immediately provides the PBX without reading any digits or providing 
11 ; any dialtone (this is the immediate mode, the default).  Also, you
12 ; can set the mode to "fxo" if you have a linejack to make it operate
13 ; properly. If you are using a Sigma Designs board you may set this to
14 ; "sig".
16 mode=immediate
17 ;mode=dialtone
18 ;mode=fxo
19 ;mode=sig
21 ; You can decide which format to use by default, "g723.1", "g729", or "slinear".
22 ; Note that g729 is only supported for Sigma Designs boards.
23 ; XXX Be careful, sometimes the card causes kernel panics when running
24 ; in signed linear mode for some reason... XXX
26 format=slinear
27 ;format=g723.1
28 ;format=g729
30 ; And set the echo cancellation to "off", "low", "medium", and "high".
31 ; This is not supported on all phones.
33 echocancel=medium
35 ; You can optionally use VAD/CNG silence suppression
37 ;silencesupression=yes
39 ; List all devices we can use.  Contexts may also be specified
41 ;context=local
43 ; You can set txgain and rxgain for each device in the same way as context.
44 ; If you want to change default gain value (1.0 =~ 100%) for device, simple
45 ; add txgain or rxgain line before device line. But remember, if you change
46 ; volume all cards listed below will be affected by these values. You can
47 ; use float values (1.0, 0.5, 2.0) or percentage values (100%, 150%, 50%).
49 ;txgain=100%
50 ;rxgain=1.0
51 ;device => /dev/phone0