I think result code come back from Homestead as the DIAMETER_ERROR_... string, not as a value.