|
|
@ -920,7 +920,6 @@ static void vm_change_password(struct ast_vm_user *vmu, const char *newpassword)
|
|
|
|
char *category=NULL, *value=NULL, *new=NULL;
|
|
|
|
char *category=NULL, *value=NULL, *new=NULL;
|
|
|
|
const char *tmp=NULL;
|
|
|
|
const char *tmp=NULL;
|
|
|
|
struct ast_flags config_flags = { CONFIG_FLAG_WITHCOMMENTS };
|
|
|
|
struct ast_flags config_flags = { CONFIG_FLAG_WITHCOMMENTS };
|
|
|
|
|
|
|
|
|
|
|
|
if (!change_password_realtime(vmu, newpassword))
|
|
|
|
if (!change_password_realtime(vmu, newpassword))
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
|
@ -8685,13 +8684,13 @@ static int advanced_options(struct ast_channel *chan, struct ast_vm_user *vmu, s
|
|
|
|
char buf[1024];
|
|
|
|
char buf[1024];
|
|
|
|
#else
|
|
|
|
#else
|
|
|
|
char *cid;
|
|
|
|
char *cid;
|
|
|
|
|
|
|
|
struct ast_flags config_flags = { CONFIG_FLAG_NOCACHE };
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
char filename[PATH_MAX];
|
|
|
|
char filename[PATH_MAX];
|
|
|
|
struct ast_config *msg_cfg = NULL;
|
|
|
|
struct ast_config *msg_cfg = NULL;
|
|
|
|
const char *origtime, *context;
|
|
|
|
const char *origtime, *context;
|
|
|
|
char *name, *num;
|
|
|
|
char *name, *num;
|
|
|
|
int retries = 0;
|
|
|
|
int retries = 0;
|
|
|
|
struct ast_flags config_flags = { CONFIG_FLAG_NOCACHE };
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vms->starting = 0;
|
|
|
|
vms->starting = 0;
|
|
|
|
#ifdef IMAP_STORAGE
|
|
|
|
#ifdef IMAP_STORAGE
|
|
|
@ -9531,7 +9530,7 @@ static void vmstate_delete(struct vm_state *vms)
|
|
|
|
AST_LIST_LOCK(&vmstates);
|
|
|
|
AST_LIST_LOCK(&vmstates);
|
|
|
|
AST_LIST_TRAVERSE_SAFE_BEGIN(&vmstates, vc, list) {
|
|
|
|
AST_LIST_TRAVERSE_SAFE_BEGIN(&vmstates, vc, list) {
|
|
|
|
if (vc->vms == vms) {
|
|
|
|
if (vc->vms == vms) {
|
|
|
|
AST_LIST_REMOVE_CURRENT(&vmstates, list);
|
|
|
|
AST_LIST_REMOVE_CURRENT(list);
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|