Index: apps/app_voicemail.c =================================================================== RCS file: /usr/cvsroot/asterisk/apps/app_voicemail.c,v retrieving revision 1.56 diff -u -r1.56 app_voicemail.c --- apps/app_voicemail.c 11 Feb 2004 03:54:28 -0000 1.56 +++ apps/app_voicemail.c 27 Feb 2004 15:49:38 -0000 @@ -1341,6 +1341,8 @@ } if ((vmu = find_user(&svm, context, ext))) { + if (chan->_state != AST_STATE_UP) + ast_answer(chan); /* Setup pre-file if appropriate */ if (busy) snprintf(prefile, sizeof(prefile), "voicemail/%s/%s/busy", vmu->context, ext); @@ -2957,8 +2959,6 @@ char tmp[256], *ext; LOCAL_USER_ADD(u); - if (chan->_state != AST_STATE_UP) - ast_answer(chan); if (data && strlen(data)) strncpy(tmp, data, sizeof(tmp) - 1); else {