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