console.conf 4.4 KB

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