Fighting between regional militias in a city in central Somalia killed at least 29 people and wounded more than 50, officials from both sides said on Monday.