Voicemail stopped working.

drmurdoch

Member
Joined
May 26, 2008
Messages
554
Reaction score
4
Location
West of Toronto, Canada
My PIAF hard drive just filled up with Mondo .iso backups.
I freed up lots of space, but now I can't access voicemail from the phones.

I can login to the server and view the old VM recordings.
http://192.168.1.1xx/menu.php?id=recordings
When I try to leave a new voice mail message ... it appears to work, but doesn't save.

As well, I cannot use the phones to retrieve the messages.
It asks for the EXT and password and then fails.

I did run an update-scripts update-fixes recently after the hard drive filled up. I'll try it again.

Any ideas ?

Code:
[2011-04-06 16:42:06] VERBOSE[11514] logger.c: -- Executing [*[email protected]:1] Answer("SIP/702-b7803788", "") in new stack
[2011-04-06 16:42:06] VERBOSE[11514] logger.c: -- Executing [*[email protected]:2] Wait("SIP/702-b7803788", "1") in new stack
[2011-04-06 16:42:06] VERBOSE[3379] logger.c: Extension Changed 702[ext-local] new state InUse for Notify User 711 
[2011-04-06 16:42:07] VERBOSE[11514] logger.c: -- Executing [*[email protected]:3] NoOp("SIP/702-b7803788", "app-dialvm: Asking for mailbox") in new stack
[2011-04-06 16:42:07] VERBOSE[11514] logger.c: -- Executing [*[email protected]:4] Read("SIP/702-b7803788", "MAILBOX|vm-login|||3|2") in new stack
[2011-04-06 16:42:07] VERBOSE[11514] logger.c: -- <SIP/702-b7803788> Playing 'vm-login' (language 'en')
[2011-04-06 16:42:12] VERBOSE[11514] logger.c: -- User entered '701'
[2011-04-06 16:42:12] VERBOSE[11514] logger.c: -- Executing [*[email protected]:5] NoOp("SIP/702-b7803788", "app-dialvm: Got Mailbox 701") in new stack
[2011-04-06 16:42:12] VERBOSE[11514] logger.c: -- Executing [*[email protected]:6] Macro("SIP/702-b7803788", "get-vmcontext|701") in new stack
[2011-04-06 16:42:12] VERBOSE[11514] logger.c: -- Executing [[email protected]:1] Set("SIP/702-b7803788", "VMCONTEXT=default") in new stack
[2011-04-06 16:42:12] DEBUG[11514] app_macro.c: Executed application: Set
[2011-04-06 16:42:12] VERBOSE[11514] logger.c: -- Executing [[email protected]:2] GotoIf("SIP/702-b7803788", "0?200:300") in new stack
[2011-04-06 16:42:12] VERBOSE[11514] logger.c: -- Goto (macro-get-vmcontext,s,300)
[2011-04-06 16:42:12] DEBUG[11514] app_macro.c: Executed application: GotoIf
[2011-04-06 16:42:12] VERBOSE[11514] logger.c: -- Executing [[email protected]:300] NoOp("SIP/702-b7803788", "") in new stack
[2011-04-06 16:42:12] DEBUG[11514] app_macro.c: Executed application: NoOp
[2011-04-06 16:42:12] VERBOSE[11514] logger.c: -- Executing [*[email protected]:7] MailboxExists("SIP/702-b7803788", "[email protected]") in new stack
[2011-04-06 16:42:12] VERBOSE[11514] logger.c: -- Executing [*[email protected]:8] GotoIf("SIP/702-b7803788", "1?good:bad") in new stack
[2011-04-06 16:42:12] VERBOSE[11514] logger.c: -- Goto (from-internal,*98,10)
[2011-04-06 16:42:12] VERBOSE[11514] logger.c: -- Executing [*[email protected]:10] NoOp("SIP/702-b7803788", "app-dialvm: Good mailbox [email protected]") in new stack
[2011-04-06 16:42:12] VERBOSE[11514] logger.c: -- Executing [*[email protected]:11] VoiceMailMain("SIP/702-b7803788", "[email protected]") in new stack
[2011-04-06 16:42:12] VERBOSE[11514] logger.c: -- <SIP/702-b7803788> Playing 'vm-password' (language 'en')
[2011-04-06 16:42:22] WARNING[11514] app.c: Failed to lock path '/var/spool/asterisk/voicemail/default/701/Old': File exists
[2011-04-06 16:42:22] VERBOSE[11514] logger.c: == Spawn extension (from-internal, *98, 11) exited non-zero on 'SIP/702-b7803788'
[2011-04-06 16:42:22] VERBOSE[11514] logger.c: -- Executing [[email protected]:1] Macro("SIP/702-b7803788", "hangupcall") in new stack
[2011-04-06 16:42:22] VERBOSE[11514] logger.c: -- Executing [[email protected]:1] GotoIf("SIP/702-b7803788", "1?skiprg") in new stack
[2011-04-06 16:42:22] VERBOSE[11514] logger.c: -- Goto (macro-hangupcall,s,4)
[2011-04-06 16:42:22] DEBUG[11514] app_macro.c: Executed application: GotoIf
[2011-04-06 16:42:22] VERBOSE[11514] logger.c: -- Executing [[email protected]:4] GotoIf("SIP/702-b7803788", "1?skipblkvm") in new stack
[2011-04-06 16:42:22] VERBOSE[11514] logger.c: -- Goto (macro-hangupcall,s,7)
[2011-04-06 16:42:22] DEBUG[11514] app_macro.c: Executed application: GotoIf
[2011-04-06 16:42:22] VERBOSE[11514] logger.c: -- Executing [[email protected]:7] GotoIf("SIP/702-b7803788", "1?theend") in new stack
[2011-04-06 16:42:22] VERBOSE[11514] logger.c: -- Goto (macro-hangupcall,s,9)
[2011-04-06 16:42:22] DEBUG[11514] app_macro.c: Executed application: GotoIf
[2011-04-06 16:42:22] VERBOSE[11514] logger.c: -- Executing [[email protected]:9] Hangup("SIP/702-b7803788", "") in new stack
[2011-04-06 16:42:22] VERBOSE[11514] logger.c: == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/702-b7803788' in macro 'hangupcall'
[2011-04-06 16:42:22] VERBOSE[11514] logger.c: == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/702-b7803788'
[2011-04-06 16:42:22] VERBOSE[3379] logger.c: Extension Changed 702[ext-local] new state Idle for Notify User 711 
[2011-04-06 16:42:22] NOTICE[3400] chan_sip.c: -- Registration for '[email protected]' timed out, trying again (Attempt #384)
[2011-04-06 16:42:38] VERBOSE[11515] logger.c: == Parsing '/etc/asterisk/manager.conf': [2011-04-06 16:42:38] VERBOSE[11515] logger.c: Found
[2011-04-06 16:42:38] VERBOSE[11515] logger.c: == Parsing '/etc/asterisk/manager_additional.conf': [2011-04-06 16:42:38] VERBOSE[11515] logger.c: Found
[2011-04-06 16:42:38] VERBOSE[11515] logger.c: == Parsing '/etc/asterisk/manager_custom.conf': [2011-04-06 16:42:38] VERBOSE[11515] logger.c: Found
[2011-04-06 16:42:38] VERBOSE[11515] logger.c: == Manager 'admin' logged on from 127.0.0.1
 

rossiv

Guru
Joined
Oct 26, 2008
Messages
2,626
Reaction score
138
Location
Atlanta, GA
Can you do a 'ls -all /var/spool/asterisk/voicemail/default/701' and post the results here please?
 

drmurdoch

Member
Joined
May 26, 2008
Messages
554
Reaction score
4
Location
West of Toronto, Canada

drmurdoch

Member
Joined
May 26, 2008
Messages
554
Reaction score
4
Location
West of Toronto, Canada
total 1240
drwx-w---- 11 asterisk asterisk 1024 Mar 11 10:44 .
drwx-w---- 6 asterisk asterisk 1024 Feb 16 15:22 ..
drwxrwxr-x 2 asterisk asterisk 1024 May 3 2009 busy
-rwx-w---- 1 asterisk asterisk 436524 Sep 7 2009 busy.wav
-rwx-w---- 1 asterisk asterisk 44390 Sep 7 2009 busy.WAV
drwx-w---- 2 asterisk asterisk 1024 Nov 18 17:35 Cust3
drwx-w---- 2 asterisk asterisk 1024 Sep 22 2010 Family
drwx-w---- 2 asterisk asterisk 1024 Oct 1 2008 greet
-rwx-w---- 1 asterisk asterisk 26284 Aug 31 2009 greet.wav
-rwx-w---- 1 asterisk asterisk 2725 Aug 31 2009 greet.WAV
drwx-w---- 2 asterisk asterisk 6144 Apr 6 16:56 INBOX
drwx-w---- 2 asterisk asterisk 1024 Apr 6 16:51 Old
drwx-w---- 2 asterisk asterisk 1024 Oct 1 2008 temp
drwx-w---- 2 asterisk asterisk 1024 Apr 6 16:56 tmp
drwx-w---- 2 asterisk asterisk 1024 Oct 1 2008 unavail
-rwx-w---- 1 asterisk asterisk 663084 Mar 11 10:44 unavail.wav
-rwx-w---- 1 asterisk asterisk 67400 Mar 11 10:44 unavail.WAV
 

drmurdoch

Member
Joined
May 26, 2008
Messages
554
Reaction score
4
Location
West of Toronto, Canada
I've just learned webmin and it makes this stuff easier for Nix Noobs like me :)


Code:
> ls -all /var/spool/asterisk/voicemail/default/701/Old
total 1602
drwx-w----  2 asterisk asterisk   1024 Apr  6 18:51 .
drwx-w---- 11 asterisk asterisk   1024 Mar 11 10:44 ..
-rw--w----  1 asterisk asterisk      0 Apr  4 09:24 .lock
-rw--w----  1 asterisk asterisk    385 Mar  2 09:46 msg0000.WAV
-rw--w----  1 asterisk asterisk    261 Mar  2 09:46 msg0000.txt
-rw--w----  1 asterisk asterisk   3244 Mar  2 09:46 msg0000.wav
-rw--w----  1 asterisk asterisk  78775 Mar 23 14:21 msg0001.WAV
-rw--w----  1 asterisk asterisk    264 Mar 23 14:21 msg0001.txt
-rw--w----  1 asterisk asterisk 775084 Mar 23 14:21 msg0001.wav
-rw--w----  1 asterisk asterisk  70650 Mar 30 13:55 msg0002.WAV
-rw--w----  1 asterisk asterisk    260 Mar 30 13:55 msg0002.txt
-rw--w----  1 asterisk asterisk 695084 Mar 30 13:55 msg0002.wav
I think this is the problem:

-rw--w---- 1 asterisk asterisk 0 Apr 4 09:24 .lock
 

rossiv

Guru
Joined
Oct 26, 2008
Messages
2,626
Reaction score
138
Location
Atlanta, GA
Can you remove the .lock? It is also peculiar that the permissions are -rw--w----. Now that I look on my box, though, they are the same.
 

drmurdoch

Member
Joined
May 26, 2008
Messages
554
Reaction score
4
Location
West of Toronto, Canada
I deleted that .lock file ... no luck.

I keep getting this error.

Failed to lock path '/var/spool/asterisk/voicemail/default/701/INBOX': File exists

The voicemail on another extension worked.
Then I found this:



Deleting this .lock file corrected the problem.

How might I search for other .lock files ?
 

drmurdoch

Member
Joined
May 26, 2008
Messages
554
Reaction score
4
Location
West of Toronto, Canada
find /var/spool/asterisk/voicemail/default -name ".lock" (no results)
find /var/spool/asterisk/voicemail -name "*.txt" (some results).

So I guess there are no more .locks

:)

find / -name ".lock" (1 result)

/usr/share/pear/.lock
 

tomsyr

Guru
Joined
Oct 26, 2007
Messages
266
Reaction score
1
Location
Syracuse NY
Thanks - this solved a current issue for me. I used Winscp to delete the lock file on the user's mailbox.
 

Members online

PIAF 5 - Powered by 3CX

Forum statistics

Threads
22,260
Messages
136,393
Members
14,499
Latest member
BenMcClements