On Wed, Jun 25, 2008 at 6:11 PM, Gavin Henry [EMAIL PROTECTED] wrote:
Google Apps version might.
Just an update... I can leave a voicemail message for a user and it
shows up in GMail (web interface), but I can't retrieve the message by
calling the voicemail app in Asterisk. Asterisk reports 0 messages,
yet it shows up and I can listen to the .wav file through a web
browser.
I tested my setup with a dovecot IMAP server and it works prefectly
with that, so must be something with Google IMAP implementation. I'll
experiement more. I've turned up debugging and there doesn't appear to
be any bad messages:
[Jul 14 14:28:30] DEBUG[8827] config.c: Parsing /etc/asterisk/voicemail.conf
[Jul 14 14:28:30] DEBUG[8827] app_voicemail.c: VM Review Option
disabled globally
[Jul 14 14:28:30] DEBUG[8827] app_voicemail.c: VM Temperary Greeting
Reminder Option disabled globally
[Jul 14 14:28:30] DEBUG[8827] app_voicemail.c: VM Operator break
disabled globally
[Jul 14 14:28:30] DEBUG[8827] app_voicemail.c: VM CID Info before msg
disabled globally
[Jul 14 14:28:30] DEBUG[8827] app_voicemail.c: Send Voicemail msg
disabled globally
[Jul 14 14:28:30] DEBUG[8827] app_voicemail.c: ENVELOPE before msg
enabled globally
[Jul 14 14:28:30] DEBUG[8827] app_voicemail.c: Duration info before
msg enabled globally
[Jul 14 14:28:30] DEBUG[8827] app_voicemail.c: We are not going to
skip to the next msg after save/delete
[Jul 14 14:28:41] DEBUG[8840] app_voicemail.c: Before ast_answer
[Jul 14 14:28:41] DEBUG[8840] res_config_mysql.c: MySQL RealTime:
Retrieve SQL: SELECT * FROM voicemail WHERE mailbox = '20001' AND
context
= 'default'
[Jul 14 14:28:41] DEBUG[8840] app_voicemail.c: Before find user for
mailbox 20001
[Jul 14 14:28:41] DEBUG[8840] res_config_mysql.c: MySQL RealTime:
Retrieve SQL: SELECT * FROM voicemail WHERE mailbox = '20001' AND
context
= 'default'
[Jul 14 14:28:41] DEBUG[8837] app_voicemail.c: Mailbox is set to 20001
[Jul 14 14:28:41] DEBUG[8837] res_config_mysql.c: MySQL RealTime:
Retrieve SQL: SELECT * FROM voicemail WHERE mailbox = '20001' AND
context
= 'default'
[Jul 14 14:28:41] DEBUG[8837] app_voicemail.c:
[EMAIL PROTECTED] not found in vmstates
[Jul 14 14:28:41] DEBUG[8837] app_voicemail.c: Mailbox set to 20001
[Jul 14 14:28:41] DEBUG[8837] app_voicemail.c: 20001 not found in vmstates
[Jul 14 14:28:41] DEBUG[8837] app_voicemail.c:
[EMAIL PROTECTED] not found in vmstates
[Jul 14 14:28:41] DEBUG[8837] app_voicemail.c: Mailbox set to 20001
[Jul 14 14:28:41] DEBUG[8837] app_voicemail.c: 20001 not found in vmstates
[Jul 14 14:28:41] DEBUG[8837] app_voicemail.c: Adding new vmstate for
[EMAIL PROTECTED]
[Jul 14 14:28:41] DEBUG[8837] app_voicemail.c: Copied
[EMAIL PROTECTED] to [EMAIL PROTECTED]
[Jul 14 14:28:41] DEBUG[8837] app_voicemail.c: Inserting vm_state for
user:[EMAIL PROTECTED], mailbox 20001
[Jul 14 14:28:41] DEBUG[8837] app_voicemail.c: vm_state user
is:[EMAIL PROTECTED]
[Jul 14 14:28:41] DEBUG[8837] app_voicemail.c: mailstream not set.
[Jul 14 14:28:41] DEBUG[8837] app_voicemail.c: IMAP Info: Trying IP
address [66.249.83.111]
[Jul 14 14:28:42] DEBUG[8837] app_voicemail.c: IMAP Info: Gimap ready
for requests from 192.153.163.45 h9if5585773wxd.0
[Jul 14 14:28:42] DEBUG[8837] app_voicemail.c: Entering callback mm_login
[Jul 14 14:28:42] DEBUG[8837] res_config_mysql.c: MySQL RealTime:
Retrieve SQL: SELECT * FROM voicemail WHERE imapuser =
'[EMAIL PROTECTED]
mcc.edu'
[Jul 14 14:28:43] DEBUG[8837] app_voicemail.c: Entering EXISTS
callback for message 2397
[Jul 14 14:28:43] DEBUG[8837] app_voicemail.c: User
[EMAIL PROTECTED] mailbox set for update.
[Jul 14 14:28:43] DEBUG[8837] app_voicemail.c: IMAP Info: [UNSEEN 2]
[Jul 14 14:28:43] DEBUG[8837] app_voicemail.c: Delimiter set to / and
mailbox {imap.gmail.com}Bacula
[Jul 14 14:28:43] DEBUG[8837] app_voicemail.c: Delimiter set to / and
mailbox {imap.gmail.com}INBOX
[Jul 14 14:28:43] DEBUG[8837] app_voicemail.c: Delimiter set to / and
mailbox {imap.gmail.com}[Gmail]
[Jul 14 14:28:43] DEBUG[8837] app_voicemail.c: no select
[Jul 14 14:28:43] DEBUG[8837] app_voicemail.c: Delimiter set to / and
mailbox {imap.gmail.com}[Gmail]/All Mail
[Jul 14 14:28:43] DEBUG[8837] app_voicemail.c: Delimiter set to / and
mailbox {imap.gmail.com}[Gmail]/Drafts
[Jul 14 14:28:43] DEBUG[8837] app_voicemail.c: Delimiter set to / and
mailbox {imap.gmail.com}[Gmail]/Sent Mail
[Jul 14 14:28:43] DEBUG[8837] app_voicemail.c: Delimiter set to / and
mailbox {imap.gmail.com}[Gmail]/Spam
[Jul 14 14:28:43] DEBUG[8837] app_voicemail.c: Delimiter set to / and
mailbox {imap.gmail.com}[Gmail]/Starred
[Jul 14 14:28:43] DEBUG[8837] app_voicemail.c: Delimiter set to / and
mailbox {imap.gmail.com}[Gmail]/Trash
[Jul 14 14:28:43] DEBUG[8837] app_voicemail.c: Delimiter set to / and
mailbox {imap.gmail.com}asterisk-biz
[Jul 14 14:28:43] DEBUG[8837] app_voicemail.c: Delimiter set to / and
mailbox {imap.gmail.com}asterisk-bsd
[Jul 14 14:28:43] DEBUG[8837] app_voicemail.c: Delimiter set to / and
mailbox