[asterisk-commits] russell: branch russell/events r80235 - /team/russell/events/apps/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Aug 21 22:17:39 CDT 2007
Author: russell
Date: Tue Aug 21 22:17:39 2007
New Revision: 80235
URL: http://svn.digium.com/view/asterisk?view=rev&rev=80235
Log:
I want to start playing around with converting places that create manager
events to use this instead.
app_voicemail is easy, the ast_event stuff is already there.
Modified:
team/russell/events/apps/app_voicemail.c
Modified: team/russell/events/apps/app_voicemail.c
URL: http://svn.digium.com/view/asterisk/team/russell/events/apps/app_voicemail.c?view=diff&rev=80235&r1=80234&r2=80235
==============================================================================
--- team/russell/events/apps/app_voicemail.c (original)
+++ team/russell/events/apps/app_voicemail.c Tue Aug 21 22:17:39 2007
@@ -4149,7 +4149,6 @@
queue_mwi_event(ext_context, newmsgs, oldmsgs);
- manager_event(EVENT_FLAG_CALL, "MessageWaiting", "Mailbox: %s@%s\r\nWaiting: %d\r\nNew: %d\r\nOld: %d\r\n", vmu->mailbox, vmu->context, ast_app_has_voicemail(ext_context, NULL), newmsgs, oldmsgs);
run_externnotify(vmu->context, vmu->mailbox);
return 0;
}
@@ -7306,7 +7305,6 @@
if (valid) {
int new = 0, old = 0;
snprintf(ext_context, sizeof(ext_context), "%s@%s", vms.username, vmu->context);
- manager_event(EVENT_FLAG_CALL, "MessageWaiting", "Mailbox: %s\r\nWaiting: %d\r\n", ext_context, has_voicemail(ext_context, NULL));
run_externnotify(vmu->context, vmu->mailbox);
ast_app_inboxcount(ext_context, &new, &old);
queue_mwi_event(ext_context, new, old);
More information about the asterisk-commits
mailing list