Brown the sausages in a saute pan and set aside (you do not need to completely cook them through). Thinly slice the onions and saute them in the same pan as the sausages until soft. Add the pancetta and cook with the onions for another 3-4 minutes. Add the lentils and stir. Pour in the wine and stock and bring to a boil. Season with salt and pepper, turn down the heat and add the sausages. Simmer for about 45 minutes. The lentils should retain their bite so don’t let them get too soft. The stock and wine will be absorbed as the lentils cook. Add more if the mixture is becoming too dry.
For the figs: put the vinegars into a saucepan and add the sugar and cinnamon. Dissolve the sugar over low heat. Bring the sauce to a boil. If using fresh figs, cut them in half. If using dried figs use whole pieces. Place the figs in the vinegar mixture and simmer until the sauce thickens.
Serve the lentils and sausages from the pan with the sweet-and-sour figs on the side.