Summary:ASTERISK-02049: [post-1.0] [patch] An application that will help a user setup their voicemail account
Reporter:chris_jones (chris_jones)Labels:
Date Opened:2004-07-17 18:25:04Date Closed:2008-01-15 15:10:02.000-0600
Versions:Frequency of
Environment:Attachments:( 0) app_voicemail.patch.txt
( 1) app_voicemail-SETUP.patch.txt
( 2) setup_fix.txt
Description:I created a patch that I though some people might like to use.  This patch will play vm-newuser, you must record and put in sounds folder.  When the user enters a valid password that is the same as their login name, ie their extension is 345 and their password is 345, the patch will ask the user to record their name, busy message, unavailable message, and change their password.
Comments:By: Mark Spencer (markster) 2004-07-18 09:52:56

Seems a lot of work to get the voicemailbox going...  What about just recording the name, so the other messages can be constructed?

By: twisted (twisted) 2004-07-18 23:53:35

I like the idea, and I agree with markster on this.  Another option is presenting them with the options menu after recording their name and changing their password.

By: Brian West (bkw918) 2004-07-18 23:55:19

No walk them thru it.. most voicemail systems make you record it.. you can skip the recording of name by pressing #...  Now that could be a good way to exit out of not recording your greeting.

By: twisted (twisted) 2004-07-23 18:19:27

another option would be to set two configurable per-user or global options:

forcegreeting - when set to yes forces the new user to record their greetings

forcesetup - forces them to do the initial setup, and presents them with the option to record greetings unless forcegreeting is set to yes.

By: Russell Bryant (russell) 2004-09-07 21:09:06

I made a new version of this patch.  This is how it should behave ...

It adds two new options to voicemail.conf:

Both options can be set globally and for each mailbox.

A new user is defined as a mailbox with a password the same as the mailbox number.

When either or both of these are set, a new user is played "vm-newuser" which will need to be recorded.  I figure this would be some type of welcome message that indicated that user will be guided through a short setup process.

The new user is first asked to change their password so that they won't be put through this process again.

Then, the name and greetings will be recorded based on how the options are set.

By: Mark Spencer (markster) 2004-09-07 23:12:18

Getting closer here...  What if you don't want  them to have to change their password?

By: Mark Spencer (markster) 2004-10-01 22:59:29

Added drumkilla's patch.

By: Russell Bryant (russell) 2004-10-01 23:01:35

not included in the 1.0 branch

By: Jean-Philippe Lord (jplord) 2004-10-02 13:17:22

Reminder sent to markster

Hi !,

# 2077 does not work for me... User gets prompted to change password... and then plays re-enter password but does not wait for re-enter password digits... not sure what's going on. I tried to see in debug and there's no suspicious messages other than vm-newuser file missing... which is not in the cvs anyway.

By: Mark Spencer (markster) 2004-10-02 13:29:08

We need the recordings.  I don't even have a script...

By: Russell Bryant (russell) 2004-10-06 20:37:02

I'm sorry about that stupid mistake.

As for the missing prompt, it doesn't affect the functionality by not being there.  It was intended that this file be the welcome message to the system.  I think it could go something like this:

vm-newuser "Welcome to Comedian Mail.  First, I will guide you through a short setup process."

Then, it would continue to ask for a new password and also to record a name and greetings depending on how the options are set.

By: Jean-Philippe Lord (jplord) 2004-10-06 21:05:22

The feature does not work for me. It asks for a new password. I enter it. Then it asks for re-enter password and plays the first message. (it does not wait for re-entered password + does not change the password)

By: Russell Bryant (russell) 2004-10-06 21:54:10

I know that.  I just added a patch to fix it.

By: Russell Bryant (russell) 2004-10-09 00:27:47

fixed in CVS, sorry about that.

By: Russell Bryant (russell) 2004-10-10 11:05:04

I forgot that we still need the new prompt for this.

By: Mark Spencer (markster) 2004-10-10 12:00:54

What's the new prompt supposed to say?

By: Russell Bryant (russell) 2004-10-10 13:27:09

see my post above from 10-6-04

By: Mark Spencer (markster) 2004-10-10 22:51:54

Fixed in CVS

By: Digium Subversion (svnbot) 2008-01-15 15:08:45.000-0600

Repository: asterisk
Revision: 3880

U   trunk/apps/app_voicemail.c
U   trunk/configs/voicemail.conf.sample

r3880 | markster | 2008-01-15 15:08:44 -0600 (Tue, 15 Jan 2008) | 2 lines

Implement voicemail force account setup (bug ASTERISK-2049)



By: Digium Subversion (svnbot) 2008-01-15 15:09:50.000-0600

Repository: asterisk
Revision: 3961

U   trunk/apps/app_voicemail.c
U   trunk/configs/voicemail.conf.sample

r3961 | russell | 2008-01-15 15:09:50 -0600 (Tue, 15 Jan 2008) | 2 lines

fix voicemail account setup (bug ASTERISK-2049)



By: Digium Subversion (svnbot) 2008-01-15 15:10:02.000-0600

Repository: asterisk
Revision: 3975

A   trunk/sounds/vm-newuser.gsm
U   trunk/sounds.txt

r3975 | markster | 2008-01-15 15:10:01 -0600 (Tue, 15 Jan 2008) | 2 lines

Add missing sound file (bug ASTERISK-2049)