Voicemails hangs up

On one of my Freepbx (13.0.192.19) installs I have the following issue: when calling voicemail (*98), entering both mailbox number and password, I hear the kind lady say “you have 1” (she doesn’t complete the sentence) and just after the connection is dropped. This results in not beeing able to check the voicemail. What can I do about this issue other then mailing the voicemails and deleting them immediately instead of storing them?

  1. Provide please what you are running. and some background about your setup
  2. When posting the logs here you’ll get a answer faster

https://wiki.freepbx.org/display/SUP/Providing+Great+Debug#ProvidingGreatDebug-AsteriskLogs

Does this help?

[2017-12-14 14:50:49] VERBOSE[22950][C-000076d8] app_dial.c: SIP/418-0001b691 is ringing
[2017-12-14 14:50:49] VERBOSE[22951][C-000076d8] app_dial.c: SIP/115-0001b692 is ringing
[2017-12-14 14:50:49] VERBOSE[22959][C-000076d8] app_dial.c: SIP/317-0001b693 is ringing
[2017-12-14 14:50:50] VERBOSE[22950][C-000076d8] app_dial.c: SIP/418-0001b691 is ringing
[2017-12-14 14:50:50] VERBOSE[22951][C-000076d8] app_dial.c: SIP/115-0001b692 is ringing
[2017-12-14 14:50:50] VERBOSE[22959][C-000076d8] app_dial.c: SIP/317-0001b693 is ringing
[2017-12-14 14:50:50] VERBOSE[19168] stasis/app.c: Inactive Stasis app ‘communication’ missed message
[2017-12-14 14:50:51] VERBOSE[19168] stasis/app.c: Inactive Stasis app ‘communication’ missed message
[2017-12-14 14:50:52] VERBOSE[22950][C-000076d8] app_dial.c: SIP/418-0001b691 is ringing
[2017-12-14 14:50:52] VERBOSE[22951][C-000076d8] app_dial.c: SIP/115-0001b692 is ringing
[2017-12-14 14:50:52] VERBOSE[22959][C-000076d8] app_dial.c: SIP/317-0001b693 is ringing
[2017-12-14 14:50:53] VERBOSE[22943][C-000076da] file.c: <SIP/125-0001b690> Playing ‘vm-youhave.ulaw’ (language ‘nl’)
[2017-12-14 14:50:54] VERBOSE[22943][C-000076da] file.c: <SIP/125-0001b690> Playing ‘digits/1.ulaw’ (language ‘nl’)
[2017-12-14 14:50:54] WARNING[22943][C-000076da] file.c: File vm-Olds does not exist in any format
[2017-12-14 14:50:54] WARNING[22943][C-000076da] file.c: Unable to open vm-Olds (format (ulaw)): No such file or directory
[2017-12-14 14:50:54] VERBOSE[22943][C-000076da] pbx.c: Spawn extension (from-internal, *98, 16) exited non-zero on ‘SIP/125-0001b690’
[2017-12-14 14:50:54] VERBOSE[22943][C-000076da] pbx.c: Executing [h@from-internal:1] Macro(“SIP/125-0001b690”, “hangupcall”) in new stack
[2017-12-14 14:50:54] VERBOSE[19168] stasis/app.c: Inactive Stasis app ‘communication’ missed message
[2017-12-14 14:50:54] VERBOSE[19168] stasis/app.c: Inactive Stasis app ‘communication’ missed message
[2017-12-14 14:50:54] VERBOSE[19168] stasis/app.c: Inactive Stasis app ‘communication’ missed message
[2017-12-14 14:50:54] VERBOSE[19168] stasis/app.c: Inactive Stasis app ‘communication’ missed message
[2017-12-14 14:50:54] VERBOSE[19168] stasis/app.c: Inactive Stasis app ‘communication’ missed message
[2017-12-14 14:50:54] VERBOSE[19168] stasis/app.c: Inactive Stasis app ‘communication’ missed message
[2017-12-14 14:50:54] VERBOSE[19168] stasis/app.c: Inactive Stasis app ‘communication’ missed message
[2017-12-14 14:50:54] VERBOSE[19168] stasis/app.c: Inactive Stasis app ‘communication’ missed message
[2017-12-14 14:50:54] VERBOSE[22943][C-000076da] pbx.c: Executing [s@macro-hangupcall:1] GotoIf(“SIP/125-0001b690”, “1?theend”) in new stack
[2017-12-14 14:50:54] VERBOSE[22943][C-000076da] pbx_builtins.c: Goto (macro-hangupcall,s,3)
[2017-12-14 14:50:54] VERBOSE[19168] stasis/app.c: Inactive Stasis app ‘communication’ missed message
[2017-12-14 14:50:54] VERBOSE[19168] stasis/app.c: Inactive Stasis app ‘communication’ missed message
[2017-12-14 14:50:54] VERBOSE[22943][C-000076da] pbx.c: Executing [s@macro-hangupcall:3] ExecIf(“SIP/125-0001b690”, “0?Set(CDR(recordingfile)=)”) in new stack
[2017-12-14 14:50:54] VERBOSE[19168] stasis/app.c: Inactive Stasis app ‘communication’ missed message
[2017-12-14 14:50:54] VERBOSE[19168] stasis/app.c: Inactive Stasis app ‘communication’ missed message
[2017-12-14 14:50:54] VERBOSE[22943][C-000076da] pbx.c: Executing [s@macro-hangupcall:4] Hangup(“SIP/125-0001b690”, “”) in new stack
[2017-12-14 14:50:54] VERBOSE[19168] stasis/app.c: Inactive Stasis app ‘communication’ missed message
[2017-12-14 14:50:54] VERBOSE[22943][C-000076da] app_macro.c: Spawn extension (macro-hangupcall, s, 4) exited non-zero on ‘SIP/125-0001b690’ in macro ‘hangupcall’
[2017-12-14 14:50:54] VERBOSE[19168] stasis/app.c: Inactive Stasis app ‘communication’ missed message
[2017-12-14 14:50:54] VERBOSE[19168] stasis/app.c: Inactive Stasis app ‘communication’ missed message
[2017-12-14 14:50:54] VERBOSE[19168] stasis/app.c: Inactive Stasis app ‘communication’ missed message
[2017-12-14 14:50:54] VERBOSE[22943][C-000076da] pbx.c: Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/125-0001b690’
[2017-12-14 14:50:54] VERBOSE[19168] stasis/app.c: Inactive Stasis app ‘communication’ missed message
[2017-12-14 14:50:54] VERBOSE[22197] stasis/app.c: Inactive Stasis app ‘communication’ missed message
[2017-12-14 14:50:54] VERBOSE[19168] stasis/app.c: Inactive Stasis app ‘communication’ missed message
[2017-12-14 14:50:54] VERBOSE[19168] stasis/app.c: Inactive Stasis app ‘communication’ missed message
[2017-12-14 14:50:54] VERBOSE[19168] stasis/app.c: Inactive Stasis app ‘communication’ missed message
[2017-12-14 14:50:54] VERBOSE[19168] stasis/app.c: Inactive Stasis app ‘communication’ missed message
[2017-12-14 14:50:54] VERBOSE[19168] stasis/app.c: Inactive Stasis app ‘communication’ missed message
[2017-12-14 14:50:54] VERBOSE[19168] stasis/app.c: Inactive Stasis app ‘communication’ missed message
[2017-12-14 14:50:55] VERBOSE[19168] stasis/app.c: Inactive Stasis app ‘communication’ missed message

