Quote:
Change the $chan in the second alias to $active

That's no good. There's no reason to believe the channel the event was triggered from will be the active channel when the timer triggers.