in most countries it is not legal unless the other person knows that you are recording it.

That why you see in movies as well that they inform the person about their rights and tell them anything they say may be used against them.

Better get it checked