diff --git a/apps/app_voicemail2.c b/apps/app_voicemail2.c index 1de57f60c3..9e00869b40 100755 --- a/apps/app_voicemail2.c +++ b/apps/app_voicemail2.c @@ -1842,6 +1842,8 @@ forward_message(struct ast_channel *chan, char *context, char *dir, int curmsg, ast_destroy(mif); /* or here */ } + /* Leave voicemail for someone */ + manager_event(EVENT_FLAG_CALL, "MessageWaiting", "Mailbox: %s\r\nWaiting: %d\r\n", username, ast_app_has_voicemail(username)); /* give confirmatopm that the message was saved */ res = play_and_wait(chan, "vm-message");