Add the validateCallType middleware.