[asterisk-users] IMAP voicemail using subfolders fails.

Barry L. Kline blkline at attglobal.net
Mon Oct 19 16:29:17 CDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I am running 1.6.0.15 and am trying to get IMAP storage working.   I
have had no trouble doing so, except that I wish to create a subfolder
in my account for voicemail, such that I have:

#voicemail/
   INBOX
   Old
   Family
   Friends
   Work

I can set IMAPFOLDER=#voicemail.INBOX in voicemail.conf and successfully
get voicemail to work as expected.   Messages appear in INBOX and are
deleted if removed from the phone.  If, however, I attempt to "change
folders" with option 2, I get the following error:

file.c:950 ast_streamfile: Unable to open vm-#voicemail.INBOX (format
0x4 (ulaw)): No such file or directory

Clearly, app_voicemail is looking for vm-INBOX and is building the
voicemail prompt file name based upon the voicemail folder.  I attempted
to symlink vm-INBOX.gsm to vm-vm-#voicemail.INBOX.gsm but that didn't
help, either.

I have tried using the combination of:

IMAPPARENTFOLDER=#voicemail
IMAPFOLDER=INBOX

but in this case the VM system can't find the messages and the voicemail
app simply dies.  So that isn't the right incantation.

Surely, it's possible to do what I'm looking to do, isn't it?   So my
questions are: "How do I configure app_voicemail to use IMAP
subfolders?" and "I have used '/' as the delimter as well as the '.'
character.  Am I using the wrong one and if so, what is the correct one?"

TIA,

Barry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFK3NotCFu3bIiwtTARAgXoAJ48uOG0DgJzjM2mtnjbqbZMJ/nWrQCfYxLJ
yH55gWUN5iBp2+bagDHIklA=
=oJXN
-----END PGP SIGNATURE-----



More information about the asterisk-users mailing list