After an eight-year spell at Newcastle United the former England international has made just 33 appearances for the Hammers since signing in August 2007.
He will go straight into the squad for Ipswich's trip to Leeds this weekend.
Source: BBC Sport
Source: BBC Sport