Add TALK_DETECTED variable (bug #2628)