[asterisk-commits] oej: trunk r333070 - /trunk/channels/chan_local.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Aug 24 04:09:59 CDT 2011
Author: oej
Date: Wed Aug 24 04:09:53 2011
New Revision: 333070
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=333070
Log:
Add manager event for local channel semi-bridge
(issue AST-17623)
Review: https://reviewboard.asterisk.org/r/1154
Modified:
trunk/channels/chan_local.c
Modified: trunk/channels/chan_local.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/chan_local.c?view=diff&rev=333070&r1=333069&r2=333070
==============================================================================
--- trunk/channels/chan_local.c (original)
+++ trunk/channels/chan_local.c Wed Aug 24 04:09:53 2011
@@ -905,6 +905,19 @@
goto return_cleanup;
}
+ manager_event(EVENT_FLAG_CALL, "LocalBridge",
+ "Channel1: %s\r\n"
+ "Channel2: %s\r\n"
+ "Uniqueid1: %s\r\n"
+ "Uniqueid2: %s\r\n"
+ "Context: %s\r\n"
+ "Exten: %s\r\n"
+ "LocalOptimization: %s\n",
+ p->owner->name, p->chan->name, p->owner->uniqueid, p->chan->uniqueid,
+ p->context, p->exten,
+ ast_test_flag(p, LOCAL_NO_OPTIMIZATION) ? "Yes" : "No");
+
+
/* Start switch on sub channel */
if (!(res = ast_pbx_start(chan))) {
ao2_lock(p);
More information about the asterisk-commits
mailing list