Recording conversations are illegal but if you could prevent that from happening, there is enough wiggle room that it has the potential to be legal.