Peel and core the pumpkin and remove any fibrous parts. Cut the pumpkin flesh into large pieces and place in a wide-necked container. Add the cinnamon stick, chilli and vanilla pods and pour over the vodka. Put in a dark, cool place for about 4 weeks. After 4-5 weeks, boil the sugar solution and let it cool. Strain the mixture, mix it with the cold sugar solution and fill it in bottles, close it well and let it steep for 4-5 weeks in a dark place.