It seems to happen only with old messages, that is messages stored in: /var/spool/asterisk/voicemail/default/xxx/Old. When this directory is empty and there are only new messages, /var/spool/asterisk/voicemail/default/xxx/INBOX, everything works fine. As soon as the message is moved to the folder “Old” the issues start.

Here is the issue:

[2017-12-14 14:50:54] WARNING[22943][C-000076da] file.c: File vm-Olds does not exist in any format
[2017-12-14 14:50:54] WARNING[22943][C-000076da] file.c: Unable to open vm-Olds (format (ulaw)): No such file or directory

For some reason your system is trying to play a file called vm-Olds but the actual filename is vm-Old. I have no idea why it’s doing this, possibly because the channel language is set to nl.

Any idea how to troubleshoot this? I have found these files:

/var/lib/asterisk/sounds/en/vm-Old.g722
/var/lib/asterisk/sounds/en/vm-Old.alaw
/var/lib/asterisk/sounds/en/vm-Old.gsm
/var/lib/asterisk/sounds/en/vm-Old.ulaw
/var/lib/asterisk/sounds/nl/vm-Old.g722
/var/lib/asterisk/sounds/nl/vm-Old.ulaw

8.0K -rw-rw-r-- 1 asterisk asterisk 6.2K Sep 8 2016 vm-Old.g722
8.0K -rw-rw-r-- 1 asterisk asterisk 6.2K Sep 8 2016 vm-Old.ulaw

On one of my other servers I find the same files:

/var/lib/asterisk/sounds/en/vm-Old.ulaw
/var/lib/asterisk/sounds/en/vm-Old.alaw
/var/lib/asterisk/sounds/en/vm-Old.g722
/var/lib/asterisk/sounds/en/vm-Old.sln16
/var/lib/asterisk/sounds/it/vm-Old.ulaw
/var/lib/asterisk/sounds/fr/vm-Old.ulaw
/var/lib/asterisk/sounds/en_GB/vm-Old.ulaw
/var/lib/asterisk/sounds/es/vm-Olds.ulaw
/var/lib/asterisk/sounds/es/vm-Old.ulaw
/var/lib/asterisk/sounds/ja/vm-Old.ulaw
/var/lib/asterisk/sounds/nl/vm-Old.g722
/var/lib/asterisk/sounds/nl/vm-Old.ulaw

8.0K -rw-rw-r-- 1 asterisk asterisk 6.2K Sep 8 2016 vm-Old.g722
8.0K -rw-rw-r-- 1 asterisk asterisk 6.2K Sep 8 2016 vm-Old.ulaw

I can’t find any file called vm-Olds. Could I trick the system by copying the files to vm-Olds.g722 and vm-Olds.ulaw?

[edit] tried that, cp vm-Old.ulaw vm-Olds.ulaw and cp vm-Old.g722 vm-Olds.g722, and this does the trick. It would be nice however to find the source of the problem. [/edit]

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.