Summary:ASTERISK-12854: [patch] Asterisk IMAP headers are not processed correctly
Reporter:James Rothenberger (jaroth)Labels:
Date Opened:2008-10-09 08:45:23Date Closed:2008-10-09 18:20:25
Versions:Frequency of
Environment:Attachments:( 0) imapheaders.patch
Description:There are a few minor glitches in the way that 1.6 copies IMAP voicemail headers to the local .txt file before playing a message:

- The urgent flag is not extracted, so messages are not announced as urgent ("first urgent message")
- The callerID name and number fields are extracted backwards, so  ast_callerid_parse() does not parse correctly.  The callerID is not announced because the callerID name is sent to ast_play_digit_str() instead of the number.
Comments:By: Mark Michelson (mmichelson) 2008-10-09 18:18:22

Ah, thanks for the patch. Looks good!

By: Digium Subversion (svnbot) 2008-10-09 18:20:22

Repository: asterisk
Revision: 148144

U   trunk/apps/app_voicemail.c

r148144 | mmichelson | 2008-10-09 18:20:22 -0500 (Thu, 09 Oct 2008) | 10 lines

Read the callerid in the correct order and make sure to
read the Urgent flag value from the IMAP headers.

(closes issue ASTERISK-12854)
Reported by: jaroth
     imapheaders.patch uploaded by jaroth (license 50)