[Asterisk-Users] Cannot access voicemail
Jeff Heath
jheath1 at optonline.net
Fri Apr 8 09:48:08 MST 2005
I'm having trouble checking voicemail. When I make a call and the
recipient doesn't answer, the call goes to voicemail, and it's being
recorded (I checked the files in
/var/spool/asterisk/voicemail/from-sip/4035/INBOX).
My problem is that I can't get access to the recorded message. I dial
the extension I setup to go to voicemail (4040) and then the voicemail
system asks for a password. I press 1234 (which is what I *think* I
setup in voicemail.conf), but I get a message that the password is
incorrect.
I've included my config files below.
this is the output on the Asterisk CLI:
*CLI> -- Executing VoiceMailMain2("SIP/4035-256b", "4035") in new
stack
-- Playing 'vm-password' (language 'en')
-- Incorrect password '' for user '4035' (context = <any>)
-- Playing 'vm-incorrect'Untitled 1 (language 'en')
-- Playing 'vm-password' (language 'en')
Apr 8 12:12:24 WARNING[22786]: app_voicemail.c:3389 vm_execmain: Unable
to read password
== Spawn extension (from-sip, 4040, 1) exited non-zero on
'SIP/4035-256b'
----------------------- extensions.conf ---------------------------
[general]
static = yes
writeprotect = yes
[from-sip]
exten => 4035,1,Dial(SIP/4035,20)
exten => 4035,2,Voicemail2(u4035)
exten => 4035,102,Voicemail2(b4035)
exten => 4035,103,Hangup
exten => 4009,1,Dial(SIP/4009,20)
exten => 4009,2,Voicemail2(u4009)
exten => 4009,102,Voicemail2(b4009)
exten => 4009,103,Hangup
exten => 4040,1,VoicemailMain2(${CALLERIDNUM})
[local]
include => from-sip
----------------------- voicemail.conf ---------------------------
[general]
format = wav49|gsm|wav
serveremail = asterisk
attach = yes
maxmessage = 180
maxgreet = 60
skipms = 3000
maxsilence = 10
silencethreshold = 128
maxlogins = 3
[from-sip]
4009 => 1234,Jeff
4035 => 1234,Pam
------------------------ sip.conf -------------------------------
[general]
port = 5060
[4035]
type = friend
username = 4035
secret = pamela
context = from-sip
callerid = "Pam" <4035>
qualify = 1000
host = dynamic
canreinvite = no
mailbox = 4035
defaultip = 192.168.1.104
[4009]
type = friend
username = 4009
secret = jeff
context = from-sip
callerid = "Jeff" <4009>
qualify = 1000
host = dynamic
canreinvite = no
mailbox = 4009
defaultip = 192.168.1.105
More information about the asterisk-users
mailing list