mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-19 08:11:21 +00:00
fix voicemail account setup (bug #2077)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3961 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2949,6 +2949,7 @@ static int vm_newuser(struct ast_channel *chan, struct ast_vm_user *vmu, struct
|
||||
return cmd;
|
||||
newpassword2[1] = '\0';
|
||||
newpassword2[0] = cmd = ast_play_and_wait(chan,"vm-reenterpassword");
|
||||
if (cmd < 0 || cmd == 't' || cmd == '#')
|
||||
return cmd;
|
||||
cmd = ast_readstring(chan,newpassword2 + strlen(newpassword2),sizeof(newpassword2)-1,2000,10000,"#");
|
||||
if (cmd < 0 || cmd == 't' || cmd == '#')
|
||||
|
||||
Reference in New Issue
Block a user