fixed state machine to accomodate call transfer