Why would they be outsourced, a lot of the "back office" positions are handled right on the trading floor a few rows down from the actual desk, and need to be delt with in a timely fashion.
Clearance/settlement type crap is still important, regardless that the trade occured electronically...