Senegal has a long history of participating in international peacekeeping and regional mediation .