The tempered spectrum of quasi-split classical groups III: The odd orthogonal groups