AT&T rises 5% pre-market after Q2 revenue hits $31.6 billion