Sky Sports understands that Birmingham midfielder Jonathan Spector has agreed a new two-year deal with the club.