Mogadishu residents say insurgents attacked African Union peacekeepers , prompting soldiers to launch an artillery barrage .