dect
/
asterisk
Archived
13
0
Fork 0

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)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40228 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
russell 2006-08-17 16:37:39 +00:00
parent 3ce8f8c39b
commit c6289776e0
1 changed files with 2 additions and 1 deletions

View File

@ -3349,7 +3349,8 @@ int ast_setstate(struct ast_channel *chan, int state)
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"