--- apps/app_voicemail.c.orig 2003-11-19 10:48:45.000000000 -0600 +++ apps/app_voicemail.c 2003-11-19 10:49:44.000000000 -0600 @@ -2641,7 +2641,7 @@ LOCAL_USER_ADD(u); if (chan->_state != AST_STATE_UP) ast_answer(chan); - if (data) + if (data && strlen(data)) strncpy(tmp, data, sizeof(tmp) - 1); else { res = ast_app_getdata(chan, "vm-whichbox", tmp, sizeof(tmp) - 1, 0);