| 1 |
; |
| 2 |
; Configuration for chan_console, a cross-platform console channel driver. |
| 3 |
; |
| 4 |
|
| 5 |
[general] |
| 6 |
|
| 7 |
; Set this option to "yes" to enable automatically answering calls on the |
| 8 |
; console. This is very useful if the console is used as an intercom. |
| 9 |
; The default value is "no". |
| 10 |
; |
| 11 |
;autoanswer = no |
| 12 |
|
| 13 |
; Set the default context to use for outgoing calls. This can be overridden by |
| 14 |
; dialing some extension@context, unless the overridecontext option is enabled. |
| 15 |
; The default is "default". |
| 16 |
; |
| 17 |
;context = default |
| 18 |
|
| 19 |
; Set the default extension to use for outgoing calls. The default is "s". |
| 20 |
; |
| 21 |
;extension = s |
| 22 |
|
| 23 |
; Set the default CallerID for created channels. |
| 24 |
; |
| 25 |
;callerid = MyName Here <(256) 428-6000> |
| 26 |
|
| 27 |
; Set the default language for created channels. |
| 28 |
; |
| 29 |
;language = en |
| 30 |
|
| 31 |
; If you set overridecontext to 'yes', then the whole dial string |
| 32 |
; will be interpreted as an extension, which is extremely useful |
| 33 |
; to dial SIP, IAX and other extensions which use the '@' character. |
| 34 |
; The default is "no". |
| 35 |
; |
| 36 |
;overridecontext = no ; if 'no', the last @ will start the context |
| 37 |
; if 'yes' the whole string is an extension. |
| 38 |
|
| 39 |
|
| 40 |
; Default Music on Hold class to use when this channel is placed on hold in |
| 41 |
; the case that the music class is not set on the channel with |
| 42 |
; Set(CHANNEL(musicclass)=whatever) in the dialplan and the peer channel |
| 43 |
; putting this one on hold did not suggest a class to use. |
| 44 |
; |
| 45 |
;mohinterpret=default |
| 46 |
|
| 47 |
; ----------------------------- JITTER BUFFER CONFIGURATION -------------------------- |
| 48 |
; jbenable = yes ; Enables the use of a jitterbuffer on the receiving side of an |
| 49 |
; Console channel. Defaults to "no". An enabled jitterbuffer will |
| 50 |
; be used only if the sending side can create and the receiving |
| 51 |
; side can not accept jitter. The Console channel can't accept jitter, |
| 52 |
; thus an enabled jitterbuffer on the receive Console side will always |
| 53 |
; be used if the sending side can create jitter. |
| 54 |
|
| 55 |
; jbmaxsize = 200 ; Max length of the jitterbuffer in milliseconds. |
| 56 |
|
| 57 |
; jbresyncthreshold = 1000 ; Jump in the frame timestamps over which the jitterbuffer is |
| 58 |
; resynchronized. Useful to improve the quality of the voice, with |
| 59 |
; big jumps in/broken timestamps, usually sent from exotic devices |
| 60 |
; and programs. Defaults to 1000. |
| 61 |
|
| 62 |
; jbimpl = fixed ; Jitterbuffer implementation, used on the receiving side of a Console |
| 63 |
; channel. Two implementations are currently available - "fixed" |
| 64 |
; (with size always equals to jbmax-size) and "adaptive" (with |
| 65 |
; variable size, actually the new jb of IAX2). Defaults to fixed. |
| 66 |
|
| 67 |
; jbtargetextra = 40 ; This option only affects the jb when 'jbimpl = adaptive' is set. |
| 68 |
; The option represents the number of milliseconds by which the new |
| 69 |
; jitter buffer will pad its size. the default is 40, so without |
| 70 |
; modification, the new jitter buffer will set its size to the jitter |
| 71 |
; value plus 40 milliseconds. increasing this value may help if your |
| 72 |
; network normally has low jitter, but occasionally has spikes. |
| 73 |
|
| 74 |
; jblog = no ; Enables jitterbuffer frame logging. Defaults to "no". |
| 75 |
; ---------------------------------------------------------------------------------- |
| 76 |
|
| 77 |
|
| 78 |
; |
| 79 |
; Any configuration context defined beyond the [general] section configures |
| 80 |
; specific devices for use. |
| 81 |
; |
| 82 |
|
| 83 |
[default] |
| 84 |
input_device = default ; When configuring an input device and output device, |
| 85 |
output_device = default ; use the name that you see when you run the "console |
| 86 |
; list available" CLI command. If you say "default", the |
| 87 |
; system default input and output devices will be used. |
| 88 |
autoanswer = no |
| 89 |
context = default |
| 90 |
extension = s |
| 91 |
callerid = MyName Here <(256) 428-6000> |
| 92 |
language = en |
| 93 |
overridecontext = no |
| 94 |
mohinterpret = default |
| 95 |
active = yes ; This option should only be set for one console. |
| 96 |
; It means that it is the active console to be |
| 97 |
; used from the Asterisk CLI. |