smdi.conf.sample 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. ; Asterisk SMDI configuration
  2. [interfaces]
  3. ; Specify serial ports to listen for SMDI messages on below. These will be
  4. ; referenced later in chan_dahdi.conf. If you do not specify any interfaces
  5. ; then SMDI will be disabled. Interfaces can have several different attributes
  6. ; associated with them.
  7. ; Set the number of stop bits to use per character here. The default is no,
  8. ; in which case one stop bit will be used.
  9. ;twostopbits = no
  10. ; Character size or bit length is the size of each character sent across the
  11. ; link. Character size can be 7 or 8. The default is 7.
  12. ;charsize = 7
  13. ; If you need parity checking enabled you can turn it on here. Acceptable
  14. ; values are even, odd, and none. The default is even.
  15. ;paritybit = even
  16. ; The baudrate to use for this port. Acceptable values are 1200, 2400, 4800,
  17. ; and 9600. The default is 9600.
  18. ;baudrate = 1200
  19. ; Often the numbering scheme for a set of mailboxes or extensions will not be 7
  20. ; or 10 digits (as SMDI requires). Use the msdstrip option to strip unused
  21. ; digits from the start of numbers.
  22. ;msdstrip = 0
  23. ; Occasionally Asterisk and the SMDI switch may become out of sync. If this
  24. ; happens, Asterisk will appear one or several calls behind as it processes
  25. ; voicemail requests. To prevent this from happening, adjust the msgexpirytime.
  26. ; This will make Asterisk discard old SMDI messages that have not yet been
  27. ; processed. The default expiry time is 30000 milliseconds.
  28. ;msgexpirytime = 30000
  29. ;smdiport => /dev/ttyS0
  30. [mailboxes]
  31. ; This section configures parameters related to MWI handling for the SMDI link.
  32. ; This option configures the polling interval used to check to see if the
  33. ; mailboxes have any new messages. This option is specified in seconds.
  34. ; The default value is 10 seconds.
  35. ;
  36. ;pollinginterval=10
  37. ; Every other entry in this section of the configuration file is interpreted as
  38. ; a mapping between the mailbox ID on the SMDI link, and the local Asterisk
  39. ; mailbox name. In many cases, they are the same thing, but they still must be
  40. ; listed here so that this module knows which mailboxes it needs to pay
  41. ; attention to.
  42. ;
  43. ; Syntax:
  44. ; <SMDI mailbox ID>=<Asterisk Mailbox Name>[@Asterisk Voicemail Context]
  45. ;
  46. ; If no Asterisk voicemail context is specified, "default" will be assumed.
  47. ;
  48. ; Before specifying mailboxes, you must specify an SMDI interface. All mailbox
  49. ; definitions that follow will correspond to that SMDI interface. If you specify
  50. ; another interface, then all definitions following that will correspond to the
  51. ; new interface.
  52. ;
  53. ;smdiport=/dev/ttyS0
  54. ;2565551234=1234@vmcontext1
  55. ;2565555678=5678@vmcontext2
  56. ;smdiport=/dev/ttyS1
  57. ;2565559999=9999