[asterisk-commits] russell: trunk r40228 - in /trunk: ./ channel.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Thu Aug 17 09:37:39 MST 2006
Author: russell
Date: Thu Aug 17 11:37:39 2006
New Revision: 40228
URL: http://svn.digium.com/view/asterisk?rev=40228&view=rev
Log:
Merged revisions 40227 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r40227 | russell | 2006-08-17 12:36:21 -0400 (Thu, 17 Aug 2006) | 3 lines
revert bogus change to attempt to fix bug 7506 which actually causes half of
the channels not to get "Newchannel" events at all (issue #7745)
........
Modified:
trunk/ (props changed)
trunk/channel.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.
Modified: trunk/channel.c
URL: http://svn.digium.com/view/asterisk/trunk/channel.c?rev=40228&r1=40227&r2=40228&view=diff
==============================================================================
--- trunk/channel.c (original)
+++ trunk/channel.c Thu Aug 17 11:37:39 2006
@@ -3349,7 +3349,8 @@
chan->_state = state;
ast_device_state_changed_literal(chan->name);
- manager_event(EVENT_FLAG_CALL, "Newstate",
+ manager_event(EVENT_FLAG_CALL,
+ (oldstate == AST_STATE_DOWN) ? "Newchannel" : "Newstate",
"Channel: %s\r\n"
"State: %s\r\n"
"CallerID: %s\r\n"
More information about the asterisk-commits
mailing list