Move testing for the call state when hanging up into the call model.