[asterisk-commits] rmudgett: branch rmudgett/hangup_handlers r369183 - /team/rmudgett/hangup_han...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Jun 21 19:13:50 CDT 2012
Author: rmudgett
Date: Thu Jun 21 19:13:47 2012
New Revision: 369183
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=369183
Log:
Change hangup handler AMI event permission from call to dialplan.
Modified:
team/rmudgett/hangup_handlers/main/pbx.c
Modified: team/rmudgett/hangup_handlers/main/pbx.c
URL: http://svnview.digium.com/svn/asterisk/team/rmudgett/hangup_handlers/main/pbx.c?view=diff&rev=369183&r1=369182&r2=369183
==============================================================================
--- team/rmudgett/hangup_handlers/main/pbx.c (original)
+++ team/rmudgett/hangup_handlers/main/pbx.c Thu Jun 21 19:13:47 2012
@@ -5433,7 +5433,7 @@
break;
}
- manager_event(EVENT_FLAG_CALL, "HangupHandlerRun",
+ manager_event(EVENT_FLAG_DIALPLAN, "HangupHandlerRun",
"Channel: %s\r\n"
"Uniqueid: %s\r\n"
"Handler: %s\r\n",
@@ -5483,7 +5483,7 @@
handlers = ast_channel_hangup_handlers(chan);
h_handler = AST_LIST_REMOVE_HEAD(handlers, node);
if (h_handler) {
- manager_event(EVENT_FLAG_CALL, "HangupHandlerPop",
+ manager_event(EVENT_FLAG_DIALPLAN, "HangupHandlerPop",
"Channel: %s\r\n"
"Uniqueid: %s\r\n"
"Handler: %s\r\n",
@@ -5526,7 +5526,7 @@
handlers = ast_channel_hangup_handlers(chan);
AST_LIST_INSERT_HEAD(handlers, h_handler, node);
- manager_event(EVENT_FLAG_CALL, "HangupHandlerPush",
+ manager_event(EVENT_FLAG_DIALPLAN, "HangupHandlerPush",
"Channel: %s\r\n"
"Uniqueid: %s\r\n"
"Handler: %s\r\n",
More information about the asterisk-commits
mailing list