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
I think maybe it has something to do with tones from my phone not being recognized. I just called an IAX number to make a test call and when the IVR asked me to press a number it didn't take. That would be consistent the CLI msg that says "Unable to read password". It's also consistent with my experience that it takes about 5 seconds for Asterisk to come back to me with the incorrect password response. So.... is there a setting I need to make on the phone or in one of the config files to get asterisk to recognize DTMF digits or something? Thanks, Jeff On Fri, 2005-04-08 at 12:48, Jeff Heath wrote:> 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 > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
This is being covered from several different angles right now. Google this: site:lists.digium.com DTMF Inline Thanks, Wiley -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Jeff Heath Sent: Friday, April 08, 2005 10:15 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Cannot access voicemail I think maybe it has something to do with tones from my phone not being recognized. I just called an IAX number to make a test call and when the IVR asked me to press a number it didn't take. That would be consistent the CLI msg that says "Unable to read password". It's also consistent with my experience that it takes about 5 seconds for Asterisk to come back to me with the incorrect password response. So.... is there a setting I need to make on the phone or in one of the config files to get asterisk to recognize DTMF digits or something? Thanks, Jeff On Fri, 2005-04-08 at 12:48, Jeff Heath wrote:> 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 > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users_______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users