In a pan heat oil. Once hot, add chana dal.
Sauté till the dal is well roasted. Then add ginger and garlic. Sauté for a minute.
Next add dried red chili and onions. Mix well and let the onions soften.
Then add curry leaves and tomatoes. Cook till the tomatoes soften.
Next add sugar and salt. Mix well and cook for a couple of minutes. Turn down the flame.
Transfer the tomato mix to a blender.
Blend to a smooth paste. Use some water if required.
In a pan heat oil. Add urad dal and let them sauté for a minute.
Then add mustard seeds, asafetida, cumin seeds, red chili and curry leaves. Once the seeds pop, turn down the heat.
Transfer the tempering to the chutney and serve!