19
19
<LINK REL="STYLESHEET" HREF="asterisk.css">
21
<LINK REL="next" HREF="node239.html">
22
<LINK REL="previous" HREF="node235.html">
23
<LINK REL="up" HREF="node234.html">
21
<LINK REL="previous" HREF="node237.html">
22
<LINK REL="up" HREF="node236.html">
24
23
<LINK REL="next" HREF="node239.html">
29
28
<DIV CLASS="navigation"><!--Navigation Panel-->
30
<A NAME="tex2html3779"
29
<A NAME="tex2html3782"
31
30
HREF="node239.html">
32
31
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
33
32
SRC="/usr/share/latex2html/icons/next.png"></A>
34
<A NAME="tex2html3775"
33
<A NAME="tex2html3778"
36
35
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
37
36
SRC="/usr/share/latex2html/icons/up.png"></A>
38
<A NAME="tex2html3769"
37
<A NAME="tex2html3774"
39
38
HREF="node237.html">
40
39
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
41
40
SRC="/usr/share/latex2html/icons/prev.png"></A>
42
<A NAME="tex2html3777"
41
<A NAME="tex2html3780"
44
43
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
45
44
SRC="/usr/share/latex2html/icons/contents.png"></A>
47
<B> Next:</B> <A NAME="tex2html3780"
48
HREF="node239.html">IMAP Folders</A>
49
<B> Up:</B> <A NAME="tex2html3776"
50
HREF="node234.html">IMAP Storage</A>
51
<B> Previous:</B> <A NAME="tex2html3770"
52
HREF="node237.html">Compiling Asterisk</A>
53
<B> <A NAME="tex2html3778"
46
<B> Next:</B> <A NAME="tex2html3783"
47
HREF="node239.html">Modify voicemail.conf</A>
48
<B> Up:</B> <A NAME="tex2html3779"
49
HREF="node236.html">Installation Notes</A>
50
<B> Previous:</B> <A NAME="tex2html3775"
51
HREF="node237.html">University of Washington IMAP</A>
52
<B> <A NAME="tex2html3781"
54
53
HREF="node1.html">Contents</A></B>
57
56
<!--End of Navigation Panel-->
59
<H2><A NAME="SECTION001222000000000000000">
60
Modify voicemail.conf</A>
64
The following directives have been added to voicemail.conf:
68
imapserver=<name or IP address of IMAP mail server>
69
imapport=<IMAP port, defaults to 143>
70
imapflags=<IMAP flags, "novalidate-cert" for example>
71
imapfolder=<IMAP folder to store messages to>
72
imapgreetings=<yes or no>
73
greetingsfolder=<IMAP folder to store greetings in if imapgreetings is enabled>
74
expungeonhangup=<yes or no>
75
authuser=<username>
76
authpassword=<password>
77
opentimeout=<TCP open timeout in seconds>
78
closetimeout=<TCP close timeout in seconds>
79
readtimeout=<TCP read timeout in seconds>
80
writetimeout=<TCP write timeout in seconds>
81
</PRE><SMALL CLASS="SCRIPTSIZE"><B>
85
The "imapfolder" can be used to specify an alternative folder on your IMAP server
86
to store voicemails in. If not specified, the default folder 'INBOX' will be used.
89
The "imapgreetings" parameter can be enabled in order to store voicemail greetings
90
on the IMAP server. If disabled, then they will be stored on the local file system
94
The "greetingsfolder" can be set to store greetings on the IMAP server when
95
"imapgreetings" is enabled in an alternative folder than that set by "imapfolder"
96
or the default folder for voicemails.
99
The "expungeonhangup" flag is used to determine if the voicemail system should
100
expunge all messages marked for deletion when the user hangs up the phone.
103
Each mailbox definition should also have imapuser=<SPAN CLASS="MATH"><IMG
104
WIDTH="19" HEIGHT="33" ALIGN="MIDDLE" BORDER="0"
106
ALT="$<$"></SPAN>imap username<SPAN CLASS="MATH"><IMG
107
WIDTH="19" HEIGHT="33" ALIGN="MIDDLE" BORDER="0"
109
ALT="$>$"></SPAN>.
114
4123=>4123,James Rothenberger,jar@onebiztone.com,,attach=yes|imapuser=jar
115
</PRE><SMALL CLASS="SCRIPTSIZE"><B>
119
The directives "authuser" and "authpassword" are not needed when using
120
Kerberos. They are defined to allow Asterisk to authenticate as a single
121
user that has access to all mailboxes as an alternative to Kerberos.
58
<H3><A NAME="SECTION001221200000000000000">
59
Compiling Asterisk</A>
63
Configure with ./configure -with-imap=/usr/src/imap
64
or wherever you built the UWashington IMAP Toolkit. This directory
65
will be searched for a source installation. If no source installation is
66
found there, then a package installation of the IMAP c-client will be
67
searched for in this directory. If one is not found, then configure will fail.
70
A second configure option is to not specify a directory (i.e.
71
./configure -with-imap). This will assume that you have the
72
imap-2007e source installed in the ../imap directory relative to the
73
Asterisk source. If you do not have this source, then configure will
74
default to the "system" option defined in the next paragraph
77
A third option is ./configure -with-imap=system. This will assume
78
that you have installed a dynamically linked version of the c-client
79
library (most likely via a package provided by your distro). This will
80
attempt to link agains -lc-client and will search for c-client headers
81
in your include path starting with the imap directory, and upon failure,
82
in the c-client directory.
85
When you run 'make menuselect', choose 'Voicemail Build Options' and the
86
IMAP_STORAGE option should be available for selection.
89
After selecting the IMAP_STORAGE option, use the 'x' key to exit
90
menuselect and save your changes, and the build/install Asterisk
125
95
<DIV CLASS="navigation"><HR>
126
96
<!--Navigation Panel-->
127
<A NAME="tex2html3779"
97
<A NAME="tex2html3782"
128
98
HREF="node239.html">
129
99
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
130
100
SRC="/usr/share/latex2html/icons/next.png"></A>
131
<A NAME="tex2html3775"
101
<A NAME="tex2html3778"
133
103
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
134
104
SRC="/usr/share/latex2html/icons/up.png"></A>
135
<A NAME="tex2html3769"
105
<A NAME="tex2html3774"
136
106
HREF="node237.html">
137
107
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
138
108
SRC="/usr/share/latex2html/icons/prev.png"></A>
139
<A NAME="tex2html3777"
109
<A NAME="tex2html3780"
140
110
HREF="node1.html">
141
111
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
142
112
SRC="/usr/share/latex2html/icons/contents.png"></A>
144
<B> Next:</B> <A NAME="tex2html3780"
145
HREF="node239.html">IMAP Folders</A>
146
<B> Up:</B> <A NAME="tex2html3776"
147
HREF="node234.html">IMAP Storage</A>
148
<B> Previous:</B> <A NAME="tex2html3770"
149
HREF="node237.html">Compiling Asterisk</A>
150
<B> <A NAME="tex2html3778"
114
<B> Next:</B> <A NAME="tex2html3783"
115
HREF="node239.html">Modify voicemail.conf</A>
116
<B> Up:</B> <A NAME="tex2html3779"
117
HREF="node236.html">Installation Notes</A>
118
<B> Previous:</B> <A NAME="tex2html3775"
119
HREF="node237.html">University of Washington IMAP</A>
120
<B> <A NAME="tex2html3781"
151
121
HREF="node1.html">Contents</A></B> </DIV>
152
122
<!--End of Navigation Panel-->