Heat oil in a heavy bottom pot, and add one sprig rosemary (optional), celery, onion and carrot. Saute on medium-high flame until soft and golden brown.
Add chopped garlic, red chili flakes, and Italian seasoning and saute for a minute
Add the bell pepper, zucchini, tomato, pinch of salt and tomato paste. Cook for 3-4 minutes. If using the rosemary, remove it now.
Add a bay leaf, vegetable broth, water, crushed black pepper and salt to taste. Scrape the bottom and mix all the ingredients.
Bring it to a boil and reduce the heat to low-medium and simmer for about 15 minutes. After the soup is simmered for 15 minutes, you can add one teaspoon of corn flour mixed with little water to the soup. Cook for another 5 minutes. Corn flour will thicken the soup.
Add the washed and drained pinto beans to the soup.
Add some hot sauce or sambal oelek or chili garlic sauce and simmer for 3-4 minutes. Finally add parsley and a squeeze of lime juice.
Discard the bay leaf and serve it hot.