phone.conf.sample 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. ;
  2. ; Linux Telephony Interface
  3. ;
  4. ; Configuration file
  5. ;
  6. [interfaces]
  7. ;
  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".
  15. ;
  16. mode=immediate
  17. ;mode=dialtone
  18. ;mode=fxo
  19. ;mode=sig
  20. ;
  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
  25. ;
  26. format=slinear
  27. ;format=g723.1
  28. ;format=g729
  29. ;
  30. ; And set the echo cancellation to "off", "low", "medium", and "high".
  31. ; This is not supported on all phones.
  32. ;
  33. echocancel=medium
  34. ;
  35. ; You can optionally use VAD/CNG silence suppression
  36. ;
  37. ;silencesupression=yes
  38. ;
  39. ; List all devices we can use. Contexts may also be specified
  40. ;
  41. ;context=local
  42. ;
  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%).
  48. ;
  49. ;txgain=100%
  50. ;rxgain=1.0
  51. ;device => /dev/phone0