mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-13 16:21:01 +00:00
Fixup vm user struct (bug #2472)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3812 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -3179,6 +3179,7 @@ static int vm_execmain(struct ast_channel *chan, void *data)
|
|||||||
|
|
||||||
LOCAL_USER_ADD(u);
|
LOCAL_USER_ADD(u);
|
||||||
memset(&vms, 0, sizeof(vms));
|
memset(&vms, 0, sizeof(vms));
|
||||||
|
memset(&vmus, 0, sizeof(vmus));
|
||||||
strncpy(fmtc, vmfmts, sizeof(fmtc) - 1);
|
strncpy(fmtc, vmfmts, sizeof(fmtc) - 1);
|
||||||
if (chan->_state != AST_STATE_UP)
|
if (chan->_state != AST_STATE_UP)
|
||||||
ast_answer(chan);
|
ast_answer(chan);
|
||||||
|
Reference in New Issue
Block a user