diff options
author | mattf <mattf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-02-10 21:50:56 +0000 |
---|---|---|
committer | mattf <mattf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-02-10 21:50:56 +0000 |
commit | 8ebf7821feb084b6a457341922946d497702cc2d (patch) | |
tree | 843a4329f47fdc289431a20d6c4d7a860b8271ae /configs | |
parent | e04e114ef1d44809af33eb916be88c1f137b03b8 (diff) |
Add smdi support for asterisk (see doc/smdi.txt for config info) (#5945)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9423 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configs')
-rw-r--r-- | configs/smdi.conf.sample | 43 | ||||
-rw-r--r-- | configs/voicemail.conf.sample | 16 | ||||
-rw-r--r-- | configs/zapata.conf.sample | 9 |
3 files changed, 63 insertions, 5 deletions
diff --git a/configs/smdi.conf.sample b/configs/smdi.conf.sample new file mode 100644 index 000000000..aa58bfbdd --- /dev/null +++ b/configs/smdi.conf.sample @@ -0,0 +1,43 @@ +; Asterisk SMDI configuration + +[interfaces] +; Specify serial ports to listen for SMDI messages on below. These will be +; referenced later in zapata.conf. If you do not specify any interfaces then +; SMDI will be disabled. Interfaces can have several different attributes +; associated with them. + +; Set the number of stop bits to use per character here. The default is no, +; in which case one stop bit will be used. + +;twostopbits = no + +; Character size or bit length is the size of each character sent accross the +; link. Character size can be 7 or 8. The default is 7. + +;charsize = 7 + +; If you need parity checking enabled you can turn it on here. Acceptable +; values are even, odd, and none. The default is even. + +;paritybit = even + +; The baudrate to use for this port. Acceptable values are 1200, 2400, 4800, +; and 9600. The default is 9600. + +;baudrate = 1200 + +; Often the numbering scheme for a set of mailboxes or extensions will not be 7 +; or 10 digits (as SMDI requires). Use the msdstrip option to strip unused +; digits from the start of numbers. + +;msdstrip = 0 + +; Occasionally Asterisk and the SMDI switch may become out of sync. If this +; happens, Asterisk will appear one or several calls behind as it processes +; voicemail requests. To prevent this from hapening adjust the msgexpirytime. +; This will make Asterisk discard old SMDI messages that have not yet been +; processed. The default expiry time is 30000 milliseconds. + +;msgexpirytime = 30000 + +;smdiport => /dev/ttyS0 diff --git a/configs/voicemail.conf.sample b/configs/voicemail.conf.sample index 68588dd8e..d7322860b 100644 --- a/configs/voicemail.conf.sample +++ b/configs/voicemail.conf.sample @@ -49,12 +49,18 @@ maxsilence=10 silencethreshold=128 ; Max number of failed login attempts maxlogins=3 -; If you need to have an external program, i.e. /usr/bin/myapp called when a -; voicemail is left, delivered, or your voicemailbox is checked, uncomment -; this: + +; If you need to have an external program, i.e. /usr/bin/myapp +; called when a voicemail is left, delivered, or your voicemailbox +; is checked, uncomment this. It can also be set to 'smdi' to use +; smdi for external notification. If it is 'smdi', smdiport should +; be set to a valid port as specfied in smdi.conf. + ;externnotify=/usr/bin/myapp -; If you need to have an external program, i.e. /usr/bin/myapp called when a -; voicemail password is changed, uncomment this: +;smdiport=/dev/ttyS0 + +; If you need to have an external program, i.e. /usr/bin/myapp +; called when a voicemail password is changed, uncomment this: ;externpass=/usr/bin/myapp ; For the directory, you can override the intro file if you want ;directoryintro=dir-intro diff --git a/configs/zapata.conf.sample b/configs/zapata.conf.sample index 1fc0179db..8fad060ae 100644 --- a/configs/zapata.conf.sample +++ b/configs/zapata.conf.sample @@ -225,6 +225,7 @@ usecallerid=yes ; v23 = v23 as used in the UK ; v23_jp = v23 as used in Japan ; dtmf = DTMF as used in Denmark, Sweden and Netherlands +; smdi = Use SMDI for callerid. Requires SMDI to be enabled (usesmdi). ; ;cidsignalling=bell ; @@ -380,6 +381,14 @@ immediate=no ; ;adsi=yes ; +; SMDI (Simplified Message Desk Interface) can be enabled on a per-channel +; basis if you would like that channel to behave like an SMDI message desk. +; The SMDI port specfied should have already been defined in smdi.conf. The +; default port is /dev/ttyS0. +; +;usesmdi=yes +;smdiport=/dev/ttyS0 +; ; On trunk interfaces (FXS) and E&M interfaces (E&M, Wink, Feature Group D ; etc, it can be useful to perform busy detection either in an effort to ; detect hangup or for detecting busies. This enables listening for |