Voicemail Message Information Files with spaces

Every once in a while someone will report that a voicemail has a weird date on it, “1956-12-31”. It turns out that the Message Information File is being created with spaces around the = so it looks like this:

[message]
origmailbox = 101
context = macro-vm
macrocontext = from-internal
exten = s-NOANSWER
priority = 2
callerchan = SIP/102-0947fc70
callerid = “User” <101>
origdate = Tue Jun 16 09:51:28 AM CDT 2009
origtime = 1245163888
category =
duration = 28

When the spaces are in the file, then ARI, as well as visual voicemail on my aastra phones, can’t properly pull the date. In addition the ARI can’t play the voicemail from the web page, it must be downloaded to be listened to.

I think it may have to do with forwarded voicemails, because the one that came across my voicemail had the following at the top of the txt file:

;!
;! Automatically generated configuration file
;! Filename: /var/spool/asterisk/voicemail/default/102/tmp/msg0000.txt
;! Generator: app_voicemail
;! Creation Date: Tue Jun 16 12:28:46 2009
;!

instead of the usual “Message Information File”

Any thoughts about where I should be reporting this bug? Does the ARI need to be modified to accomodate spaces, or do I need to look into app_voicemail?