A leaked telephone conversation has led to allegations that the U.S. president violated electoral law.