--- channel.c.orig 2005-03-20 13:22:36.000000000 +0530 +++ channel.c 2005-03-20 13:19:36.000000000 +0530 @@ -2460,6 +2460,10 @@ snprintf(zombn, sizeof(zombn), "%s", orig); /* Mangle the name of the clone channel */ strncpy(clone->name, zombn, sizeof(clone->name) - 1); + + original->monitor = clone->monitor; + clone->monitor = NULL; + manager_event(EVENT_FLAG_CALL, "Rename", "Oldname: %s\r\nNewname: %s\r\nUniqueid: %s\r\n", masqn, zombn, clone->uniqueid); /* Update the type. */