Jonathan Obika has signed a new deal with Tottenham and joined Charlton on loan until the end of the season.