Slit the vanilla beans lengthwise and scrape out the pulp. Break the cinnamon sticks into small pieces.
Put all the ingredients in a bottle and close it tightly. Place in a dark place and shake every day until the sugar is completely dissolved.
Strain the liquid through a cloth, put it back in the bottle and let it infuse for a month.