Let's also include aclocal.m4
[asterisk-bristuff.git] / configs / smdi.conf.sample
blob62464c47b61dca034296c3a6cfa3a5e0a1fe14d7
1 ; Asterisk SMDI configuration
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 then
6 ; SMDI will be disabled.  Interfaces can have several different attributes
7 ; associated with them.
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.
12 ;twostopbits = no
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.
17 ;charsize = 7
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.
22 ;paritybit = even
24 ; The baudrate to use for this port.  Acceptable values are 1200, 2400, 4800,
25 ; and 9600.  The default is 9600.
27 ;baudrate = 1200
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.
33 ;msdstrip = 0
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.
41 ;msgexpirytime = 30000
43 ;smdiport => /dev/ttyS0
46 [mailboxes]
47 ; This section configures parameters related to MWI handling for the SMDI link.
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.
53 ;pollinginterval=10
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.
61 ; Syntax:
62 ;   <SMDI mailbox ID>=<Asterisk Mailbox Name>[@Asterisk Voicemail Context]
64 ; If no Asterisk voicemail context is specified, "default" will be assumed.
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.
71 ;smdiport=/dev/ttyS0
72 ;2565551234=1234@vmcontext1
73 ;2565555678=5678@vmcontext2
74 ;smdiport=/dev/ttyS1
75 ;2565559999=9999