diff options
author | root <root@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-08-17 17:04:18 +0000 |
---|---|---|
committer | root <root@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-08-17 17:04:18 +0000 |
commit | 62245abb42c1e23df30e8bb1b80920750fcfc7b6 (patch) | |
tree | e36954c956687a3adbab21029aedffbf065aae6e /channel.c | |
parent | c63394201df4e4c1aef4898db6b31d513fa80dd6 (diff) |
automerge commit
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2-netsec@40253 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channel.c')
-rw-r--r-- | channel.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -3196,7 +3196,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" |