Security officials say police and soldiers exchanged fire with slum residents .