BenBeige
(Ben Beige)
October 9, 2018, 7:29pm
1
I’ve got a PBX setup that spans multiple time zones/offices and have defines times zones in voicemail.conf as below:
[zonemessages]
central = America/Chicago|‘vm-received’ Q ‘digits/at’ IMp
pacific = America/Tijuana|‘vm-received’ Q ‘digits/at’ IMp
mountain = America/Denver|‘vm-received’ Q ‘digits/at’ IMp
eastern = America/New_York|‘vm-received’ Q ‘digits/at’ IM
If I set the VM options as:
tz=central
The voicemail envelope randomly reads the word “Twenty” iver and over in the envelope
if it is set
tz=mountain
it inserts the word “Fifth” the same way.
Any ideas as to a cause?
You will need to provide output from the Asterisk console to see what is happening when you call into the voicemail app.
asterisk -rvvvvvvvvv
core set debug 3
make the call into the voicemail that does this and then copy and paste the output from the console to here.
BenBeige
(Ben Beige)
October 9, 2018, 7:59pm
3
here is the console output:
== Extension Changed 1204[ext-local] new state Idle for Notify User 1214
– <SIP/LIBER001-2-0001582d> Playing ‘vm-INBOX.gsm’ (language ‘en’)
– <SIP/LIBER001-2-0001582d> Playing ‘vm-messages.gsm’ (language ‘en’)
– <SIP/LIBER001-2-0001582d> Playing ‘vm-onefor.gsm’ (language ‘en’)
[2018-10-09 15:48:28] NOTICE[749]: chan_sip.c:28127 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 1477
– <SIP/LIBER001-2-0001582d> Playing ‘vm-INBOX.gsm’ (language ‘en’)
– <SIP/LIBER001-2-0001582d> Playing ‘vm-messages.gsm’ (language ‘en’)
– <SIP/LIBER001-2-0001582d> Playing ‘vm-opts.gsm’ (language ‘en’)
– <SIP/LIBER001-2-0001582d> Playing ‘vm-first.gsm’ (language ‘en’)
== Parsing ‘/var/spool/asterisk/voicemail/default/1358/INBOX/msg0000.txt’: Found
– <SIP/LIBER001-2-0001582d> Playing ‘vm-message.gsm’ (language ‘en’)
– <SIP/LIBER001-2-0001582d> Playing ‘digits/h-10.gsm’ (language ‘en’)
– <SIP/LIBER001-2-0001582d> Playing ‘digits/h-5.gsm’ (language ‘en’)
– <SIP/LIBER001-2-0001582d> Playing ‘digits/h-5.gsm’ (language ‘en’)
[2018-10-09 15:48:39] NOTICE[749]: chan_sip.c:28127 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 1278
– <SIP/LIBER001-2-0001582d> Playing ‘digits/h-5.gsm’ (language ‘en’)
– <SIP/LIBER001-2-0001582d> Playing ‘digits/h-5.gsm’ (language ‘en’)
– <SIP/LIBER001-2-0001582d> Playing ‘digits/day-5.gsm’ (language ‘en’)
– <SIP/LIBER001-2-0001582d> Playing ‘digits/h-5.gsm’ (language ‘en’)
– <SIP/LIBER001-2-0001582d> Playing ‘digits/day-5.gsm’ (language ‘en’)
– <SIP/LIBER001-2-0001582d> Playing ‘digits/4.gsm’ (language ‘en’)
– <SIP/LIBER001-2-0001582d> Playing ‘digits/20.gsm’ (language ‘en’)
– <SIP/LIBER001-2-0001582d> Playing ‘digits/5.gsm’ (language ‘en’)
– <SIP/LIBER001-2-0001582d> Playing ‘digits/p-m.gsm’ (language ‘en’)
– <SIP/LIBER001-2-0001582d> Playing ‘vm-from-phonenumber.gsm’ (language ‘en’)
\snip\ Phone number played back correctly \snip\
-- <SIP/LIBER001-2-0001582d> Playing '/var/spool/asterisk/voicemail/default/1358/INBOX/msg0000.slin' (language 'en')
-- <SIP/LIBER001-2-0001582d> Playing 'vm-advopts.gsm' (language 'en')
here is msg0000.txt too
;
; Message Information file
;
[message]
origmailbox=1358
context=macro-vm
macrocontext=ext-local
exten=s-NOANSWER
rdnis=1355
priority=2
callerchan=SIP/Trunk001-2-00013d82
callerid=“removed”
origdate=Fri Oct 5 10:25:22 PM UTC 2018
origtime=1538778322
category=
msg_id=1538778322-00000d31
flag=
duration=21
this is for a Moutnain Time message (says Fifth over and over)
OK, I’m confused. Did you provide the debug for a working message but the MFI (text file) for a non-working message? If that is the case, I want to see a call to the voicemail app that plays back the voicemail associated to the MFI you just posted.
BenBeige
(Ben Beige)
October 9, 2018, 8:08pm
5
That is the same message I was checking at the time
Oh man, this just hit me. How did you configure the zone messages? Did you edit voicemail.conf by hand?
This needs to be:
[zonemessages]
central=America/Chicago|‘vm-received’ Q ‘digits/at’ IMp
pacific=America/Tijuana|‘vm-received’ Q ‘digits/at’ IMp
mountain=America/Denver|‘vm-received’ Q ‘digits/at’ IMp
eastern=America/New_York|‘vm-received’ Q ‘digits/at’ IM
Asterisk can be funny about spacing and “dead lines”
BenBeige
(Ben Beige)
October 10, 2018, 12:55pm
7
It still is acting the same, for the sake of my users sanity I’ve removed the custom context for the time zones on all of their voicemail boxes while I mess with this.
[zonemessages]
mountain=America/Denver|'vm-received' Q 'digits/at' IMp
central=America/Chicago|'vm-received' Q 'digits/at' IMp
pacific=America/Los_Angeles|'vm-received' Q 'digits/at' IMp
eastern=America/Detroit|'vm-received' Q 'digits/at' IMp
That’s exactly what I have on all my machines. I’m not seeing this issue. So it has to be something with the system itself.
system
(system)
Closed
October 17, 2018, 1:00pm
9
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.