FOOD FOR THOUGHT Hangup instead of voicemail on noanswer

yorals

New Member
Joined
Jul 10, 2015
Messages
4
Reaction score
0
After a fresh restart of Asterisk, I can dial an extension and leave a message. If I re-dial the extension, the voicemail greeting fails to open and the call disconnects. Same behavior on 11.17.1 and 11.18.0.

Here are the relevant logs.

Asterisk 11.18.0 built by root @ raspberrypi on a armv7l running Linux on 2015-07-13 05:53:00 UTC

Code:
[2015-07-13 21:37:54] VERBOSE[6175][C-00000000] app_dial.c:    -- Called SIP/6001
[2015-07-13 21:37:54] VERBOSE[6175][C-00000000] app_dial.c:    -- SIP/6001-00000001 is ringing
[2015-07-13 21:37:54] VERBOSE[6175][C-00000000] app_dial.c:    -- SIP/6001-00000001 is ringing
[2015-07-13 21:38:14] VERBOSE[6175][C-00000000] app_dial.c:    -- Nobody picked up in 20000 ms
[2015-07-13 21:38:14] VERBOSE[6175][C-00000000] pbx.c:    -- Executing [s@macro-stdexten:5] Goto("SIP/6002-00000000", "s-NOANSWER,1") in new stack
[2015-07-13 21:38:14] VERBOSE[6175][C-00000000] pbx.c:    -- Goto (macro-stdexten,s-NOANSWER,1)
[2015-07-13 21:38:14] VERBOSE[6175][C-00000000] pbx.c:    -- Executing [s-NOANSWER@macro-stdexten:1] VoiceMail("SIP/6002-00000000", "6001,u") in new stack
[2015-07-13 21:38:14] WARNING[6175][C-00000000] file.c: Failed to write frame
[2015-07-13 21:38:14] VERBOSE[6175][C-00000000] file.c:    -- <SIP/6002-00000000> Playing 'vm-theperson.gsm' (language 'en')
[2015-07-13 21:38:14] VERBOSE[6175][C-00000000] app_macro.c:  == Spawn extension (macro-stdexten, s-NOANSWER, 1) exited non-zero on 'SIP/6002-00000000' in macro 'stdexten'
[2015-07-13 21:38:14] VERBOSE[6175][C-00000000] pbx.c:  == Spawn extension (DLPN_DialPlanLightspeed, 6001, 1) exited non-zero on 'SIP/6002-00000000'
[2015-07-13 21:38:14] VERBOSE[6175][C-00000000] pbx.c:    -- Executing [h@DLPN_DialPlanLightspeed:1] Hangup("SIP/6002-00000000", "") in new stack
[2015-07-13 21:38:14] VERBOSE[6175][C-00000000] pbx.c:  == Spawn extension (DLPN_DialPlanLightspeed, h, 1) exited non-zero on 'SIP/6002-00000000'

Apparently my google-fu is weak, and I couldn't find anything quite like this anywhere else. Any ideas?
 
How would I check, and what could I do to fix it? It almost seems like the sound file isn't getting released after the initial voicemail call. Again, I'm at a loss to know what to do. Any ideas?
 
I did a "shutdown -Fr now" to force a shutdown and fsck on reboot. This didn't reveal any file system issues.
 
THere could still be a hardware problem with the hard drive. Check the voicemail directory permissions (/var/spool/asterisk/voicemail/default/extenisonnumber I believe) are asterisk:asterisk?
 
That seems to have worked! Some of the subdirectories under /var/spool/asterisk/ were owned by root:root. I did a chown -R to get them all owned by asterisk:asterisk instead.

Thanks atsak!
 

Members online

Forum statistics

Threads
26,689
Messages
174,414
Members
20,259
Latest member
Fadeek86
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top