Hi, I’d configured America/Lima timezone for my voicemail but I still receiving my messages in UTC.
My voicemail config:
[general]
format=wav
skipms=3000
maxsilence=10
silencethreshold=128
maxlogins=3
tz=peru
maxmsg=100
;
[zonemessages]
peru=America/Lima|'vm-received' a d b 'digits/at' HM
;
[default]
1004=>1004,PRODUCTOS NATURALES,,,tz=peru
Timezone was correctly loaded by asterisk
[code]# asterisk -rx "voicemail show zones"
Setting max files open to 10000
Zone Timezone Message Format
peru America/Lima ‘vm-received’ a d b ‘digits/at’ HM
asterisk -rx “voicemail show users for default”
Setting max files open to 10000
Context Mbox User Zone NewMsg
default general New User 0
default 1004 PRODUCTOS NATURALES peru 30[/code]
My sip user config:
[1044]
type=friend
secret=1044
mailbox=1044@default
host=dynamic
dtmfmode=rfc2833
context=extensiones
canreinvite=no
callerid=Extension 1044 <1044>
I’d changed localtime to America/Lima
# date
Sun Jun 5 14:13:23 PET 2011
The hwclock is in localtime too
# hwclock
Sun 05 Jun 2011 02:14:27 PM PET -0.228454 seconds
CDR registers is configured with localtime
[csv]
usegmtime=no
loguniqueid=yes
loguserfield=yes
accountlogs=no
But voicemail messages still appearing in UTC
# cat /var/spool/asterisk/voicemail/default/1004/INBOX/msg0001.txt
;
; Message Information file
;
[message]
origmailbox=1004
context=extensiones
macrocontext=
exten=1004-CHANUNAVAIL
priority=1
callerchan=SIP/xxxxxxxxxx
callerid="P. Naturales" <xxxxxxxxx>
origdate=Sun Jun 5 07:18:43 PM UTC 2011
origtime=1307241403
category=
flag=
duration=17
I’d read a lot of forums but I still without success. Thanks in advace for your valuable help.