To record the conversation legally, you have to inform the other person or group of people about recording. It also depends on the local law. Some states demand consent from one party, another required consent for each participant.