Voicemail will not work...

ropeguru

Member
Joined
Nov 1, 2008
Messages
90
Reaction score
21
Hi all,

Cannot seem to figure this one out. I am running version 1.3, FreePBX 2.5.1.0 , and asterisk 1.4.22. Have one sip extension setup with voicemail. Context is set to device and mailbox to default. Have also tried other various combination of context and mailbox. Even the default creation of the voicemail setup for a new extension does not work.

The two errors I get, depending on confguration are:

Code:
[Nov  2 22:54:36] VERBOSE[16449] logger.c:     -- <SIP/2000-111d8760> Playing 'vm-options' (language 'en')
[Nov  2 22:54:38] VERBOSE[16449] logger.c:     -- Recording the message
[Nov  2 22:54:38] VERBOSE[16449] logger.c:     -- <SIP/2000-111d8760> Playing 'vm-rec-unv' (language 'en')
[Nov  2 22:54:42] VERBOSE[16449] logger.c:     -- <SIP/2000-111d8760> Playing 'beep' (language 'en')
[Nov  2 22:54:43] WARNING[16449] file.c: Unable to open file /var/spool/asterisk/voicemail/device/2000/unavail.tmp.wav: Too many levels of symbolic links
[Nov  2 22:54:43] VERBOSE[16449] logger.c:     -- x=0, open writing:  /var/spool/asterisk/voicemail/device/2000/unavail.tmp format: wav, (nil)
[Nov  2 22:54:43] WARNING[16449] app.c: Error creating writestream '/var/spool/asterisk/voicemail/device/2000/unavail.tmp', format 'wav'
[Nov  2 22:54:43] VERBOSE[16449] logger.c:     -- <SIP/2000-111d8760> Playing 'vm-review' (language 'en')
[Nov  2 22:54:46] VERBOSE[16449] logger.c:   == Spawn extension (from-internal, *97, 106) exited non-zero on 'SIP/2000-111d8760'

or
Same as above, but given the context and mailbox combination, I just get the error in the write stream and not the symbolic lnk error.


I have verified that permissions on all the folders for voicemail under spool are set to asterisk:asterisk.


Any ideas??
 
I wonder if somehow a recursive link was created. In my system, the files inside of /var/spool/asterisk/voicemail/device/ ... are symbolic links to /var/spool/asterisk/voicemail/default/ ...

It may sound like a pedantic answer, but try deleting the voicemail boxes in FreePBX, then manually delete all the files and subdirectories (including the symlinks) inside of /device/ and /default/ and try to recreate the voicemail box in FreePBX.

Good luck!
 
I wonder if somehow a recursive link was created. In my system, the files inside of /var/spool/asterisk/voicemail/device/ ... are symbolic links to /var/spool/asterisk/voicemail/default/ ...

It may sound like a pedantic answer, but try deleting the voicemail boxes in FreePBX, then manually delete all the files and subdirectories (including the symlinks) inside of /device/ and /default/ and try to recreate the voicemail box in FreePBX.

Good luck!


Ok, I disabled voicemail for the extension and verified that in both the device and default directories that there are no files of symlinks.

I re-enabled voicemail, set the mailbox to 2000@default and the context in the VM section to default. Left all options as their default and put in a password. Saved the config and reloaded.

Went back and checked the default directory and no folder was created for the extension. Have doubled checked the permissions on the context folder and they are asterisk:asterisk with 775 as the permissions.

This is really frustrationg as it is the only thing that doesn't seem to be working now and I cannot figure out why.
 
Was there any resolution to this?
I am having the same exact problems. Voicemail worked for the first phone I setup. Now it no longer works. I get Authentication failed message. I was actually not even able enroll additional phones, I had to switch to Device and User mode to do so.
I can see /var/spool/asterisk/voicemail/default/360/... In the device folder I see the link to the device/360 folder. ... all permissions appear to be correct.... Im not sure what else to check.
 
I discovered this can be caused quite easily if you make an error in the bulk import extensions module. Just FYI.
 

Members online

No members online now.

Forum statistics

Threads
26,687
Messages
174,410
Members
20,257
Latest member
Dempan
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