[asterisk-dev] Setting up imap based voicemail / invalid remote specification

Arnd Vehling av at nethead.de
Wed Sep 13 08:08:30 MST 2006


Hi,

ive just installed a svn trunk (r42858) and i am having problems
getting app_voicemail to even try to connect to a imap server.

Ive added the following to voicemail.conf
--
; new IMAP Stuff
imapserver=mydom.com
imapport=143
expungeonhangup=no
[..]
[default]
; Office Accounts
7709810 => 1234, Me Myself, me at mydom.com,,attach=yes|imapuser=me|authuser=me
|autpassword=mypass
--

When trying to leave a voicemail ill get:
--
[Sep 13 16:20:45] ERROR[30445]: app_voicemail.c:8193 mm_log: IMAP Error: Can't 
open mailbox {mydom.com:143/imap//user=me}INBOX: invalid remote specification
[Sep 13 16:20:45] ERROR[30445]: app_voicemail.c:2455 count_messages_imap: 
Houston we have a problem - IMAP mailstream is NULL
[Sep 13 16:20:45] NOTICE[30445]: app_voicemail.c:2876 leave_voicemail: Can not 
leave voicemail, unable to count messages
--

Any hints?

BTW: If i call Voicemail with "Voicemail(8809210@${CONTEXT}|sb)" in 
extension.conf the "${CONTEXT}" gets replaced with the actual context but
asterisk still tries to find the mailbox in the default context? Am i
missing something here (Docu for changed extension.conf syntax? => where?)
or is this a bug?

regards,

   Arnd


More information about the asterisk-dev mailing list