modem.conf.sample 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. ;
  2. ; Internet Phone Jack
  3. ;
  4. ; Configuration file
  5. ;
  6. [interfaces]
  7. ;
  8. ; By default, incoming calls should come in on the "remote" context
  9. ;
  10. context=remote
  11. ;
  12. ; Modem Drivers to load
  13. ;
  14. driver=aopen
  15. ;
  16. ; Default language
  17. ;
  18. ;language=en
  19. ;
  20. ; We can optionally override the auto detection. This is necessary
  21. ; particularly if asterisk does not know about our kind of modem.
  22. ;
  23. ;type=autodetect
  24. ;type=aopen
  25. ;
  26. ; We can strip a given number of digits on outgoing dialing, so, for example
  27. ; you can have it dial "8871042" when given "98871042".
  28. ;
  29. stripmsd=1
  30. ;
  31. ; Type of dialing
  32. ;
  33. dialtype=tone
  34. ;dialtype=pulse
  35. ;
  36. ; Mode selection. "Immediate" means that as soon as you dial, you're connected
  37. ; and the line is considered up. "Ring" means we wait until the ring cadence
  38. ; occurs at least once. "Answer" means we wait until the other end picks up.
  39. ;
  40. ;mode=answer
  41. ;mode=ring
  42. mode=immediate
  43. ;
  44. ; List all devices we can use.
  45. ;
  46. ;device => /dev/ttyS3
  47. ;
  48. ; ISDN example
  49. ;
  50. ;msn=39907835
  51. ;device => /dev/ttyI0
  52. ;===============
  53. ; More complex ISDN example
  54. ;
  55. ; A single device which listens to 3 MSNs
  56. ; the wildcard '*' can be used when all MSN's should be accepted.
  57. ; (The incoming number can be used to go directly into the extension
  58. ; with the matching number. I.e. if MSN 33 is called, (context,33)
  59. ; will tried first, than (context,s) and finally (default,s).
  60. ;
  61. ;msn=50780020
  62. ;incomingmsn=50780020,50780021,50780022
  63. ;device => /dev/ttyI2
  64. ;
  65. ; two other devices, which are in group '1' and are used when an
  66. ; outgoing dial used: exten => s,1,Dial,Modem/g1:1234|60|r
  67. ; (we do not need more outgoing devices, since ISDN2 has only 2 channels.)
  68. ; Lines can be in more than one group (1-31); comma seperated list.
  69. ;
  70. group=1 ; group=1,2,3,9-12
  71. ;msn=50780023
  72. ;device => /dev/ttyI3
  73. ;device => /dev/ttyI4