It seems, you do it incorrectly :) dial(2) has an exact example if using announce/listen/accept functions.