[asterisk-dev] configuring imap enabled voicemail from shell

Tzafrir Cohen tzafrir.cohen at xorcom.com
Tue May 1 22:49:15 MST 2007


On Wed, May 02, 2007 at 01:22:52PM +1000, Luke McKee wrote:
> Hi Asterisk Devs,
> 
> I'm working on making a 1.4.4 gentoo ebuild for asterisk. It's working
> nice and has got chan_cellphone support too. I've got imap compiling
> by unpacking the uw-imap source one directory level down from the
> asterisk sources. Would it be any better to use a UW-IMAP c-library
> already installed (as long as it has the static archives)
> 
> I have a couple of questions about how I can automate the procedure to
> get imap working from ebuild use flags.
> 
> I need to automate the selection of
> MENUSELECT_OPTS_app_voicemail=IMAP_STORAGE.

No. You need to detect this throuch autoconf. edit configure.ac .

Make it a separate --with option. Then it is trivial to automate with
standard build procedures.

Otherwise you need very ugly and unrelible sed-s to automate stuff.

-- 
               Tzafrir Cohen       
icq#16849755                    jabber:tzafrir at jabber.org
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com       
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir


More information about the asterisk-dev mailing list