[asterisk-bugs] [JIRA] (ASTERISK-24787) [patch] - Microsoft exchange incompatibility for playing back messages stored in IMAP - play_message: No origtime

Matt Jordan (JIRA) noreply at issues.asterisk.org
Fri Feb 20 09:41:35 CST 2015


    [ https://issues.asterisk.org/jira/browse/ASTERISK-24787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=224903#comment-224903 ] 

Matt Jordan edited comment on ASTERISK-24787 at 2/20/15 9:40 AM:
-----------------------------------------------------------------

For reference: Example of headers as retrieved by IMAP interface from Exchange 2007 SP3. Note lower casing.

{noformat}
Thread-Topic: Voicemail from xxx Length 0:04, on extension "xxxx"
 <xxx>
Message-ID: <Asterisk-1-1741012920-xxx-24202 at hosta>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
x-asterisk-vm-message-num: 1
x-asterisk-vm-server-name: xxxx Voicemail
x-asterisk-vm-context: default
x-asterisk-vm-extension: xxx
x-asterisk-vm-flag:
x-asterisk-vm-priority: 2
x-asterisk-vm-caller-channel: PJSIP/xxx-00000002
x-asterisk-vm-caller-id-num: xxx
x-asterisk-vm-caller-id-name: xxxx Study
x-asterisk-vm-duration: 4
x-asterisk-vm-category:
x-asterisk-vm-message-type: Message
x-asterisk-vm-orig-date: Friday, February 13, 2015 at 12:16:00 PM
x-asterisk-vm-orig-time: 1423829760
x-asterisk-vm-message-id: 1423829755-00000001
x-asterisk-callerid: xxx
x-asterisk-calleridname: xxxx
Content-Type: multipart/mixed;
        boundary="_002_Asterisk1174101292010124202hosta_"
{noformat}


was (Author: grahamjb):
For reference: Example of headers as retrieved by IMAP interface from Exchange 2007 SP3. Note lower casing.

Thread-Topic: Voicemail from xxx Length 0:04, on extension "xxxx"
 <xxx>
Message-ID: <Asterisk-1-1741012920-xxx-24202 at hosta>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
x-asterisk-vm-message-num: 1
x-asterisk-vm-server-name: xxxx Voicemail
x-asterisk-vm-context: default
x-asterisk-vm-extension: xxx
x-asterisk-vm-flag:
x-asterisk-vm-priority: 2
x-asterisk-vm-caller-channel: PJSIP/xxx-00000002
x-asterisk-vm-caller-id-num: xxx
x-asterisk-vm-caller-id-name: xxxx Study
x-asterisk-vm-duration: 4
x-asterisk-vm-category:
x-asterisk-vm-message-type: Message
x-asterisk-vm-orig-date: Friday, February 13, 2015 at 12:16:00 PM
x-asterisk-vm-orig-time: 1423829760
x-asterisk-vm-message-id: 1423829755-00000001
x-asterisk-callerid: xxx
x-asterisk-calleridname: xxxx
Content-Type: multipart/mixed;
        boundary="_002_Asterisk1174101292010124202hosta_"


> [patch] - Microsoft exchange incompatibility for playing back messages stored in IMAP - play_message: No origtime
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-24787
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24787
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_voicemail/IMAP
>    Affects Versions: 13.1.0, 13.2.0
>            Reporter: Graham Barnett
>            Assignee: Graham Barnett
>         Attachments: app_voicemail.c.patch_MSExchange
>
>
> Failed to play back messages stored in Microsoft Exchange 2007 after Exchange Server 2007 SP1 RU8 and 2010
> Two issues:
> 1. Need to reconfigure exchange:
> http://blogs.technet.com/b/stuartp/archive/2009/12/08/new-feature-in-exchange-server-2007-sp2-headerpromotionmodesettings.aspx
> 2. x attributes are lower cased.
> Fix:
> Install: Follow steps in 1
> Code fix: 
> In: get_header_by_tag
> use strcasestr not strstr for matching header attributes.
> will post patch file later



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list