--[ UxBoD ]--
2009-Dec-04 16:41 UTC
[asterisk-users] MWI count wrong when using IMAP and VM
[root at voip ~]# asterisk -V Asterisk 1.6.1.11 When using the above version with IMAP VoiceMail integration when I leave a message my SNOM360 it shows 2 message waiting; yet when running voicemail show users from the Asterisk CLI it correctly reports 1. It would appear that when the VM is temporarily stored, and the VM is delivered by IMAP to the remote mail account, the MWI is being initiated with a incorrect count. I then delete the VM from either 1) the phone 2) the mail account the MWI goes blank and the message count shows 0 correctly. I am still trying to debug but any thoughts on this ? Here is how I have voicemail.conf :- [general] format=wav49 maxsecs=180 minsecs=5 skipms=3000 maxsilence=3 silencethreshold=128 maxlogins=3 imapserver=<imap_server> imapfolder=VoiceMail Office imapport=993 imapflags=ssl authuser=<imap_user> authpassword=<imap_password> [voicemail] 1001 => 1234,<user>,,,imapuser=<user at imap_server> Best Regards, -- This message has been scanned for viruses and dangerous content and is believed to be clean. SplatNIX IT Services :: Innovation through collaboration
--[ UxBoD ]--
2009-Dec-04 17:52 UTC
[asterisk-users] MWI count wrong when using IMAP and VM
Following up on this if I leave a second message then the WMI count goes to 4. When I check the voicemail directory on the server I see :- [root at voip 1001]# ls -lR .: total 20 drwxr-xr-x 2 root root 4096 Dec 4 17:49 INBOX drwxr-xr-x 2 root root 4096 Oct 8 21:02 Old drwxr-xr-x 2 root root 4096 May 13 2009 temp drwxr-xr-x 2 root root 4096 Dec 4 17:49 tmp drwxr-xr-x 2 root root 4096 Dec 4 15:24 VoiceMail Office ./INBOX: total 0 ./Old: total 0 ./temp: total 0 ./tmp: total 0 ./VoiceMail Office: total 0 but from the CLI I get :- voip*CLI> voicemail show users Context Mbox User Zone NewMsg voicemail 1001 <user> 2 Best Regards, ----- "--[ UxBoD ]--" <uxbod at splatnix.net> wrote: | [root at voip ~]# asterisk -V | Asterisk 1.6.1.11 | | When using the above version with IMAP VoiceMail integration when I | leave a message my SNOM360 it shows 2 message waiting; yet when | running voicemail show users from the Asterisk CLI it correctly | reports 1. | | It would appear that when the VM is temporarily stored, and the VM is | delivered by IMAP to the remote mail account, the MWI is being | initiated with a incorrect count. | | I then delete the VM from either 1) the phone 2) the mail account the | MWI goes blank and the message count shows 0 correctly. | | I am still trying to debug but any thoughts on this ? | | Here is how I have voicemail.conf :- | | [general] | format=wav49 | maxsecs=180 | minsecs=5 | skipms=3000 | maxsilence=3 | silencethreshold=128 | maxlogins=3 | imapserver=<imap_server> | imapfolder=VoiceMail Office | imapport=993 | imapflags=ssl | authuser=<imap_user> | authpassword=<imap_password> | | [voicemail] | 1001 => 1234,<user>,,,imapuser=<user at imap_server> | | Best Regards, | | | -- | This message has been scanned for viruses and | dangerous content and is believed to be clean. | | SplatNIX IT Services :: Innovation through collaboration | | | _______________________________________________ | -- Bandwidth and Colocation Provided by http://www.api-digital.com -- | | asterisk-users mailing list | To UNSUBSCRIBE or update options visit: | http://lists.digium.com/mailman/listinfo/asterisk-users -- This message has been scanned for viruses and dangerous content and is believed to be clean. SplatNIX IT Services :: Innovation through collaboration
--[ UxBoD ]--
2009-Dec-04 17:56 UTC
[asterisk-users] MWI count wrong when using IMAP and VM
as soon as I delete the two messages I receive in the console :- [Dec 4 17:52:43] WARNING[11673]: app_voicemail.c:2358 mm_log: IMAP Warning: Unknown message data: 1 EXPUNGE [Dec 4 17:52:43] WARNING[11673]: app_voicemail.c:2358 mm_log: IMAP Warning: Unknown message data: 1 EXPUNGE Best Regards, ----- "--[ UxBoD ]--" <uxbod at splatnix.net> wrote: | [root at voip ~]# asterisk -V | Asterisk 1.6.1.11 | | When using the above version with IMAP VoiceMail integration when I | leave a message my SNOM360 it shows 2 message waiting; yet when | running voicemail show users from the Asterisk CLI it correctly | reports 1. | | It would appear that when the VM is temporarily stored, and the VM is | delivered by IMAP to the remote mail account, the MWI is being | initiated with a incorrect count. | | I then delete the VM from either 1) the phone 2) the mail account the | MWI goes blank and the message count shows 0 correctly. | | I am still trying to debug but any thoughts on this ? | | Here is how I have voicemail.conf :- | | [general] | format=wav49 | maxsecs=180 | minsecs=5 | skipms=3000 | maxsilence=3 | silencethreshold=128 | maxlogins=3 | imapserver=<imap_server> | imapfolder=VoiceMail Office | imapport=993 | imapflags=ssl | authuser=<imap_user> | authpassword=<imap_password> | | [voicemail] | 1001 => 1234,<user>,,,imapuser=<user at imap_server> | | Best Regards, | | | -- | This message has been scanned for viruses and | dangerous content and is believed to be clean. | | SplatNIX IT Services :: Innovation through collaboration | | | _______________________________________________ | -- Bandwidth and Colocation Provided by http://www.api-digital.com -- | | asterisk-users mailing list | To UNSUBSCRIBE or update options visit: | http://lists.digium.com/mailman/listinfo/asterisk-users -- This message has been scanned for viruses and dangerous content and is believed to be clean. SplatNIX IT Services :: Innovation through collaboration
--[ UxBoD ]--
2009-Dec-05 16:42 UTC
[asterisk-users] MWI count wrong when using IMAP and VM
any ideas ? or file a bug ? Best Regards, ----- "--[ UxBoD ]--" <uxbod at splatnix.net> wrote: | as soon as I delete the two messages I receive in the console :- | | [Dec 4 17:52:43] WARNING[11673]: app_voicemail.c:2358 mm_log: IMAP | Warning: Unknown message data: 1 EXPUNGE | [Dec 4 17:52:43] WARNING[11673]: app_voicemail.c:2358 mm_log: IMAP | Warning: Unknown message data: 1 EXPUNGE | | Best Regards, | | | ----- "--[ UxBoD ]--" <uxbod at splatnix.net> wrote: | | | [root at voip ~]# asterisk -V | | Asterisk 1.6.1.11 | | | | When using the above version with IMAP VoiceMail integration when I | | leave a message my SNOM360 it shows 2 message waiting; yet when | | running voicemail show users from the Asterisk CLI it correctly | | reports 1. | | | | It would appear that when the VM is temporarily stored, and the VM | is | | delivered by IMAP to the remote mail account, the MWI is being | | initiated with a incorrect count. | | | | I then delete the VM from either 1) the phone 2) the mail account | the | | MWI goes blank and the message count shows 0 correctly. | | | | I am still trying to debug but any thoughts on this ? | | | | Here is how I have voicemail.conf :- | | | | [general] | | format=wav49 | | maxsecs=180 | | minsecs=5 | | skipms=3000 | | maxsilence=3 | | silencethreshold=128 | | maxlogins=3 | | imapserver=<imap_server> | | imapfolder=VoiceMail Office | | imapport=993 | | imapflags=ssl | | authuser=<imap_user> | | authpassword=<imap_password> | | | | [voicemail] | | 1001 => 1234,<user>,,,imapuser=<user at imap_server> | | | | Best Regards, | | | | | | -- | | This message has been scanned for viruses and | | dangerous content and is believed to be clean. | | | | SplatNIX IT Services :: Innovation through collaboration | | | | | | _______________________________________________ | | -- Bandwidth and Colocation Provided by http://www.api-digital.com | -- | | | | asterisk-users mailing list | | To UNSUBSCRIBE or update options visit: | | http://lists.digium.com/mailman/listinfo/asterisk-users | | -- | This message has been scanned for viruses and | dangerous content and is believed to be clean. | | SplatNIX IT Services :: Innovation through collaboration | | | _______________________________________________ | -- Bandwidth and Colocation Provided by http://www.api-digital.com -- | | asterisk-users mailing list | To UNSUBSCRIBE or update options visit: | http://lists.digium.com/mailman/listinfo/asterisk-users -- This message has been scanned for viruses and dangerous content and is believed to be clean. SplatNIX IT Services :: Innovation through collaboration