update example file

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15543 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Luigi Rizzo
2006-03-28 14:04:27 +00:00
parent 59f0e4c7dd
commit 08df3610a6

View File

@@ -1,43 +1,51 @@
; #
; Open Sound System Console Driver Configuration File # Automatically generated from ../channels/chan_oss.c
; #
[general] [general]
; ; General config options, with default values shown.
; Automatically answer incoming calls on the console? Choose yes if ; You should use one section per device, with [general] being used
; for example you want to use this as an intercom. ; for the first device and also as a template for other devices.
; ;
autoanswer=yes ; All but 'debug' can go also in the device-specific sections.
; ;
; Default context (is overridden with @context syntax) ; debug = 0x0 ; misc debug flags, default is 0
;
context=local ; Set the device to use for I/O
; ; device = /dev/dsp
; Set overridecontext to yes if you want the context specified above
; to override what someone places on the command line. ; Optional mixer command to run upon startup (e.g. to set
; ; volume levels, mutes, etc.
;overridecontext=yes ; mixer =
;
; Default extension to call ; Software mic volume booster (or attenuator), useful for sound
; ; cards or microphones with poor sensitivity. The volume level
extension=s ; is in dB, ranging from -20.0 to +20.0
; ; boost = n ; mic volume boost in dB
; Default language
; ; Set the callerid for outgoing calls
;language=en ; callerid = John Doe <555-1234>
;
; CallerID for outbound calls ; autoanswer = no ; no autoanswer on call
; ; autohangup = yes ; hangup when other party closes
;callerid=John Doe <1234> ; extension = s ; default extension to call
; ; context = default ; default context for outgoing calls
; Silence supression can be enabled when sound is over a certain threshold. ; language = "" ; default language
; The value for the threshold should probably be between 500 and 2000 or so,
; but your mileage may vary. Use the echo test to evaluate the best setting. ; If you set overridecontext to 'yes', then the whole dial string
;silencesuppression = yes ; will be interpreted as an extension, which is extremely useful
;silencethreshold = 1000 ; to dial SIP, IAX and other extensions which use the '@' character.
; ; The default is 'no' just for backward compatibility, but the
; On half-duplex cards, the driver attempts to switch back and forth between ; suggestion is to change it.
; read and write modes. Unfortunately, this fails sometimes on older hardware. ; overridecontext = no ; if 'no', the last @ will start the context
; To prevent the driver from switching (ie. only play files on your speakers), ; if 'yes' the whole string is an extension.
; then set the playbackonly option to yes. Default is no. Note this option has
; no effect on full-duplex cards. ; low level device parameters in case you have problems with the
;playbackonly=no ; device driver on your operating system. You should not touch these
; unless you know what you are doing.
; queuesize = 10 ; frames in device driver
; frags = 8 ; argument to SETFRAGMENT
[card1]
; device = /dev/dsp1 ; alternate device