Sanam, seeded fifth, lost the third and final qualifying round 4-6 6-7(4) to Yani, who ranked 135 places above him at 238.
Meanwhile, Leander Paes has given the top billing along with Japanese Tecau Horia at the Thailand Open.
They will open their campaign against Dutch pair of Robin Haase and Jean-Julien Rojer.