Muslims urged to devise effective mechanism against menace of terrorism, extremism