India was all out for 323 in its first innings .