--- main/channel.c.orig 2006-08-30 20:55:00.000000000 -0500 +++ main/channel.c 2006-08-30 21:02:46.000000000 -0500 @@ -3061,6 +3061,8 @@ if (option_debug > 3) ast_log(LOG_DEBUG, "Actually Masquerading %s(%d) into the structure of %s(%d)\n", clone->name, clone->_state, original->name, original->_state); + manager_event(EVENT_FLAG_CALL, "Masquerade", "Clone: %s\r\nCloneState: %s\r\nOriginal: %s\r\nOriginalState: %s\r\n", + clone->name, ast_state2str(clone->_state), original->name, ast_state2str(original->_state)); /* XXX This is a seriously wacked out operation. We're essentially putting the guts of the clone channel into the original channel. Start by killing off the original