alsa.conf 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. ;
  2. ; Open Sound System Console Driver Configuration File
  3. ;
  4. [general]
  5. ;
  6. ; Automatically answer incoming calls on the console? Choose yes if
  7. ; for example you want to use this as an intercom.
  8. ;
  9. autoanswer=yes
  10. ;
  11. ; Default context (is overridden with @context syntax)
  12. ;
  13. context=local
  14. ;
  15. ; Default extension to call
  16. ;
  17. extension=s
  18. ;
  19. ; Default language
  20. ;
  21. ;language=en
  22. ;
  23. ; Default Music on Hold class to use when this channel is placed on hold in
  24. ; the case that the music class is not set on the channel with
  25. ; Set(CHANNEL(musicclass)=whatever) in the dialplan and the peer channel
  26. ; putting this one on hold did not suggest a class to use.
  27. ;
  28. ;mohinterpret=default
  29. ;
  30. ; Silence suppression can be enabled when sound is over a certain threshold.
  31. ; The value for the threshold should probably be between 500 and 2000 or so,
  32. ; but your mileage may vary. Use the echo test to evaluate the best setting.
  33. ;silencesuppression = yes
  34. ;silencethreshold = 1000
  35. ;
  36. ; To set which ALSA device to use, change this parameter
  37. ;input_device=hw:0,0
  38. ;output_device=hw:0,0
  39. ;
  40. ; Default mute state (can also be toggled via CLI)
  41. ;mute=true
  42. ;
  43. ; If enabled, no audio capture device will be opened. This is useful on
  44. ; systems where there will be no return audio path, such as overhead pagers.
  45. ;noaudiocapture=true
  46. ;------------------------------ JITTER BUFFER CONFIGURATION --------------------------
  47. ; jbenable = yes ; Enables the use of a jitterbuffer on the receiving side of an
  48. ; ALSA channel. Defaults to "no". An enabled jitterbuffer will
  49. ; be used only if the sending side can create and the receiving
  50. ; side can not accept jitter. The ALSA channel can't accept jitter,
  51. ; thus an enabled jitterbuffer on the receive ALSA side will always
  52. ; be used if the sending side can create jitter.
  53. ; jbmaxsize = 200 ; Max length of the jitterbuffer in milliseconds.
  54. ; jbresyncthreshold = 1000 ; Jump in the frame timestamps over which the jitterbuffer is
  55. ; resynchronized. Useful to improve the quality of the voice, with
  56. ; big jumps in/broken timestamps, usually sent from exotic devices
  57. ; and programs. Defaults to 1000.
  58. ; jbimpl = fixed ; Jitterbuffer implementation, used on the receiving side of a SIP
  59. ; channel. Two implementations are currently available - "fixed"
  60. ; (with size always equals to jbmax-size) and "adaptive" (with
  61. ; variable size, actually the new jb of IAX2). Defaults to fixed.
  62. ; jbtargetextra = 40 ; This option only affects the jb when 'jbimpl = adaptive' is set.
  63. ; The option represents the number of milliseconds by which the new
  64. ; jitter buffer will pad its size. the default is 40, so without
  65. ; modification, the new jitter buffer will set its size to the jitter
  66. ; value plus 40 milliseconds. increasing this value may help if your
  67. ; network normally has low jitter, but occasionally has spikes.
  68. ; jblog = no ; Enables jitterbuffer frame logging. Defaults to "no".
  69. ;-----------------------------------------------------------------------------------