[asterisk-bugs] [Asterisk 0017412]: [patch] Voicemail envelope doesn't correct read date/time when voicemail stored in IMAP

Asterisk Bug Tracker noreply at bugs.digium.com
Fri May 28 14:57:57 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17412 
====================================================================== 
Reported By:                jsmith
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17412
Category:                   Applications/app_voicemail/IMAP
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           1.6.2.8-rc1 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-05-27 16:24 CDT
Last Modified:              2010-05-28 14:57 CDT
====================================================================== 
Summary:                    [patch] Voicemail envelope doesn't correct read
date/time when voicemail stored in IMAP
Description: 
Asterisk isn't reading the envelope date correctly when I store voicemail
in IMAP.  It reads the date as December 31, 1969.

The headers are being set correctly in the IMAP message itself:

X-Asterisk-VM-Orig-date: Thursday, May 27, 2010 at 09:00:09 AM
X-Asterisk-VM-Orig-time: 1274965209

But Asterisk complains on the CLI that it can't get the information:

[May 27 09:37:11] WARNING[23254]: app_voicemail.c:6887
play_message_datetime: Couldn't find origtime in
/var/spool/asterisk/voicemail/default/1601/INBOX/msg0000.txt

I grabbed the msg0000.txt file that got created when the message was
retrieved from IMAP, and it appears to be corrupt or horribly wrong... I'll
attach it to the bug report.
====================================================================== 

---------------------------------------------------------------------- 
 (0122635) jsmith (administrator) - 2010-05-28 14:57
 https://issues.asterisk.org/view.php?id=17412#c122635 
---------------------------------------------------------------------- 
Applied the patch, and it didn't solve the problem, but it did give
different output in msg0000.txt:

[message]
callerid="" <>
context=
origtime=
duration=
category=
flag= 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-05-28 14:57 jsmith         Note Added: 0122635                          
======================================================================




More information about the asterisk-bugs mailing list