Barry D. Hassler
2009-Jan-20 21:30 UTC
[asterisk-users] Timestamp on voice mail messages is based on wrong timezone
running asterisk 1.4.13... I've noticed with SOME email clients that the timestamp reported from voicemail is 5 hours off (difference of EST vs UTC). That is, a voicemail received at 15:17:59 EST is sent via email with a Date: header of "10:17:59 - 0500". An email sent through normal means (mail client) from the asterisk server reports the correct time, so it's definitely something inside Asterisk that is inserting the wrong Date stamp. Most email clients seem to display messages by the date RECEIVED, as opposed to date SENT, but naturally, I am the silly one who views email by date SENT, so my voicemails get dropped back 5 hours (which in many cases is no longer on the first screen of my email index). Following are some of the applicable email headers showing this situation.... Notice the time stamps highlighted. X-MimeOLE: Produced By Microsoft Exchange V6.5 Received: from chi.hcst.net ([192.168.254.230]) by hcst.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 20 Jan 2009 15:14:00 -0500 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C97B3B.A1867400" Received: from asterisk-bvr.hcst.com (asterisk-bvr.hcst.com [192.52.183.237]) by chi.hcst.net (8.13.6/8.13.6) with ESMTP id n0KKE0kn024700 for <barry.hassler at hcst.com>; Tue, 20 Jan 2009 15:14:00 -0500 Received: from asterisk-bvr.hcst.com (localhost [127.0.0.1]) by asterisk-bvr.hcst.com (8.14.0/8.14.0) with ESMTP id n0KKE1jd003654 for <barry.hassler at hcst.com>; Tue, 20 Jan 2009 15:14:01 -0500 Received: (from root at localhost) by asterisk-bvr.hcst.com (8.14.0/8.13.6/Submit) id n0KKE0vX003643; Tue, 20 Jan 2009 15:14:00 -0500 Return-Path: <root at asterisk-bvr.hcst.com> X-OriginalArrivalTime: 20 Jan 2009 20:14:00.0942 (UTC) FILETIME=[A21630E0:01C97B3B] X-Asterisk-CallerID: 2311 X-Asterisk-CallerIDName: Barry D. Hassler Content-class: urn:content-classes:message Subject: [PBX] New message 1 in mailbox 2302 Date: Tue, 20 Jan 2009 10:14:00 -0500 Message-ID: <Asterisk-1-745348593-2302-8298 at asterisk-bvr> X-MS-Has-Attach: yes X-MS-TNEF-Correlator: Thread-Topic: [PBX] New message 1 in mailbox 2302 thread-index: Acl7O6I+TAESdG+3RlmwhFhRW9rXEg=From: "HCST Asterisk PBX" <voicemail at asterisk-bvr.hcst.com> To: "Barry D. Hassler" <barry.hassler at hcst.com> X-Evolution-Source: exchange://hassler at zeta.hcst.com/ -- Barry D. Hassler President, HCST http://www.hcst.net/ 937-427-9000 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090120/565073e6/attachment.htm