Voicemail Password are being reset

Get help with installing and running AsteriskNOW.

Moderators: Moderator, Support

Voicemail Password are being reset

Postby lancerussell » Tue Jan 16, 2007 11:00 am

Running AsteriskNow Beta 2 with the latest updates and the following happens:

1. Dial 8500 to check voicemail
2. Asterisk Says: "Comedian Mail, Mailbox"
3. Enter a valid MailBox Number
4. No Password prompt, Asterisk Says: "You have X messages."
5. Enter 0 for Options, 5 to change password, enter password twice, password saved.
6. Hangup.

Now when I check voicemail for that mailbox, I am prompted for the mailbox and password.

Notably, the extensions.conf file is touched but not modified whenever a password is changed.

However, if I restart Asterisk, it will let me directly into my mailboxes again without any password prompt. I have to reset all the passwords.

In extensions.conf:
exten => 8500,1,VoiceMailMain()

And in users.conf:
fullname = New User
userbase = 100
; Create voicemail mailbox and use use macro-stdexten
hasvoicemail = yes
; Create SIP Peer
hassip = yes
; Create IAX friend
hasiax = no
; Create H.323 friend
;hash323 = yes
; Create manager entry
hasmanager = no
; Remaining options are not specific to users.conf entries but are general.
callwaiting = yes
threewaycalling = yes
callwaitingcallerid = yes
transfer = yes
canpark = yes
cancallforward = yes
callreturn = yes
callgroup = 1
pickupgroup = 1
host = dynamic
localextenlength = 3
secret=1234 ; <---Added this trying to solve the issue

fullname = Lance Russell
secret = 1234
email = xxxx@example.net
cid_number =
zapchan = 1
context = numberplan-custom-1
hasvoicemail = yes
hasdirectory = yes
hassip = yes
hasiax = no
hasmanager = yes
callwaiting = yes
threewaycalling = yes
mailbox = 101
hasagent = yes
group =
host = dynamic

I have spent a little time in app_voicemail.c trying to trace the execution, but at 8700+ lines it will take a little while to get my mind around it.

A possibly related issue, I have another mailbox for James Reynolds. When I access the Dial-By-First Name Directory and enter "526", it plays back "Lance Russell, if this is . . . press 1 . . . otherwise press * now. Press * and it says "There are no more compatible entries." Argh.
Posts: 4
Joined: Thu Dec 14, 2006 3:56 pm


Postby lancerussell » Wed Jan 17, 2007 2:54 pm

So, adding the users in voicemail.conf solves both problems, passwords are remembered and multiple matching names are played in sequence by the directory application.

But, I thought the purpose of the users.conf was a quick and easy method of adding users. This also doesn't explain why one user was searchable in the directory but the other was not. Perhaps this should be a bug report?
Posts: 4
Joined: Thu Dec 14, 2006 3:56 pm

Return to AsteriskNOW Support

Who is online

Users browsing this forum: No registered users and 1 guest