Take a fry pan heat the oil add mustard seeds and cumin seeds saute it. Now add onion puree and tomato puree and saute it.Now add salt,red chilli powder,sambar masala and mix well.Now add the mixture in it and mix well and cook it for 2-3 mints.Sambar is ready and serve it with idli.