While the discussion in the thread pointed by you may be relevant for US jobs, in the Indian context,especially at junior/mid levels, it does not well hold true. Maybe for senior positions, the suggestion in the referred thread is relevant.
To reply to the person who posted this, well I don't think you have much of a choice than to quote the salary.
Most job discussions do not go ahead if the expected salary/current salary of the person is much higher than what is the average in the new company. Its a waste of time for both the candidate and the company to continue in that case.
If you sal is already low, companies may hire you(subject to your skills definitely) in favour to another candidate who demands a higher salary.
Sad, but true. This is the way how it works for most Indian software companies. Exception being probably product companies.