phone.conf.sample 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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.
  14. ;
  15. mode=immediate
  16. ;mode=dialtone
  17. ;mode=fxo
  18. ;
  19. ; You can decide which format to use by default, "g723.1" or "slinear".
  20. ; XXX Be careful, sometimes the card causes kernel panics when running
  21. ; in signed linear mode for some reason... XXX
  22. ;
  23. format=slinear
  24. ;format=g723.1
  25. ;
  26. ; And set the echo cancellation to "off", "low", "medium", and "high".
  27. ; This is not supported on all phones.
  28. ;
  29. echocancel=medium
  30. ;
  31. ; You can optionally use VAD/CNG silence supression
  32. ;
  33. ;silencesupression=yes
  34. ;
  35. ; List all devices we can use. Contexts may also be specified
  36. ;
  37. ;context=local
  38. ;
  39. ; You can set txgain and rxgain for each device in the same way as context.
  40. ; If you want to change default gain value (1.0 =~ 100%) for device, simple
  41. ; add txgain or rxgain line before device line. But rememeber, if you change
  42. ; volume all cards listed below will be affected by these values. You can
  43. ; use float values (1.0, 0.5, 2.0) or percentage values (100%, 150%, 50%).
  44. ;
  45. ;txgain=100%
  46. ;rxgain=1.0
  47. ;device => /dev/phone0