mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-18 15:49:56 +00:00
Send message waiting event on forward (bug #213)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1471 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1842,6 +1842,8 @@ forward_message(struct ast_channel *chan, char *context, char *dir, int curmsg,
|
|||||||
|
|
||||||
ast_destroy(mif); /* or here */
|
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 */
|
/* give confirmatopm that the message was saved */
|
||||||
res = play_and_wait(chan, "vm-message");
|
res = play_and_wait(chan, "vm-message");
|
||||||
|
|||||||
Reference in New Issue
Block a user