Clean the quails and pat dry. Make a marinade with turmeric powder, red chilli powder, plain yogurt, ginger-garlic paste and salt. Rub the marinade all over the quails and set it aside to marinate for 30 minutes.
Heat oil in a pan, shallow fry the marinated quails for 5 minutes on each side or until golden brown. Remove and set it aside.
In the same pan, heat coconut oil and sauté the onions, green chillies and curry leaves till they turn golden.
Add in the chopped tomatoes and cook till it turns soft and the oil separates. Add in turmeric powder, red chilli powder, kashmiri chilli powder, black pepper powder, fennel powder and garam masala sauté for a minute.
Pour in a few tablespoons of water and add salt. Mix well, cover and let the mixture cook for 3 minutes over medium heat.
Place the fried quails to the mixture and coat them evenly. Cover and cook for 5 minutes. Serve with appam, steamed rice or chapati.